1  
Solved
 

Unable to start Catlight

I have just installed Catlight on my Windows 7 Sp1 (latest windows updated) corporate desktop. I get a blue screen saying "Cannot start the application". The logs say the following. What do I need to do to get this working?:

 

[2016-08-23 16:14:47.191] [INFO] main - Starting app
[2016-08-23 16:14:47.402] [DEBUG] main - Starting tray. OS: win32 6.1.7601 . App version: 1.8.7 ia32. App path: C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\resources\app.asar. Total mem: 17085874176
[2016-08-23 16:14:47.403] [INFO] main - Processing command: --squirrel-install
[2016-08-23 16:14:47.403] [DEBUG] main - Creating desktop shortcut
[2016-08-23 16:14:47.403] [DEBUG] main - Running 'C:\Users\anthony\AppData\Local\CatLight\update.exe' with args '--createShortcut="C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\CatLight.exe" --process-start-args="--show-dashboard" --shortcut-locations=Desktop,StartMenu'
[2016-08-23 16:14:47.422] [DEBUG] main - Command started.
[2016-08-23 16:14:47.422] [DEBUG] main - Handling startup event.
[2016-08-23 16:14:52.603] [DEBUG] main - Process exited successfully.
[2016-08-23 16:14:52.604] [DEBUG] main - StdOut:
[2016-08-23 16:14:52.604] [DEBUG] main - Creating startup shortcut
[2016-08-23 16:14:52.604] [DEBUG] main - Running 'C:\Users\anthony\AppData\Local\CatLight\update.exe' with args '--createShortcut="C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\CatLight.exe" --process-start-args="--on-startup" --shortcut-locations=Startup'
[2016-08-23 16:14:53.027] [DEBUG] main - Process exited successfully.
[2016-08-23 16:14:55.833] [INFO] main - Starting app
[2016-08-23 16:14:55.863] [DEBUG] main - Starting tray. OS: win32 6.1.7601 . App version: 1.8.7 ia32. App path: C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\resources\app.asar. Total mem: 17085874176
[2016-08-23 16:14:55.864] [INFO] main - Processing command: --squirrel-firstrun
[2016-08-23 16:14:55.864] [DEBUG] main - Launching and showing dashboard
[2016-08-23 16:14:55.864] [INFO] main - App ready
[2016-08-23 16:14:57.539] [DEBUG] main - Configuring session proxy for direct connection
[2016-08-23 16:14:57.547] [DEBUG] main - Session proxy configured
[2016-08-23 16:14:57.549] [DEBUG] main - Creating application manager
[2016-08-23 16:14:57.551] [DEBUG] main - Display scale factor: 100
[2016-08-23 16:14:57.628] [DEBUG] main - Starting SelfUpdateManager
[2016-08-23 16:14:57.630] [DEBUG] main - Update channel: beta from C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\resources/update_channel.txt
[2016-08-23 16:14:57.631] [DEBUG] main - Updater configured
[2016-08-23 16:14:57.632] [DEBUG] main - Starting SetupManager
[2016-08-23 16:14:57.632] [DEBUG] main - Starting AppServiceManager
[2016-08-23 16:14:57.644] [DEBUG] main - Starting web on port 59033 from 'C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\resources\LocalWeb\LocalWeb.exe'. Root path: C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\resources\LocalWeb
[2016-08-23 16:14:58.975] [FATAL] main - web closed soon after start. code: 3221225781
[2016-08-23 16:14:59.008] [FATAL] main - Showed app failed to start window
[2016-08-23 16:14:59.634] [DEBUG] main - Running 'C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\SetupTools.exe' with args 'promoteTrayIcon "C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\CatLight.exe"'
[2016-08-23 16:14:59.827] [DEBUG] main - Waiting for service start: RequestError: Error: connect ECONNREFUSED 127.0.0.1:59033
[2016-08-23 16:15:00.507] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:00.509] [ERROR] main - UncaughtException: Error: socket hang up
[2016-08-23 16:15:00.512] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:00.513] [ERROR] main - UncaughtException: Error: socket hang up
[2016-08-23 16:15:01.558] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:01.562] [ERROR] main - UncaughtException: Error: socket hang up
[2016-08-23 16:15:01.566] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:01.580] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:01.584] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:01.585] [ERROR] main - UncaughtException: Error: socket hang up
[2016-08-23 16:15:01.587] [ERROR] main - UncaughtException: Error: socket hang up
[2016-08-23 16:15:01.588] [ERROR] main - UncaughtException: Error: socket hang up
[2016-08-23 16:15:01.836] [DEBUG] main - Waiting for service start: RequestError: Error: connect ECONNREFUSED 127.0.0.1:59033
[2016-08-23 16:15:02.625] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443
[2016-08-23 16:15:02.629] [ERROR] main - UncaughtException: Error: connect ECONNREFUSED 40.78.156.222:443

7 replies

0  

Hi,

for my colleague the Universal CRT update solved the problem.

Thank you.

0  

Thanks, I received the following error:

---------------------------
LocalWeb.exe - System Error
---------------------------
The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.

I then installed the Universal CRT update and the problem was solved!

Thanks for the help

Regards

s
0  

 

Microsoft lists the following prerequisites for using .Net core on Windows 7:

  • Please make sure that your Windows installation is up-to-date and includes hotfix KB2533623 installed through Windows Update.
  • Universal CRT update (you can get more info on what Universal CRT is in this blog post)

You can try installing them. Let us know if that helped.

0  

One of my colleagues has the same problem, the localweb server does not start.
When he starts the webserver from command prompt, a dialog opens that the "application was unable to start correctly" (0xc000007b)


But no real message what is missing, is there some kind of debug mode to adress that issue?

s
0  

You can try starting "C:\Users\anthony\AppData\Local\CatLight\app-1.8.7\resources\LocalWeb\LocalWeb.exe" from command prompt, it should print to the console some information about what is missing. We can then use it to find the update or library that is required.

0  
The updates are controlled by our corporate admin. Are you able to be more specific which update is required and I can request it if neccessary? Please see the latest updates applied below:
s
0  

Hi Anthony,

Make sure that your have latest windows updates installed. 

.Net Core depends on one of them to run on Windows 7.