ASP.NET Compillation Error BC31007 - Solution
TToday while I am working on the ASP.NET application, I suddenly encountered with below error while trying to debug the application.
I tried couple of actions:
. · Clean and rebuild solution
·
IDE restart
·
Temporary asp.net files cleanup
·
System restart
·
Modified Identity in App pool
Finally it got resolved by modifying the Identity to “Local System” in
Application Pool
Server Error in '/My App’ Application.
Compilation Error
Description:
An error occurred during the compilation of a resource required to
service this request. Please review the following specific error details and
modify your source code appropriately.
Compiler Error Message: BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\crs\b1234521\35244951\App_global.asax.v8-jml4w.0.vb': System Error &Hc0000005& (Visual Basic internal compiler error)
Source Error:
Compiler Error Message: BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\crs\b1234521\35244951\App_global.asax.v8-jml4w.0.vb': System Error &Hc0000005& (Visual Basic internal compiler error)
Source Error:
[No relevant source lines]
|
Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\crs\b1234521\35244951\App_global.asax.v8-jml4w.0.vb : Line: 0
Show Detailed Compiler Output:
Comments
Thanks for this write up, it worked with me. after too many search I got this solution.