错误:allowDefinition的='MachineToApplication“超越应用水平 [英] Error: allowDefinition='MachineToApplication' beyond application level

查看:139
本文介绍了错误:allowDefinition的='MachineToApplication“超越应用水平的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载在ASP.Net的在线项目。同时运行的应用程序我得到一个错误

I have downloaded the online project in ASP.Net. While running application I get an error

这是使用注册为allowDefinition =应用程序级别之外'MachineToApplication'的节是错误的。这个错误可以通过未被配置为在IIS中应用程序的虚拟目录引起的。

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中或其他地方,使这项工作?

What changes should i make in web.config or elsewhere to make this work?

推荐答案

我刚刚遇到过这种快乐。它似乎present本身我已经发表在释放模式的Web应用程序之后。

I've just encountered this "delight". It seems to present itself just after I've published a web application in release mode.

要始终如一地避开,我已经找到了问题的唯一方法是按照这个清单:

The only way to consistently get round the issue that I've found is to follow this checklist:


    而您的解决方案
  1. 清洁液配置为在释放模式。

  2. ,而您的解决方案干净的解决方案被配置在调试模式下。

  3. 构建,而您的解决方案是在调试模式下配置。

这篇关于错误:allowDefinition的='MachineToApplication“超越应用水平的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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