I deployed the Nuget source code to my company\'s web server, but when navigate to the URL, I get the following error (pulled from Event Viewer on the server):
I would just like to clarify for anyone else who comes to this question. The permissions need to be changed on the folder where the website resides in windows explorer.
I had this exact error - the only solution that worked was setting the app pool's Enable 32-bit Applications
advanced setting to True
.
Update: As I continue to have issues with a particular solution, I've found that clearing the C:\WINDOWS\Microsoft.NET\Framework\v4.xxx.xx\Temporary ASP.NET Files\
resolves the issue in most cases.
This error can also occur if for some reason access to a single file is unexpectedly denied. In my case the website was working fine but after a while access to a temporary entity framework edmx cache file was denied. Deleting this file solved the problem.
Setting CustomErrors in Web.Config to Off gave me the details about the error. These details were not present in the event log viewer.
The local users group needed modify permissions to get past this error. Resolved.