2016-04-15 35 views
1

当我访问我的网站时,我看到这个错误。有没有我需要做的事情,或者主办单位要做的事情?我只能访问到Plesk主机潘内尔服务器错误'/'应用程序asp网站

Server Error in '/' Application.

配置错误

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

分析器错误信息:无法识别的属性'targetFramework'。请注意,属性名称区分大小写。

源错误:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: C:\Inetpub\vhosts\wincarsassociation.com\httpdocs\web.config Line: 23

版本信息:Microsoft .NET Framework版本:2.0.50727.8009; ASP.NET版本:2.0.50727.8015

回答

0

https://stackoverflow.com/a/7530832/59996

This typically happens when you have an attribute of targetFramework="4.0" in the web.config but the App Pool is set to run ASP.NET 2.0

顶端回答这个问题有如何配置应用程序池 How to add ASP.NET 4.0 as Application Pool on IIS 7, Windows 7

细节有没有在Plesk界面中,其中一个地方你可以将AppPool从v2.0更改为v4.0? (尝试在首页>工具&设置> IIS应用程序池看)

+0

嘿,我可以看到 专用IIS应用程序池网站 和IIS设置 一个,我应该选择哪一个? – user2370418

+0

IIS下的应用程序池wincarsassociation.com(域)(池) 我可以看到这些选项 - 关闭 禁用专用的IIS应用程序池。 停止 停止IIS应用程序池。 回收 回收IIS应用程序池。 – user2370418

相关问题