Today finally I got the Visual Studio 2005 installed on my new computer, and tried to move all visual video project from my previous VS 2003 to it. After I open the previous project in VS 2005 and converted and then re-built, then I tried to open the application in the browser. But I got the following error message:
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.
[3:30 pm] Followed the link from the error message, and was told I should grant the user permission to run asp.net stuff. So the use aspnet_regiis -ga ASPNET but still got the same error.
[3:44 pm] ran “aspnet_regiis -ir” and got different error message as the following:
Exception Details: System.InvalidOperationException: Mutex could not be created.
[3:45 pm] ran “aspnet_regiis -i” to re-install ASP.net and scripting map, the result was the same as “System.InvalidOperationException: Mutex could not be created.”
I stared on this error message, and it seemed to me that there were some permission conflict when more than one temporary stuffs were tried to be created. The only thing I could think was the Visual Studio 2005 still opened and the project was opened too. So I closed the Visual Studio 2005, and re-ran the application. Surprised it worked. I never wanted to know the exact reason. Yeah!
I was glad it was resolved though I got the new Oracle error message now.
Technorati : ASP.NET, IIS
ASP.NET, IIS
0 Responses to “Errors occurred when I was upgrading to VS 2005/ASP.NET 2.0”