microsoft woes
This is purely for the technical crowd.
I encountered an error in my asp.net application last night which had the message:
Configuration Error
Access is denied: 'localhost'
Then it pointed to line 258 in my machine.config file under the <compliation> <assemblies> section which is the following line:
<add assembly="*"/>
After searching google pretty extensively I found no help.
The funny thing is the error happened only when I deployed a new version of the web app, which only included some changes to the code in front files and some of the code behinds. The application comprises about 20 aspx's in total. I had made no configuration changes or any file system changes. Just a straight up copy from development to production app ( yea, I know don't jump down my throat for the shoddy release process...it's what you get for a home based operation for a band's website ).
After messing around for a while trying to roll back to the previous version, and authentication changes within IIS and the filesystem I finally found a solution: check that the permissions are correct in the root of the web app and apply them down the entire tree.
Hope this helps if you get the same retarded error.
If you want to check out the working site in all it's glory, and hear some brilliant music:
Posted by christopher andersson on February 1, 2006 12:21 AM Permalink