简体   繁体   English

将经典的asp网站从IIS 6.0迁移到IIS 10

[英]Migrating classic asp web site to IIS 10 from IIS 6.0

I am trying to migrate a classic asp web site to IIS 10 from IIS 6.0.我正在尝试将经典的 asp 网站从 IIS 6.0 迁移到 IIS 10。 My handler mapping looks like below.我的处理程序映射如下所示。 I want to add classic asp in handler mapping, but don't know what to select for the types drop down.我想在处理程序映射中添加经典的 asp,但不知道为下拉类型选择什么。 In the older version of IIS, I don't have type drop down, I only have executable where I typed在旧版本的 IIS 中,我没有类型下拉菜单,我在输入的地方只有可执行文件

 %windir%\system32\inetsrv\asp.dll

Also, do I need to add anything else like aspq-ISAPI-4.0_64bit in HTTP handlers in order for my classic asp web site to work.另外,我是否需要在 HTTP 处理程序中添加其他任何东西,如 aspq-ISAPI-4.0_64bit 才能使我的经典 asp 网站正常工作。 My web site is giving an error " 404 - File or directory not found.".我的网站出现错误“404 - 找不到文件或目录。”。 This web site is working perfectly on IIS 6.0该网站在 IIS 6.0 上完美运行

在此处输入图像描述

As andrew say's you should make sure you have installed the asp module for your IIS.正如安德鲁所说,你应该确保你已经为你的 IIS 安装了 asp 模块。 More details about how to install the classic asp in the window10 or windows server, you could refer to below steps:关于如何在window10或windows server中安装经典asp的更多详细信息,您可以参考以下步骤:

1.Install the classic asp in the windows server: 1.在windows server中安装经典的asp:

1.On the taskbar, click Server Manager. 1.在任务栏上,单击服务器管理器。

2.In Server Manager, click the Manage menu, and then click Add Roles and Features. 2.在服务器管理器中,单击“管理”菜单,然后单击“添加角色和功能”。

3.In the Add Roles and Features wizard, click Next. 3.在“添加角色和功能”向导中,单击“下一步”。 Select the installation type and click Next.选择安装类型并单击下一步。 Select the destination server and click Next.选择目标服务器并单击下一步。

4.On the Server Roles page, expand Web Server (IIS), expand Web Server, and then expand Application Development. 4.在“服务器角色”页面上,依次展开“Web 服务器 (IIS)”、“Web 服务器”和“应用程序开发”。

5.On the Server Roles page, select ASP. 5.在“服务器角色”页面上,选择“ASP”。

6.If the Add features that are required by ASP? 6.是否添加ASP需要的功能? dialog box appears, click Add Features.出现对话框,单击添加功能。 (This page appears only if you have not already installed ISAPI Extensions on your server.) (仅当您尚未在服务器上安装 ISAPI Extensions 时才会出现此页面。)

7.On the Server Roles page, ASP and ISAPI Extensions should be selected. 7.在服务器角色页面上,应选择 ASP 和 ISAPI 扩展。 Click Next.点击下一步。

8.Then you could click the next and install to complete the installing 8.然后就可以点击next and install完成安装了

For the windows 10 application:对于 Windows 10 应用程序:

1.On the Start screen, move the pointer all the way to the lower left corner, right-click the Start button, and then click Control Panel. 1.在“开始”屏幕上,将指针一直移动到左下角,右键单击“开始”按钮,然后单击“控制面板”。

2.In Control Panel, click Programs and Features, and then click Turn Windows features on or off. 2.在“控制面板”中,单击“程序和功能”,然后单击“打开或关闭 Windows 功能”。

3.Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, and then select ASP. 3.展开 Internet 信息服务,展开万维网服务,展开应用程序开发功能,然后选择 ASP。

4.Click OK to wait for installing. 4.点击确定等待安装。

Details, you could refer to this article .具体可以参考这篇文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM