-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Windows Installer fails miserably #228
Comments
Version 2.8.0 works fine. Some wonky dependency issue with 2.9.5: Faulting application name: CodeProject.AI.Server.exe, version: 2.7.0.0, time stamp: 0x67200000 |
What is your:
|
Windows Server 2022 Standard |
This looks like either an oddity with Windows Server vs Windows (consumer) or a permissions issue. We only support (and have only tested on) the consumer versions of windows, not the server version. My only suggestion is to check the event viewer to see if that sheds any light. |
Probably not a permissions issue and probably not an OS-specific oddity as all prior versions work just fine. Maybe some new .NET 9 thing? I can try to pull down the source and build and run in debug and see what happens. Event viewer just shows what I pasted above: Faulting application name: CodeProject.AI.Server.exe, version: 2.7.0.0, time stamp: 0x67200000 |
Try uninstalling, deleting If still failing any thing of interest in here?
Maybe uninstall/reinstall .net 9 and reboot? If you run
The last one might not be needed but I always keep all three installed and at the exact same build. Maybe disable antivirus? Might get something else out of analyzing this file with WinDbg: |
I had the same installation problem and could not get the service to start. Using MS Windows Pro 11 latest updates and patches. The solution was to delete the old AI sub-directory and all contents. Then manually install MS net (https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-9.0.101-windows-x64-installer). Reinstall code project 2.9.5, and the service then came up in my browser. |
I have installed various versions, up to 2.6.5 on Windows Server 2022 (w/desktop ui) and haven't had any issue. Did you do a core install or install with a desktop? Right clicking and running as administrator? Maybe something broke after 2.6.5? |
@BuxtonCalvin When you installed the latest, did you check the "delete old install and all data" checkbox? |
Hi, just to chime in. I am running CPAI for some years now, from almost the beginning actually.
|
Yes. I installed with the checkbox checked. I also deleted the install from the Windows Apps menu. I went back and forth between installing working versions (2.8.0) and non-working (2.9.5) before applying the fix as per my note above. In my case, I'm pretty sure this was a dotnet issue. |
I have not had the time unfortunately to experiment with the latest version. I have the 2.8.0 working and need my security camera system up and running |
Clean machine with .NET 9 installed.
Ran CodeProject.AI-Server_2.9.5_win_x64.exe and went through the wizard.
No errors appear yet service is not installed and this appears in the event viewer:
Faulting application name: CodeProject.AI.Server.exe, version: 2.7.0.0, time stamp: 0x67200000
Faulting module name: coreclr.dll, version: 9.0.24.52809, time stamp: 0x672049fc
Exception code: 0xc0000602
Fault offset: 0x000000000032a356
Faulting process id: 0x24d8
Faulting application start time: 0x01db4bebe97c51bb
Faulting application path: C:\Program Files\CodeProject\AI\server\CodeProject.AI.Server.exe
Faulting module path: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0\coreclr.dll
Report Id: f1bc4a62-e54b-4189-a072-449f334df817
Faulting package full name:
Faulting package-relative application ID:
Running setup.bat in C:\program files\CodeProject\AI yields:
======================================================================
======================================================================
250.3Gb of 953Gb available on (No label) (Windows 10 x86_64 - windows)
General CodeProject.AI setup
Checking for VC++ Redist...v14 Present.
Creating Directories...done
GPU support
CUDA Present...Yes (CUDA 12.3, cuDNN 8.5, CUDA Toolkit: false)
Updating path to include cuDNN
ROCm Present...No
Checking for .NET 9.0...Checking runtimes...All good. Found .NET aspnetcore 9
Cannot find file "C:\Program Files\CodeProject\AI\modules\AI\modulesettings.json"
Reading settings.......done
Installing module (Internal)
This module cannot be installed on this system
Setup complete
Total setup time 00:00:01.98_
The text was updated successfully, but these errors were encountered: