I have created a C# project. Now I want to save an IP address in the web.config file with the help of key and value.
<add key="ip" value="xxxx.xxx.x.xxx" />
Now I am able to read the value with the help of key name and also able to update the value of the key. It's running in localhost successfully.
But if I put the files in IIS I can read the value but can't update the key value. Error like this is showing in Mozilla Firebug. The error is as follows
NetworkError: 500 Internal Server Error
Access to the path \u0027C:\inetpub\wwwroot\Order1\v1y5ay43.tmp\u0027 is denied.
I stuck over here. I Google it but did not find any solution.