ModAssistant icon indicating copy to clipboard operation
ModAssistant copied to clipboard

System.Configuration.ConfigurationErrorsException: Failed to save settings

Open JamieK135 opened this issue 4 years ago • 17 comments

When i try to run ModAssitant.exe this appears even when i run as admin

ModAssistant Issue

JamieK135 avatar Apr 02 '20 12:04 JamieK135

I have this issue as well :/

Kauoz avatar Apr 02 '20 14:04 Kauoz

Do you guys have an antivirus running?

Parapass avatar Apr 02 '20 21:04 Parapass

Do you guys have an antivirus running?

Yes, is that what's causing it? It's never been a problem before

Kauoz avatar Apr 02 '20 21:04 Kauoz

Do you guys have an antivirus running? just windows defender i also use ccleaner to get rid of junk

JamieK135 avatar Apr 02 '20 22:04 JamieK135

If you guys need help, go to the #pc-help in the BSMG.

Parapass avatar Apr 02 '20 23:04 Parapass

Do you guys have an antivirus running? just windows defender i also use ccleaner to get rid of junk

I've always had ModAssitant.exe on my desktop for easy access but as soon as I moved it to another location it worked again. It's pretty weird but this fixed it for me.

Kauoz avatar Apr 05 '20 19:04 Kauoz

Do you guys have an antivirus running? just windows defender i also use ccleaner to get rid of junk

I've always had ModAssitant.exe on my desktop for easy access but as soon as I moved it to another location it worked again. It's pretty weird but this fixed it for me.

where did you move it to???

JamieK135 avatar Apr 05 '20 20:04 JamieK135

Do you guys have an antivirus running? just windows defender i also use ccleaner to get rid of junk

I've always had ModAssitant.exe on my desktop for easy access but as soon as I moved it to another location it worked again. It's pretty weird but this fixed it for me.

where did you move it to???

I moved it to my games folder which is on my other disk, not my system disk. Don't know if disk location matter but that fixed it

Kauoz avatar Apr 05 '20 20:04 Kauoz

I'm having the same issue. I've tried all of the suggested tips but the problem seems to be with BSIPA. As soon as I uninstall it the game works fine but with it the game will not even attempt to start and give the same error message as above. Hopefully we can get a fix on this, I blame the BeatSaber devs for updating their game every 2 minutes.

JerryFilms avatar Apr 11 '20 07:04 JerryFilms

Once again, go to #pc-help in the BSMG discord.

Parapass avatar Apr 11 '20 13:04 Parapass

Once again, go to #pc-help in the BSMG discord.

been there no one knows what is going on

JamieK135 avatar Apr 11 '20 13:04 JamieK135

Either it can't write or read the config file or your config file is just corrupted.

Parapass avatar Apr 11 '20 15:04 Parapass

Simply downloading the latest release and replacing the old ModAssistant.exe file with that fixed it for me.

VeikkoLehmuskorpi avatar Apr 12 '20 15:04 VeikkoLehmuskorpi

Simply downloading the latest release and replacing the old ModAssistant.exe file with that fixed it for me.

this is the first time installing mod assistant for me

JamieK135 avatar Apr 12 '20 15:04 JamieK135

Are you still having this issue? It looks like Windows is trying to access a temp file, which may no longer exist. On my machine, the file is called user.config, but yours is krxikakp.tmp

If this error occurs again, can you try to go to the path it provides and see if the file exists? For example, C:\Users\<username>\AppData\Local\ModAssistant\ModAssistant.exe_Url_b5ccye5brv14r0rvvr3g5zy3mpn2lvpn\1.1.5.0

On the technical side, I'm not sure why it would be trying to access a temp file. Mod Assistant saves settings using Properties.Settings.Default.Save(), which should be handled by Windows. The Settings class is auto generated by Visual Studio, and extends the ApplicationSettingsBase class https://docs.microsoft.com/en-us/dotnet/api/system.configuration.applicationsettingsbase?view=netframework-4.6.1

I can't find any reason why it would be a temp file. If anyone else has any suggestions here let me know.

Edit: This is the only thing I can find about this issue, the user says that the folder doesn't exist for some reason. You could try creating the folder yourself, and see if that works.https://stackoverflow.com/questions/35130809/c-sharp-usersettings-exception-could-not-find-a-part-of-the-path-during-save

megalon avatar May 02 '20 20:05 megalon

I was able to fix this issue by filling uninstalling the game. As in going into the .../steamapps/common folder and deleting the entire file (after backing up my downloaded songs and platforms). After redownloading it, installing all the mods, and replacing the downloaded songs it worked perfectly fine.

JerryFilms avatar May 02 '20 21:05 JerryFilms

Is anyone still having this issue?

It's been over a year now and I'm wondering if we can close this with the possible solution above.

megalon avatar May 13 '21 06:05 megalon