【发布时间】:2013-11-27 07:48:57
【问题描述】:
我不确定这个问题被问的频率,我已经搜索了一段时间,但没有找到我需要的东西。
我有一个网站目前在第 3 方主机上运行,该网站是由第 3 方公司开发的。以前我将网站移动到同一服务器上的子域(没问题)。
现在我需要将网站移动到内部服务器(R2 2008,使用 IIS 7)。 到目前为止,我通过 FTP(完整的 httdocs)下载了该站点并放在 C:\inetpub\wwwroot 中。我现在想在本地使用它,但最终我会让它上线。 所以我最初的错误是
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.
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error can be
caused by a virtual directory not being configured as an application in IIS.
"</pages><authentication mode="Windows"/>"
我看到很多人都遇到过这个错误,我遵循了一些解决方案,但运气不佳。我进入了一个虚拟目录,但错误是一样的。我认为这与某些身份验证有关(至少这是我的结论)因为如果我省略这些行
</pages><authentication mode="Windows"/>
<sessionState timeout="50">
</sessionState>
我收到这个错误
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error Configuration file is not well-formed XML
Config File \\?\C:\inetpub\wwwroot\tools2\web.config
Requested URL http://localhost:80/tools2/newsLetter/
Physical Path C:\inetpub\wwwroot\tools2\newsLetter\
Logon Method Not yet determined
Logon User Not yet determined
我需要填写一些凭据吗? 如何为服务器设置用户登录名(是否需要)? 我需要对 web.config 进行哪些更改? 如果我要将 ir 从本地移动到公共(直播),是否需要更改设置?
任何好的链接都会有所帮助
【问题讨论】:
标签: asp.net iis windows-server-2008