Iis问题在子目录中 [英] Iis issue in sub directory

查看:71
本文介绍了Iis问题在子目录中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我们托管了一个在VS4.0中运行的应用程序。我们需要在与虚拟目录相同的IIS中托管另一个应用程序。网站正在VS2.0中运行。虽然我们浏览了第二个应用程序,但我们收到的错误是Target Framework 4.0。



配置文件来自父网站。



我的尝试:



我们试图放置位置标签inheritInChildApplications =false。但它不工作。请帮助解决问题。我们需要在同一目录中托管应用程序。

Dear All,

We hosted an application running in VS4.0.We need to host another application in the same IIS as a virtual directory.The sub web site is running in VS2.0.While we browse the second Application we are getting an error as Target Framework 4.0.

The config file taking is from the parent site.

What I have tried:

We tried to put Location tag inheritInChildApplications="false".But its not working.Please help to resolve the issue.We need to host the application in the same directory itself.

推荐答案

你的2.0目录需要拥有自己的应用程序池,并且该池应设置为.Net 2.0。
Your 2.0 directory needs to have it's own Application Pool and that pool should be set to .Net 2.0.


这篇关于Iis问题在子目录中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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