Wednesday 30 January 2008

Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache

If you get “Server Application Unavailable” when trying to browse to your development web site, check the Event Log on the host machine. If it contains the message “Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache”, navigate to the .NET Framework directory containing the file aspnet_regiis.exe and run the command:
aspnet_regiis -ga machinename\ASPNET
(substituting machinename as appropriate).

Ensure also that the web site is an application (create an application in the IIS home directory).

If the message is simply “Service Unavailable” and you’re using IIS 6, check the application pool associated with your web site is running.

No comments: