初学者遇到这样的问题
Server Error in '/' Application.
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.
Source Error:
Line 49: ASP.NET to identify an incoming user.
Line 50: -->
Line 51: <authentication mode="Windows" />
Line 52: <!--
Line 53: The <customErrors> section enables configuration
解决方案:webservice放到iis的直接虚拟目录下就ok了。
本文介绍了一个常见的服务器配置问题,即在处理配置文件时出现错误,具体表现为不允许在应用级别之外使用某些设置。文章提供了具体的错误信息及源代码行号,并给出了解决方案:将WebService放置在IIS的直接虚拟目录下。
528

被折叠的 条评论
为什么被折叠?



