Click here to Skip to main content
15,560,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am unable to use CodeProject.AI Server. It constantly says "unable to contact AI Server when I try to do anything with it. I have several errors in my event viewer. please see the following -

==============================================

Application: CodeProject.AI.Server.exe
CoreCLR Version: 6.0.922.41905
.NET Version: 6.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Instance 'pid_14708_luid_0x00000000_0x0000AFB0_phys_0_eng_0_engtype_3D' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at CodeProject.AI.API.Server.Frontend.GPUInfo.<>c.<get3dgpuusage>b__4_1(PerformanceCounter x)
at System.Linq.Enumerable.Sum[TSource](IEnumerable`1 source, Func`2 selector)
at CodeProject.AI.API.Server.Frontend.GPUInfo.Get3DGpuUsage()
at CodeProject.AI.API.Server.Frontend.GPUInfo.GetGpuInfo()
at CodeProject.AI.API.Server.Frontend.Program.Main(String[] args)
at CodeProject.AI.API.Server.Frontend.Program.(String[] args)

============================================================================
Faulting application name: CodeProject.AI.Server.exe, version: 1.6.0.0, time stamp: 0x62fff1bf
Faulting module name: KERNELBASE.dll, version: 10.0.19041.2075, time stamp: 0x923a0837
Exception code: 0xe0434352
Fault offset: 0x0000000000034fd9
Faulting process id: 0xf30
Faulting application start time: 0x01d8cf611ae82a21
Faulting application path: C:\Program Files\CodeProject\AI\Server\CodeProject.AI.Server.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 6e15831f-e2a4-4475-863b-a3230e854c4b
Faulting package full name:
Faulting package-relative application ID:

========================================================================

Fault bucket 1982409337798739617, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: CodeProject.AI.Server.exe
P2: 1.6.0.0
P3: 62fff1bf
P4: KERNELBASE.dll
P5: 10.0.19041.2075
P6: 923a0837
P7: e0434352
P8: 0000000000034fd9
P9:
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9695.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER97A0.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER97B0.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER97AE.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER97CF.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_CodeProject.AI.S_746e181db1b3c8b1be1a9e2eb7e5d6879a96ae3_8feb7868_45ec8a8a-eb58-4bfb-b087-4970858204d6

Analysis symbol:
Rechecking for solution: 0
Report Id: 6e15831f-e2a4-4475-863b-a3230e854c4b
Report Status: 268435456
Hashed bucket: fbd68a7ea4a9ed804b82eeca1ae946a1

============================================================

Application: CodeProject.AI.Server.exe
CoreCLR Version: 6.0.922.41905
.NET Version: 6.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Instance 'pid_14708_luid_0x00000000_0x0000AFB0_phys_0_eng_0_engtype_3D' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at CodeProject.AI.API.Server.Frontend.GPUInfo.<>c.<get3dgpuusage>b__4_1(PerformanceCounter x)
at System.Linq.Enumerable.Sum[TSource](IEnumerable`1 source, Func`2 selector)
at CodeProject.AI.API.Server.Frontend.GPUInfo.Get3DGpuUsage()
at CodeProject.AI.API.Server.Frontend.GPUInfo.GetGpuInfo()
at CodeProject.AI.API.Server.Frontend.Program.Main(String[] args)
at CodeProject.AI.API.Server.Frontend.Program.(String[] args)

What I have tried:

I have tried updating Windows and reinstalling .NET Framework.
Posted
Comments
Richard Deeming 26-Sep-22 9:56am    
You might have better luck posting this in the dedicated CodeProject.AI forum: CodeProject.AI Discussions[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900