IIS6.0中的ASP.NET应用程序配置 [英] Asp.net application configuration in IIS6.0

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

问题描述


我在执行应用程序时出现错误,如何解决它,请给我详细的步骤.错误是

构建(网络):使用超出应用程序级别注册为allowDefinition =''MachineToApplication''的部分是错误的.此错误可能是由于未在IIS中将虚拟目录配置为应用程序引起的.

Hi ,
i am getting an error while executing my application how to resolve it please give me detailed steps. The error is

Build (web): 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.

推荐答案

您需要将虚拟目录转换为应用程序,如错误消息所述.

检查这些:

虚拟目录未在IIS中配置为应用程序 [ virtual-directory-not-被配置为iis中的应用程序 [
you need to convert you virtual directory as an application as the error message says.

check these out:

Virtual directory not being configured as an application in IIS[^]

virtual-directory-not-being-configured-as-an-application-in-iis[^]

hope it helps :)




目录中可能存在1.多个配置文件(web.config),或者
2.您的项目目录结构不正确.
Hi,

There may be 1. multiple configuration files (web.config) available in your directory, or
2. You project directory structure is incorrect.


关于部署的很好的文章,请参考此
在IIS上部署网站 [ ^ ]
A very good article on deployment, refer this
Deployment of a Website on IIS[^]


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

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