经典ASP应用程序问题

编程入门 行业动态 更新时间:2024-10-26 10:33:40
本文介绍了经典ASP应用程序问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我在运行经典的asp应用程序时遇到了问题。 我收到异常消息使用注册为allowDefinition ='MachineToApplication'的部分超出应用程序级别是错误的。这个错误可能是由虚拟引起的目录未被配置为IIS中的应用程序。 我的项目包含一个根级别的web.config文件和另一个子文件夹中的web.config。我在子文件夹部分下的web.config中遇到此错误。我使用的是Visual Studio 2008,系统操作系统是Windows 7和IIS7 请帮帮我。

Hi all, I am facing an issue while running classic asp application. I am getting exception message as "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". My project contains one web.config file in root level and another web.config in sub folder. I am facing this error in web.config under sub folder section. I am using Visual studio 2008, System OS is Windows 7 and IIS7 Please help me.

推荐答案

为什么在经典ASP应用程序中使用web.config文件?无论如何,您不能将web.config文件放在子文件夹中,您需要将子文件夹设为虚拟目录,以便它作为自己的应用程序运行。 Why are you using web.config files in a classic ASP application? Regardless, you can't put web.config files in sub folders, you need to make your sub-folder a Virtual Directory so it runs as its own app.

更多推荐

经典ASP应用程序问题

本文发布于:2023-11-12 03:33:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580389.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   经典   ASP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!