Error during installion of Jolie - jolie

Error during the installion of Jolie.
I see the following message after the execution of
$ java -jar jolie-1.4.1.jar
[Windows_installer.ol] Thrown unhadled fault: FileNotFound
[installer.ol] Internale server error

The installer needs permission to write in the directories in which you intend to install Jolie. That error typically shows up when the installer is launched from a terminal without administrator privileges.
Did you launch the installer from a Command Prompt as an Administrator?

Related

nodeJs installation error on windows 10 - error 2203

I have downloaded version 12 of nodeJs, but unable to install on Windows.
Error - "The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package.The error code is 2203".
I have tried some solutions like giving permissions to Temp folder in C:/Windows folder, running as Admin although the usual user has full permissions.
Error code 2203 basically pops up when the user does not have
sufficient permissions to install the program to the folder that
contains the installation point or the temp folder. Make sure that you
are logged in as an Administrator to install the programs on the
computer
Run installation with elevated permission ( try to run a program with admin privilege). This should solve the issue.

How to debug your application with root permissions on VSCODE?

I'm trying to debug dotnet core web app, however it's not possible to do it without having root permissions.
An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in System.Private.CoreLib.dll: 'Permission denied'
The naive approach would be launching VSCode with root permissions, which is generally not a recommended (and I would like to avoid it).
Is there any way to configure launch.json to execute the debugger with root permissions?
I've tried already creating a pre-launch task executing sudo or sudo su commands.
I tried running the application and trying to attach to the process (also got declined because of insufficient permissions)
For C#:
Locate vsdbg-ui (in my case: ~/.vscode/extensions/ms-dotnettools.csharp-1.23.17/.debugger)
Rename "vsdbg-ui" to "vsdbg-ui2"
Create a new file in the same folder called "vsdbg-ui" with following content:
pkexec [yourhomefolder]/.vscode/extensions/ms-dotnettools.csharp-1.23.17/.debugger/vsdbg-ui2
Make the new file "vsdbg-ui" executable
Launch the debugging session in VSCode. You will get a prompt to enter your sudo password. You are debugging with sudo now.

TortoiseProc Launch failed: The application has failed to start because its side-by-side configuration is incorrect

I installed Tortoise on Windows 10 (my user had admin privileges but installer wasn't ran as admin), and when trying to use any tortoise contextual menu, I was getting this error:
"TortoiseProc Launch failed: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."
I verified, "run as Administrator" was not checked for TortoiseProc.exe file. I tried to check it, but this didn't change anything.
So I decided to uninstall it, and install it again. And then I was having this error:
a dialog saying the TortoiseProc.exe requires elevation
Now, when attempting to run the app by double clicking on TortoiseProc.exe, I got a prompt saying this app required privilege admin. Clicking on OK ran it properly. So I guess the prompt isn't displayed when calling it from a contextual menu, and it silently fails.
I fixed the problem by right clicking on TortoiseProc.exe file -> proporties. Then, on the Compatibily tab, I clicked on "Run compatibility troubleshooter". And voila! It fixed the problem: TortoiseProc.exe now runs, and does not ask any admin rights!
Run the Command prompt (cmd.exe) with admin rights and run this command:
SxsTrace Trace -logfile:SxsTrace.etl
Now run the Tortoise program which causes the SideBySide error.
Go back to the command prompt press ENTER to generate the SxsTrace.etl. Now type this:
sxstrace Parse -logfile:SxSTrace.etl -outfile:SxSTrace.txt
Now open the SxSTrace.txt trace and look which VC++ runtime is missing. Go to Microsoft.com, download and install the required version.
If you are unsure, please upload the complete SxSTrace.txt here.

java does not exit back to prompt when running jar file fails

when running java -jar myfile.jar on my RHEL 64 machine, if the install fails for some reason, i don't get back to prompt - thus the process doesn't exit
on other RHEL 64 machine, when running the same jar file, if it fails, i get back to prompt.
both machines are running the same version of java 1.6.0_25
anyone know what can cause this behavior ?
edit: the jar has an ant build xml that fails right on the beginning (i've added <fail/> task).
when running the file i get this
Total time: 1 second
validate failed
org.tp23.antinstaller.InstallException: Error running the install, Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:112)
at org.tp23.antinstaller.runtime.exe.AntLauncherValidateFilter.exec(AntLauncherValidateFilter.java:53)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:89)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:372)
Install failed
Error running the install, Ant run failed - examine the error logs for details
Failed
but no prompt, process still running...
Could it be that you still have some non-daemon threads sticking around? Try getting a Java stack dump with:
kill -QUIT <process_id>

Registering mozctlx.dll failed

I'm trying to install Mozilla ActiveX Control v1.7.12. In the folder where the DLL resides I execute
regsvr32 mozctlx.dll
but this fails. I get an error message
DllRegisterServer in mozctlx.dll failed
Return code was: 0x8002801c
I already tried an other version of the DLL, but no avail. Any ideas?
TIA
Steven
Run command prompt as administrator, then execute the same command.

Resources