Click here to Skip to main content
15,611,312 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi everyone,

I am a noob in this field and would appreciate your help :)

I recently installed Code Project to be used with BlueIris (been using deepstack previously), after installation finished, i tried to start it from BlueIris AI tab unsuccessfully as I get error message < Could not start(258); check path >.
I tried manual start by launching "CodeProject.AI.Server.exe" but I get the following error message:

Unhandled exception. System.IO.InvalidDataException: Failed to load configuration from file 'C:\ProgramData\CodeProject\AI\modulesettings. json’.
---> System.FormatException: Could not parse the JSON file.
---> System. Text .Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with
a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System. Text. Json.ThrowHelper. ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan'1 bytes)
at System. Text. Json.Utf8JsonReader .Read()
at System, Text.Json.JsonDocument .Parse(ReadOnlySpan'1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System. Text. Json.JsonDocument .Parse(ReadOnlyMemory'1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRented
ArrayPoolBytes, PooledByteBuffertiriter extraPooledByteBuffertriter)
at System. Text.Json.JsonDocument .Parse(ReadOnlyMemory'1 json, JsonDocumentOptions options)
at System. Text.Json.JsonDocument .Parse(String json, JsonDocumentOptions options)
at Microsoft .Extensions .Configuration.Json.JsonConfigurationFileParser.ParseStream(Stream input)
at Microsoft .Extensions .Configuration.Json.JsonConfigurationProvider.Load(Stream stream)
---End of inner exception stack trace
at Microsoft .Extensions . Configuration. Json.JsonConfigurationProvider.Load(Stream stream)
at Microsoft .Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
---End of inner exception stack trace
at Microsoft .Extensions .Configuration.FileConfigurationProvider.Load(Boolean reload)
at Microsoft .Extensions .Configuration.ConfigurationRoot. .ctor(IList'1 providers)
at Microsoft .Extensions.. Configuration .ConfigurationBuilder .Build()
at Microsoft .Extensions.Hosting.HostBuilder. InitializeappConfiguration()
at Microsoft .Extensions.Hosting.HostBuilder.Build()
at CodeProject .AI.API.Server.Frontend.Program.Main(String[] args)
at CodeProject .AI.API.Server.Frontend.Program.<Main>(String[] args)

What I have tried:

Uninstall delete folder, and reinstall CodeProject again without success
Updated 7-Feb-23 23:04pm

1 solution

You should post this in the CodeProject.AI Discussions[^] forum, where the experts will be able to assist you.
Share this answer

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