“ /”应用程序中的服务器错误。编译错误说明

时间:2019-08-03 05:54:11

标签: asp.net web-config web-hosting

托管API时,出现此错误

  

“ /”应用程序中的服务器错误。   编译错误   说明:编译服务于此请求所需的资源期间发生错误。请查看以下特定的错误详细信息,并适当地修改您的源代码。

编译器错误消息:

  

编译器失败,错误代码-2146232576。

显示详细的编译器输出:

  

版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0.30319.34209

IIS7.5 includes a new identity type, ApplicationPoolIdentity, and sets it as the default identity for application pools.

On IIS 7.5, PBDotnet4AppPool also uses ApplicationPoolIdentity as its default identity value, but some Web Forms application features—such as creation of permanent user accounts, SSL authentication, and DataWindow Print and SaveAs commands—fail with this identity. You can avoid these issues by changing the PBDotnet4AppPool identity to NetworkService:

In IIS Manager, select Application Pools.
From the list of application pools, right-click PBDotnet4AppPool and select Advanced Settings.
In the Process Model section, change the identity property from ApplicationPoolIdentity to NetworkService, and click OK.
Changing this setting affects all applications running in the PBDotnet4AppPool application pool.

我收到此错误

0 个答案:

没有答案