2013-11-27 73 views
0

我不确定这是多长时间问一次,我一直在搜索一段时间,但没有找到我所需要的。将站点(文件夹)移动到IIS 7服务器

我有一个网站正在第三方主机上运行,​​该网站是由第三方公司开发的。以前我将网站移到同一服务器上的子域(没有问题)。

现在我需要将网站移动到内部服务器(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"/>" 

我看到很多人都经历过这样的错误,我也跟着有一点运气的几个解决方案。我做到了虚拟目录,但错误是一样的。我觉得它的东西做一些验证(至少这是我的结论)监守如果我ommit这些行

</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进行哪些更改? 如果我要从本地移动到公开(实况),是否需要更改设置?

任何良好的联系,将有助于

回答

0

好了,问题是我没有下载这是httdocs外的bin文件夹中,最重要的是国际空间站上的经理,我对上我的网站文件夹点击并选择转换成应用程序,(我需要做的)现在工作顺利。

相关问题