IIS中的网站应用程序配置错误 [英] Web site application configuration in IIS Error

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

问题描述

大家好,
我正在尝试在Visual Studio.Net 2008中打开一个应用程序.
我收到错误提示,因为

错误14使用超出应用程序级别注册为allowDefinition ="MachineToApplication''的节是错误的.

此错误可能是由于未在IIS中将虚拟目录配置为应用程序引起的. C:\ Documents and Settings \ Amul \ Desktop \ AMUL PROJECTS \ ChatApplication \ NotPlannedChat \ WebChatApplication \ Web.config 46

如何将现成的网站应用程序配置为IIS 5.1或6版本?

请帮助

问候
Amul V V Wayangankar

Hi all,
I am trying to open an application in Visual Studio.Net 2008.
I am getting amn error as

Error 14 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. C:\Documents and Settings\Amul\Desktop\AMUL PROJECTS\ChatApplication\NotPlannedChat\WebChatApplication\Web.config 46

How to configure the ready website application to IIS version 5.1 or 6?

Kindly help

Regards
Amul V V Wayangankar

推荐答案

通常,在应用程序根文件夹中有多个Web.Config文件时,会发生这种情况. 只需检查您是否有多个.如果是这样,请删除重复的副本.

阅读此处解决的类似问题: ASP.NET 2.0& "allowDefinition =" MachineToApplication"错误消息 [ http://forums.asp.net/p/769696/769696.aspx [ ^ ]
Generally this happens when you have more than one Web.Config file in your application root folder.
Just check if you have more than one. If so, remove the duplicate copies.

Read a similar issue resolved here:ASP.NET 2.0 & "allowDefinition=''MachineToApplication''" error message[^]

Other useful link that has similar issue discussed: http://forums.asp.net/p/769696/769696.aspx[^]


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

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