如何引导获取一个传统的ASP应用程序IIS 7.0下工作 [英] How to guide for getting a classic asp application working under IIS 7.0
问题描述
我要寻找一个很好的简单的一步一步如何指南得到一个传统的ASP应用程序IIS 7.0下工作。
I am looking for a nice easy step by step "How To" guide for getting a classic asp application working under IIS 7.0.
这是一个64位Windows Server 2008机器上,如果有什么差别。
It is on a 64 bit windows server 2008 machine if that makes any difference.
推荐答案
我们已经把一些经典的ASP code至64位Windows 2008。这里有一些事情我们做或沿途发现的:
We've been moving some Classic ASP code to 64 bit Windows 2008. Here are some things we did or discovered along the way:
-
通过托管应用程序启动关闭
在经典管道模式
应用程序池。一旦事情都运行得很好,你可以切换到综合模式,你应该需要利用它提供在日后的功能。
Start off by hosting the application in a 'Classic' pipeline mode application pool. Once things are running just fine you can switch to 'Integrated Mode' should you need to leverage the features it offers at a later date.
如果你的ASP应用程序消耗任何
32位第三方或内部
组件,您将需要配置
应用程序池在32位运行
模式。 32位的DLL不会加载到64位进程。您可以在此配置
一个应用程序池的高级设置。设置启用32位应用程序
到真
。
If your ASP application consumes any
32 bit third party or in-house
components you will need to configure the
application pool to run in 32 bit
mode. 32 bit DLL's won't load into a 64 bit process. You can configure this in the
Advanced Settings of an application pool. Set Enable 32-Bit Applications
to True
.
要强制详细的错误报告通过
经典ASP,打开ASP功能页面的网站,然后展开调试属性
节点。设置将错误发送到浏览器
到真
。
To force detailed error reporting by
Classic ASP, open the ASP 'feature' page for the website then expand the
Debugging Properties
node. Set Send Errors To Browser
to True
.
如果您的应用程序使用父路径
你需要在ASP配置此
设置功能页面(同一个作为
以上)。该设置是根据行为
节点,并命名为启用父路径
。默认设置为假
就像用IIS6。
If your application uses parent paths
you'll need to configure this in the ASP
settings 'feature' page (same one as
above). The setting is under the
Behaviour
node and is named
Enable Parent Paths
. The default setting is
False
just as with IIS6.
默认匿名帐户在IIS7
被称为 IUSR
。您可以更改此
通过打开验证
设置功能页面,网站和编辑
在匿名身份验证
设置。
The default anonymous account in IIS7
is called IUSR
. You can change this
by opening the Authentication
settings 'feature' page for the website and editing
the Anonymous Authentication
setting.
preFER使用应用程序池标识为应用程序池与本站匿名帐户:的应用程序池标识
Prefer to use Application Pool Identities for both the Application Pool and site Anonymous account: Application Pool Identities
这篇关于如何引导获取一个传统的ASP应用程序IIS 7.0下工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!