Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Mommui on Tue 03/08/2021 16:54:20

Title: AGS System.Configuration Error Preventing Editor from Opening (Fixed)
Post by: Mommui on Tue 03/08/2021 16:54:20
Hello! I've been using AGS 3.5.1 for the past two weeks but when I turned on my computer yesterday and tried to open AGS, I got this error below.

(https://cdn.discordapp.com/attachments/504536648474820620/872144750034165820/2021-08-03_10-09-29.png)

I've tried updating,repairing, and reinstalling AGS but nothing works, and it still gives me this error and stays on the launcher loading image. The only way I can close is through Task Manager.  :-\
Title: Re: AGS System.Configuration Error Preventing Editor from Opening
Post by: Crimson Wizard on Tue 03/08/2021 17:48:01
Try deleting the file it is referencing in error message:
C:\Users\Rose\AppData\local\AGS\... etc
Title: Re: AGS System.Configuration Error Preventing Editor from Opening
Post by: Mommui on Tue 03/08/2021 19:20:47
Quote from: Crimson Wizard on Tue 03/08/2021 17:48:01
Try deleting the file it is referencing in error message:
C:\Users\Rose\AppData\local\AGS\... etc

Okay so that worked to get it booted, however now I have an error regarding a root element missing when i started it up. After backing up my game I tried to load it after restarting and it had the same error.
(https://cdn.discordapp.com/attachments/504536648474820620/872182104736292924/AGSEditor_2021-08-03_13-16-09.png)
Title: Re: AGS System.Configuration Error Preventing Editor from Opening
Post by: Mommui on Tue 03/08/2021 21:13:16
Alright, I've fixed everything! Thank you Crimson Wizard  :-D
Title: Re: AGS System.Configuration Error Preventing Editor from Opening (Fixed)
Post by: Cassiebsg on Tue 03/08/2021 21:25:01
Please post how you fixed, in case someone with the same problem finds this thread.  ;)
Title: Re: AGS System.Configuration Error Preventing Editor from Opening (Fixed)
Post by: morganw on Tue 03/08/2021 22:54:15
Basically all of the application settings are in the local appdata directory in the user profile (AppData\local\AGS) so just renaming that directory or deleting the contents would do a reset. I'm not entirely sure why it is so prone to corruption. I know in one case someone's hard drive was failing but it happens often enough that I think anti-virus might be interfering with the save process, which is a bit strange because this is using the de facto configuration management system provided by .NET rather than something custom.