2010-11-11 82 views
0

当我尝试打开远程服务器,我收到以下错误在我的Default.aspx页面上打开网页错误在远程服务器

Configuration Error 

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. 




Line 50:    ASP.NET to identify an incoming user. 
Line 51:   --> 
Line 52:  <authentication mode="Windows"/> 
Line 53:  <!-- 
Line 54:    The <customErrors> section enables configuration 


Source File: C:\inetpub\wwwroot\toolbar\web.config Line: 52 

如何解决上述error.what应该是认证模式。我已将我的网站放置在C:\ inetpub \ wwwroot \ toolbar中,并且与我的网站相关的所有文件(包括web.config)均位于工具栏文件夹内。

回答

0

的解决方案是here,通过谷歌搜索快速找到..

我认为这将解决您的错误:

To resolve it, Right Click on the virtual directory - select properties and then click on "Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name. Now the application can be accessed.

+0

什么虚拟目录对不起,我不明白 – Ishan 2010-11-11 08:17:52

+0

哪里的“的Default.aspx “ 位于?你如何管理远程服务器上的网站? – 2010-11-11 08:30:04

+0

它位于C:\ inetpub \ wwwroot \ toolbar – Ishan 2010-11-11 08:43:26

相关问题