我在构建asp.net应用程序时遇到问题 [英] i have a problem in building asp.net app

查看:113
本文介绍了我在构建asp.net应用程序时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Error 2 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.

推荐答案



您是否在应用程序中使用了多个web.config?如果是,则请删除"defaultProvider = ..."属性或子级web.config中的部分.

希望这会有所帮助!


谢谢,
Virendra Dugar

Hope this helps!!!


Thanks,
Virendra Dugar 


这篇关于我在构建asp.net应用程序时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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