Click here to Skip to main content
15,887,027 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: Article posting Pin
Sean Ewington7-Sep-23 6:08
staffSean Ewington7-Sep-23 6:08 
GeneralRe: Article posting Pin
Tasos Kipriotis11-Sep-23 7:18
Tasos Kipriotis11-Sep-23 7:18 
GeneralRe: Article posting Pin
Sean Ewington11-Sep-23 7:31
staffSean Ewington11-Sep-23 7:31 
GeneralRe: Article posting Pin
Tasos Kipriotis12-Sep-23 7:22
Tasos Kipriotis12-Sep-23 7:22 
GeneralRe: Article posting Pin
Sean Ewington12-Sep-23 7:26
staffSean Ewington12-Sep-23 7:26 
QuestionA question about something for an article Pin
Pete O'Hanlon18-Aug-23 4:24
mvePete O'Hanlon18-Aug-23 4:24 
AnswerRe: A question about something for an article Pin
Sean Ewington18-Aug-23 5:49
staffSean Ewington18-Aug-23 5:49 
QuestionAfter upgrading to 2.1.10 CPAI no longer works - missing AI\modulesettings.json Pin
Member 160655685-Aug-23 17:15
Member 160655685-Aug-23 17:15 
Hello - I recently updated to a newer version of CodeProject AI and now i cannot get the service to run.

Windows event viewer is throwing up the following error -
Application: CodeProject.AI.Server.exe
CoreCLR Version: 7.0.523.17405
.NET Version: 7.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: 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: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   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[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   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)



I've validated that the
AI\modulesettings.json
file does not exist and I think that is what is causing the issue and no matter what I do I cannot get it to work. Ive uninstalled and reinstalled this 5 times without any luck. I'm hoping someone can tell me what I can do to get past this file so I can start the server. Every time I start the service it throws that error I pasted above. I'm kind of dead in the water.
AnswerRe: After upgrading to 2.1.10 CPAI no longer works - missing AI\modulesettings.json Pin
Richard MacCutchan5-Aug-23 21:11
mveRichard MacCutchan5-Aug-23 21:11 
QuestionImages problem 4 Pin
Evgenii Zaiats14-Jul-23 18:27
Evgenii Zaiats14-Jul-23 18:27 
AnswerRe: Images problem 4 Pin
Sean Ewington16-Jul-23 3:45
staffSean Ewington16-Jul-23 3:45 
GeneralRe: Images problem 4 Pin
Evgenii Zaiats16-Jul-23 3:56
Evgenii Zaiats16-Jul-23 3:56 
QuestionImages problem 3 Pin
Mark Pelf 9-Jul-23 23:48
mvaMark Pelf 9-Jul-23 23:48 
AnswerRe: Images problem 3 Pin
Sean Ewington10-Jul-23 4:23
staffSean Ewington10-Jul-23 4:23 
GeneralRe: Images problem 3 Pin
abdulrehman naeem20-Sep-23 23:40
abdulrehman naeem20-Sep-23 23:40 
QuestionAllowed or not allowed? Pin
Jo_vb.net4-Jul-23 7:35
mvaJo_vb.net4-Jul-23 7:35 
AnswerRe: Allowed or not allowed? Pin
Sean Ewington4-Jul-23 8:15
staffSean Ewington4-Jul-23 8:15 
GeneralRe: Allowed or not allowed? Pin
Jo_vb.net4-Jul-23 8:38
mvaJo_vb.net4-Jul-23 8:38 
QuestionThumbnails for articles not working Pin
Mark Pelf 3-Jul-23 19:24
mvaMark Pelf 3-Jul-23 19:24 
AnswerRe: Thumbnails for articles not working Pin
Graeme_Grant4-Jul-23 0:01
mvaGraeme_Grant4-Jul-23 0:01 
AnswerRe: Thumbnails for articles not working Pin
Sean Ewington4-Jul-23 4:07
staffSean Ewington4-Jul-23 4:07 
QuestionImages problem 2 Pin
Mark Pelf 3-Jul-23 2:22
mvaMark Pelf 3-Jul-23 2:22 
AnswerRe: Images problem 2 Pin
Sean Ewington3-Jul-23 4:49
staffSean Ewington3-Jul-23 4:49 
QuestionImages problem Pin
Mark Pelf 30-Jun-23 8:04
mvaMark Pelf 30-Jun-23 8:04 
AnswerRe: Images problem Pin
Sean Ewington30-Jun-23 9:50
staffSean Ewington30-Jun-23 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.