在远程服务器上打开网页时出错
当我尝试在远程服务器上打开 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
如何解决上述错误。身份验证模式应该是什么。我已将我的网站放在 C:\inetpub\wwwroot\toolbar 中,与我的网站相关的所有文件(包括 web.config)都位于工具栏文件夹中。
When i try to open my Default.aspx page on remote server i get the following error
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
how to resolve the above error.what should be the authentication mode. I have placed my website inside C:\inetpub\wwwroot\toolbar and all the files related to my website including web.config are inside the toolbar folder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案是这里,通过快速谷歌搜索找到..
我想这将解决您的错误:
The solution is here, found by fast Googling..
I assume this will solve your error: