Configuration Error配置错误 解决方案

  • Post author:
  • Post category:其他


Configuration Error配置错误 解决方案

2011年10月12日

(2010-10-15 02:34:15)

转载

问题:Configuration Error[b]Description:[/b] 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.

[b]Parser Error Message:[/b] 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.

翻译:

配置错误

说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。

分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition= ‘MachineToApplication ‘ 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。

解决方法:

第一种可能:没有设置虚拟目录,解决方法:在IIS中选择目标文件夹,右键,属性,在应用程序选项中点创建。

第二种可能:原来我打开的那个网站的文件夹下面还有一个文件夹,也就是说应该打开网站的所在的文件夹,不要打开包含装网站的文件夹的文件夹。



版权声明:本文为iteye_13236原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。