在IIS上部署我的Web应用程序项目 [英] Deploying my web application project on IIS

查看:234
本文介绍了在IIS上部署我的Web应用程序项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我的应用程序BLL,GUI和DAL中有3个文件夹. web.config文件位于GUI中.
我已经在IIS上创建了一个虚拟目录,并尝试像http://localhost/SMS/GUI/LoginPage.aspx一样从浏览器打开页面,但是它给出了以下错误

使用注册为allowDefinition =的部分是错误的MachineToApplication"超出了应用程序级别.此错误可能是由于未在IIS中将虚拟目录配置为应用程序引起的.
请帮助我

解决方案

早上好

http://www. shabdar.org/asp-net/74-virtual-directory-not-being-configured-as-an-application-in-iis.html [ http://msdn.microsoft.com/en-us/library/zwk103ab.aspx [ ^ ]
http://forums.iis.net/p/1157578/1903531.aspx#1903531 [ ^ ]
http://stackoverflow.com/questions/1938730/virtual-directory-not-being-be-configured-as-an-application-in-iis [如何在IIS中部署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. Please help me

解决方案

Good morning

http://www.shabdar.org/asp-net/74-virtual-directory-not-being-configured-as-an-application-in-iis.html[^]


http://msdn.microsoft.com/en-us/library/zwk103ab.aspx[^]
http://forums.iis.net/p/1157578/1903531.aspx#1903531[^]
http://stackoverflow.com/questions/1938730/virtual-directory-not-being-configured-as-an-application-in-iis[^]


Try to check the web.config file is in correct format . for more details see the article by shashikanth How To Deploy a Web App in IIS[^]


这篇关于在IIS上部署我的Web应用程序项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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