如何获得在 IIS 7.0 下运行的经典 asp 应用程序的指南 [英] How to guide for getting a classic asp application working under IIS 7.0

查看:19
本文介绍了如何获得在 IIS 7.0 下运行的经典 asp 应用程序的指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个简单的分步操作方法"指南,以获取在 IIS 7.0 下运行的经典 asp 应用程序.

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 代码移至 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 位应用程序 设置为 True.

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功能"页面,然后展开调试属性 节点.将 Send Errors To Browser 设置为 True.

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 中配置它设置功能"页面(与以上).该设置在Behaviour 节点并命名为启用父路径.默认设置是False 与 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 to use Application Pool Identities for both the Application Pool and site Anonymous account: Application Pool Identities

这篇关于如何获得在 IIS 7.0 下运行的经典 asp 应用程序的指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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