Runnig中的错误1在ASP.net4中的解决方案 [英] Error 1 in runnig the solution in ASP.net4

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

问题描述

嗨.
我已经设计了一个ASP.net4表单,当我想运行解决方案并访问我的
时 在浏览器中显示此消息:

错误1使用超出应用程序级别注册为allowDefinition =''MachineToApplication''的节是错误的.此错误可能是由于未在IIS中将虚拟目录配置为应用程序引起的.

hi.
i have designed a form a ASP.net4 and when i want to run the solution and visit my
form in the browser this message is shown :

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

推荐答案

Hello,

正如您所提到的,ASP.Net 4.0出现此错误,我假设您使用的是VS2010.请通过以下链接解决您的问题.

http://stackoverflow.com/questions/2355947/error-allowdefinition-machinetoapplication-beyond-应用程序级别 [ ^ ]

http://www.sellsbrothers.com/posts/details/12673 [
Hello,

As you have mentioned this error is occuring with ASP.Net 4.0, I am assuming that you are using VS2010. Please go through following link to get your issue resolved.

http://stackoverflow.com/questions/2355947/error-allowdefinition-machinetoapplication-beyond-application-level[^]

http://www.sellsbrothers.com/posts/details/12673[^]


这篇关于Runnig中的错误1在ASP.net4中的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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