ASP.NET项目没有在我的测试机器中构建

时间:2016-04-07 00:50:20

标签: c# asp.net visual-studio

我有一个需要修改的正在运行的项目。我正在尝试将整个项目加载到我的Visual Studio 15 CE中进行修改。我在我的解决方案资源管理器中获得了整个文件列表,然后在SQL管理器中获得了数据库。当我单击执行时,它会给出错误列表!这是图像。 enter image description here

然后在浏览器中,我收到此消息:

HTTP Error 500.24 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Most likely causes:

system.web/identity@impersonate is set to true.

Things you can try:

If the application supports it, disable client impersonation.
If you are certain that it is OK to ignore this error, it can be disabled by setting   system.webServer/validation@validateIntegratedModeConfiguration to false.

Detailed Error Information:
Module     ConfigurationValidationModule
Notification       BeginRequest
Handler    StaticFile
Error Code     0x80070032
Requested URL      http://localhost:55014    /fanKc9TuE6zuHQVMTPwHWVIHJCM.html
Physical Path      H:\Quoting system files\MGF_LIVE_BACKUP\fanKc9TuE6zuHQVMTPwHWVIHJCM.html
Logon Method       Not yet determined
Logon User     Not yet determined
Request Tracing Directory      D:\Old folders\Documents\IISExpress \TraceLogFiles\MGF_LIVE_BACKUP

1 个答案:

答案 0 :(得分:1)

这是应用程序池设置问题..

尝试进入IIS并更改应用程序的应用程序池,以使用经典模式而不是集成模式。

或者,您可以将其添加到Web.Config:

 <system.webServer>
     <validation validateIntegratedModeConfiguration="false" />
 </system.webServer>