1. The current identity (nt authority/network service) does not have write access to "C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/Temporary ASP. NET Files"
"/" Indicates a server error in the application.
--------------------------------------------------------------------------------
The current identity (nt authority/Network Service) does not have write access to "C:/Windows/Microsoft. NET/framework/v2.0.50727/Temporary ASP. NET Files.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details: system. web. httpexception: The current identifier (nt authority/Network Service) does not apply to "C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net files.
Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.
Stack trace:
[Httpexception (0x80004005): The current identifier (nt authority/Network Service) is not against "C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net files.]
System. Web. httpruntime. setupcodegendirectory (compilationsection) + 3474171
System. Web. httpruntime. hostinginit (hostingenvironmentflags hostingflags) + 226
[Httpexception (0x80004005): The current identifier (nt authority/Network Service) is not against "C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net files.]
System. Web. httpruntime. firstrequestinit (httpcontext context) + 3426903
System. Web. httpruntime. ensurefirstrequestinit (httpcontext context) + 88
System. Web. HttpRuntime. ProcessRequestInternal (HttpWorkerRequest wr) + 149
Positive Solution:
1) Disable VS. NET.
2) net stop iisadmin
3) C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/aspnet_regiis-I-enable
4) iisreset
2. failed to create Mutex
A server error occurs in the "/WebSite" application.
--------------------------------------------------------------------------------
Failed to create Mutex.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details: System. InvalidOperationException: failed to create Mutex.
Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.
Stack trace:
[Invalidoperationexception: failed to create mutex.]
System. Web. Compilation. compilationmutex .. ctor (string name, string comment) + 3464673
System. Web. Compilation. compilationlock .... cctor () + 158
[Typeinitializationexception: "system. Web. Compilation. compilationlock" type initialization item causes an exception.]
System. Web. Compilation. CompilationLock. GetLock (Boolean & gotLock) + 32
System. Web. Compilation. BuildManager. EnsureTopLevelFilesCompiled () + 114
[HttpException (0x80004005): "System. Web. Compilation. CompilationLock" type Initial Value Setting raises an exception.]
System. Web. HttpRuntime. FirstRequestInit (HttpContext context) + 3426855
System. Web. HttpRuntime. EnsureFirstRequestInit (HttpContext context) + 88
System. Web. httpruntime. processrequestinternal (httpworkerrequest wr) + 149
--------------------------------------------------------------------------------
Version: Microsoft. NET Framework Version: 2.0.50727.42; ASP. NET version: 2.0.50727.42
Positive Solution:
1) C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/ASPNET_regiis-ga yourdomain/youraccount
2) iisreset