将 Classic ASP 从 Windows 服务器 2003 迁移到 2008 R2

Migrating Classic ASP from Windows server 2003 to 2008 R2

有人要求我研究将 ASP 应用程序从 Windows 2003 迁移到 Windows Server 2008 R2 的可行性。

Old setup:

ASP Classic Hosted on: Windows Server 2003 DB: SQL Server 2000

Proposed new setup:

ASP Classic Hosted on: Windows Server 2008 R2 IIS: 7 DB: SQL Server 2008

理想情况下,应在 ASP.NET 中重新编写应用程序,但公司目前没有这方面的预算。

问题

Would it be possible to host Classic ASP built on Windows 2003 w/ IIS 6 on a Windows 2008 R2 w/ IIS 7.5 environment?

Classic ASP 可以在 Windows 2008 和 2012 上托管。从 IIS 7 开始,Classic ASP 默认不再启用。看到这个 article

如何在 Windows 2008

中启用经典 ASP 模块
  1. 单击“开始”,指向“管理工具”,然后单击“服务器” 经理。
  2. 在服务器管理器层次结构窗格中,展开角色,然后 然后单击 Web 服务器 (IIS)。
  3. 在“Web 服务器 (IIS)”窗格中,滚动到“角色服务”部分,然后单击“添加角色服务”。
  4. 在添加角色服务向导的 Select 角色服务页面上,select ASP.

What steps can be taken to successfully migrate the application and database from the old environment to the new environment?

  • 32 位与 64 位组件 - 32 位 dll 在 64 位应用程序池中不起作用。确保您的应用程序池已相应设置。
  • 经典 ASP 使用应用程序池中的 "Classic .NET" 设置
  • 验证您的支持 dll,例如"Persits ASPemail" 在 Windows 2008 R2 中工作。在某些情况下,您可能需要升级您的许可证。
  • 查看此 post 以协助 SQL Server 2000 to 2008 迁移。