The LanguageManager will not change your web.config. What happen if you restart the site or clear ASP.NET cache in [C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files] (correct the path to fit your env)?
Thanks for answering.
When I restart it works for a while and after that is gives this error again. I tried deleting the languagemanager completely but that didn't help either so Languagemanager does not seem to be the problem.
It seems as though it has something to do with an issue of Azure. It look similar to this on Stackoverflow. The settings that are posed as the answer did not work for me.
Hi Lindy, your problem looks similar to https://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=179961, probably you tried to set app settings in web.config instead of azure portal like me :)
LanguageManager seems to alter Web.config causing ConfigurationErrorsException:The configuration file has been changed by another program.
So what happens is that after deploying to my testing environment, I get an error stating the Episerver.Languagemanager.config has been changed by another program. After that error, I get the same error for the Web.config. I've got not idea what is causing this.
I've tried adding the next thing to the web.config since we are using Azure. But that didn't help.
The errors are down below:
[Pasting files is not allowed]