传统的ASP在综合管线运行 [英] Classic ASP running in Integrated Pipeline
问题描述
我移植一个传统的ASP应用程序(我知道,我很幸运),以混合asp.net/asp网站,好像我没有访问Request.Form集合。正如一个测试,我这样做:
I'm migrating a classic asp app (I know, lucky me) to a mixed asp.net/asp site, and it seems like I don't have access to the Request.Form collection. Just as a test, I did this:
for each x in Request.Form
Response.Write("<br>" & x & " = " & Request.Form(x))
next
我得到这样的:
请求对象错误'ASP 0101:80004005'
意外的错误
[我的脚本],XX线
该函数返回|。
如果我从综合管线切换应用程序池为经典的code ++工程,但在传统的模式下运行是不是为.NET应用的选项。有没有在我未来的一个解决方法吗?
If I switch the App Pool from Integrated Pipeline to Classic the code works, but running in classic mode is not an option for the .net app. Is there a workaround in my future?
推荐答案
您可以在这里做的唯一的事情就是为他们关于创造你的ASP经典的网页其他应用程序池,并创建一个新的应用程序(也就是新的虚拟目录)新的应用程序池。
The only thing you can do here is to create another application pool for your asp classic pages and create a new app (aka new virtual directory) for them regarding the new app pool.
正如你不能共享ASP和asp.net之间的任何应用程序或会话范围这不应该是一个问题。
As you can't share any application or session scope between asp and asp.net this shouldn't be a problem.
这篇关于传统的ASP在综合管线运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!