配置错误 [英] Configuration error

查看:198
本文介绍了配置错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

配置错误
描述:在处理为此请求提供服务所需的配置文件时发生错误。请查看下面的具体错误详细信息,并相应地修改您的配置文件。

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.

解析器错误消息:在应用程序级别之外使用注册为allowDefinition ='MachineToApplication'的段是错误的。此错误可能是由于虚拟目录未在IIS中配置为应用程序引起的。

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 24:             ASP.NET to identify an incoming user. 
Line 25:         -->
Line 26:        <authentication mode="Windows"/>
Line 27:     
Line 28:        <!--


推荐答案

ASP.NET引擎正在建议解决这个问题,它是这个错误的最常见的原因:

The ASP.NET engine is suggesting a solution to this problem and it is the most common cause for this error:

-in(Inetmgr.msc),右键单击您的网站,转到属性对话框,在虚拟目录选项卡上的应用程序设置下,单击创建为该网络应用程序创建应用程序。

In the IIS Snap-in (Inetmgr.msc), right click your website, go to the properties dialog and on the Virtual directory tab, under "Application Settings", click "Create" to create an application for the web app.

这篇关于配置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆