我知道我可能做错了什么,但是我将源文件从一台计算机复制到另一台运行 IIS7 的计算机,然后我访问该网站并收到此错误:
Error Summary
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\wwwroot\mysite\mysite\web.config
Requested URL http://localhost:80/mysite/mysite/default.aspx
Physical Path C:\inetpub\wwwroot\mysite\mysite\default.aspx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
96: </modules>
97: <handlers>
98: <remove name="WebServiceHandlerFactory-Integrated"/>
任何帮助都值得感激!
答案1
答案2
托管此应用程序的应用程序池是否在经典模式下运行?Luke 指出的文章也应该为您提供解决方案