I was in the middle of installing Cognos Server (First time install) when Windows 10 unexpectedly restarted. Now, there is a cognos folder in the installation directory but I cannot uninstall it or delete it.
Using the Uninstall option in the cognos folder produces the following error:
This Application has Unexpectedly Quit
Invocation of this Java Application has caused an Invocation TargetException. This application will now exit (LAX)
If I try to delete the cognos folder:
It says that some folder/file is open in another program. I have stopped all IBM and ApacheDS-cognos services. But still get this error while manually deleting the cognos folder.
What can I do to fix this and do the 'First Time Install' of cognos?
Assuming that you did an Easy Install, then you should also check for Informix services running, stop them and then re-try deleting the folder. Check for processes running like cogbootstrap.exe and kill them, as well as any other processes running in that install directory and any JVMs.
Related
I installed node.js to work on a discord bot with VSCode but it didn't work.
I reinstalled it but ticked the 'install chocolatey' box this time, halfway through the installation I got 3 trojan alerts from my AV, and cancelled the installation.
Since then, I have been unable to uninstall, repair or reinstall Node.JS, through the Windows 10 uninstall function or from the Node.JS .msi file.
Each time I try, I get the same error message:
"The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed."
I've removed all instances of Node.JS from my program files and %appdata%, I've ensure the Installer Service is running, and yet the Node.JS application still shows in the Uninstall Tool and when I try to uninstall / modify / reinstall, it shows the same error, and seems to think it's still installed on my system! Not even Node.JS commands work in my CMD!
I've got no idea how to fix this, and I don't want to use glitch anymore to write my bot, so please help- or it seem's I'll have to factory reset my PC and hope that resolves the issue.
Thanks in advance, guys.
Godspeed.
EDIT: I tried installing a newer version hoping it would overwrite old Node.JS files. Didn't work. Issue still occurring.
Do these:
Open command prompt as Administrator and run /sfc scannow. It will scan and replace corrupted files.
Restart your PC when the scan is done.
I am writing this post because after several hours of research I did not manage to find an answer.
I have been using Ubuntu 20.04 for a few months in dualboot on my original Windows. But since a few days I have not been able to launch applications (example: Chromium, Firefox, Visual Studio Code, Settings), I tried to launch them via the terminal, but I have no response, not even an error. I also cannot execute a command with sudo
After several searches I understood that it could come from gnome, I then try several subject recommend it to execute
$ killall gnome-control-center
$ gnome-control-center
When I try to kill I get no response, and when I run gnome-control-center I get the following error :Failed to register: Timeout was reached
I cannot move forward in my plans because of this problem, would you have a solution please?
This might just be that something on your system is corrupted, you might just have to copy the files you use all the time (Code, pdfs) wipe the drive and reinstall your ubuntu. Also, check if the Windows is working if that's not working it might be a problem with your computers internals.
I had installed nodejs on Windows 10 Pro PC. The drive it was installed in failed and is no longer accessible. I sent it away for data recovery attempt, but it's now gone, not even connected.
I created a restore point and went to NodeJS site, downloaded the installer anew, and tried to re-install it.
The installer looks for that original installation and immediately responds: "Invalid Drive: O:" (the old location). It then immediately quits.
What can I do to re-install it? I can't uninstall it or do anything else (change, or repair). They all give the same message and quit.
Can I uninstall it from the command prompt? Or do a new installation that way?
You can try by editing the following registry value
HKEY_LOCAL_MACHINE\SOFTWARE\Node.js
There you will find an InstallPath property. Rename the drive to a valid one and then try to install node again.
Also remove Node from your PATH variable
In my linux machine, I'm trying to send a file over to a Windows machine via:
scp fileNameA user#windowServer:fileNameA
I get the following message:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
What's prompting this message?
I've installed OpenSSH on the windows machine, and I can successfully SSH into it. I don't want to use WinSCP, FileZilla, etc, because I have to automate this in a script. This has to be done from the Linux machine, so I'm not interested in doing pscp from the Windows machine.
I have met the same problem today.
I think it is an issue in the new version of OpenSSH, which was published few days ago. I reverted previous version (v7.6.1.0p1-Beta), which was working correctly on my VM from https://github.com/PowerShell/Win32-OpenSSH/releases and problem was fixed without any changes in configuration.
I just fixed the same problem by moving my installation of OpenSSH from C:\Program Files\OpenSSH to C:\OpenSSH.
I had to first uninstall it properly using the provided script in Win32-OpenSSH and then follow back the information provided there https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH but only changing the path to C:\OpenSSH.
I met a similar issue today, trying to copy files to a Windows server running OpenSSH-Win64. I solved the problem by adding C:\Program Files\OpenSSH, which is the recommended installation location, to the Windows path:
Open the Control Panel, go to the System and Security section and open up System.
Click on Advanced System Settings and, in the System Properties dialog box, click Environmental Variables.
In the System Variables section of the dialog box, select Path and click Edit....
Click New, add the OpenSSH folder path and click OK to apply the change.
Then, do not forget to restart the OpenSSH service, either in the service management console or by running net stop sshd, followed by net start sshd in an elevated console.
I'm trying to run a React Native application on iOS device. It works fine on simulator, but while running on device it takes long 20-25 minutes to run. I get stuck on Running 1 of 1 custom shell script.
I tried deleting npm, clearing watchman, resetting npm cache, updated React version, Watchman version, etc., but nothing worked. I even tried to deploy to device using commands even that is taking lot of time.
Attaching screenshot for reference.
Have you tried deleting everything inside the DerivedData folder then cleaning and building again?
Folder located at ~/Library/Developer/XCode/DerivedData
use this script to clear xcode data https://github.com/niklasberglund/xcode-clean.sh
NOTE: after clearing simulator data you need to run this command to be able to boot up a sim
sudo xcrun simctl erase all