简体   繁体   中英

Compiler error while trying to run vs 2012 website on local iis

While trying to run a Visual Studio 2012 website on local iis I receive the following in the browser after a successful build.

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: The compiler failed with error code -1073741511.

Show Detailed Compiler Output: c:\\windows\\system32\\inetsrv>C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\vbc.exe" /t:library /utf8output ...

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.81.0 1073741511

What could be causing this?

The answer to my problem came from both of the comments above. I repaired the installation using isos for VS2012 and update 5. And, there was an incorrect dll version. I would like to give credit to antlersoft and Paul Zahra. How do I do that?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM