简体   繁体   English

尝试在本地iis上运行vs 2012网站时编译器错误

[英]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. 尝试在本地iis上运行Visual Studio 2012网站时,我在成功构建后在浏览器中收到以下内容。

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. 编译器错误消息:编译器失败,错误代码为-1073741511。

Show Detailed Compiler Output: c:\\windows\\system32\\inetsrv>C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\vbc.exe" /t:library /utf8output ... 显示详细的编译器输出: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; 版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET Version:4.6.81.0 1073741511 ASP.NET版本: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. 我使用isos for VS2012修复了安装并更新5.并且,有一个不正确的DLL版本。 I would like to give credit to antlersoft and Paul Zahra. 我想赞扬antlersoft和Paul Zahra。 How do I do that? 我怎么做?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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