通过IIS测试asp.net网站

时间:2017-08-21 13:28:28

标签: asp.net iis web-config

我正在尝试通过IIS测试我的asp.net应用程序但是我在通过浏览器测试时收到此错误

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.



Detailed Error Information:



Module
   IIS Web Core 

Notification
   BeginRequest 

Handler
   Not yet determined 

Error Code
   0x80070021 

Config Error
   This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".  

Config File
   \\?\C:\inetpub\Domains\Website\web.config 



Requested URL
   http://ww2.website.co.za:80/ 

Physical Path
   C:\inetpub\Domains\website 

Logon Method
   Not yet determined 

Logon User
   Not yet determined 




Config Source:
    8:  <system.webServer>
    9:   <handlers>
   10:    <remove name="ChartImageHandler" />

asp.net应用程序工作正常,但在将其移动到新的Web服务器并通过它进行测试时会出现错误。是否需要对我的web.config文件进行任何更改?

伙计们我对此做了很多研究,它似乎与我的web.config文件无关

还有其他解决办法吗?也许是通过IIS?

0 个答案:

没有答案