Migrating classic asp web site to IIS 10 from IIS 6.0 - iis

I am trying to migrate a classic asp web site to IIS 10 from IIS 6.0. 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. In the older version of IIS, I don't have type drop down, I only have executable where I typed
%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. My web site is giving an error " 404 - File or directory not found.". This web site is working perfectly on IIS 6.0

As andrew say's you should make sure you have installed the asp module for your IIS. More details about how to install the classic asp in the window10 or windows server, you could refer to below steps:
1.Install the classic asp in the windows server:
1.On the taskbar, click Server Manager.
2.In Server Manager, click the Manage menu, and then click Add Roles and Features.
3.In the Add Roles and Features wizard, click Next. 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.
5.On the Server Roles page, select ASP.
6.If the Add features that are required by ASP? dialog box appears, click Add Features. (This page appears only if you have not already installed ISAPI Extensions on your server.)
7.On the Server Roles page, ASP and ISAPI Extensions should be selected. Click Next.
8.Then you could click the next and install to complete the installing
For the windows 10 application:
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.
2.In Control Panel, click Programs and Features, and then click Turn Windows features on or off.
3.Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, and then select ASP.
4.Click OK to wait for installing.
Details, you could refer to this article.

Related

Unable to open the Web site 'http://localhost/XYZ'. Some of the properties associated with the solution could not be read

I copied a web application to my local development machine. When I open the solution in Visual Studio 2019, I get the following error:
Unable to open the Web site 'http://localhost/XYZ'. The Web site 'http://localhost/XYZ' does not
exist. Some of the properties associated with the solution could not be read.
I found this similar question and answer:
The Web site {site name} does not exist
But the directory that is indicated in the error message is different. My error is specifically targeting "http://localhost/...". I've been developing with Visual Studio for several years and I've worked with IIS a little - configuring application pools and converting directories to websites - but that's about it. Any idea what I'm missing here?
You can try the following steps to solve your problem:
Click Start, and then click Control Panel.
Click Programs and Features.
Click Turn Windows features on or off.
In the dialog box, expand Internet Information Services.
Expand Web Management Tools, and then expand IIS 6 Management
Compatibility.
Click to select the IIS Metabase and IIS 6 configuration
compatibility check box, and then click OK.

IIS - Windows Server 2012 - IP Address and Domain Restrictions

I'm having a hard time trying to find where it is located the IIS Security features in Windows Server 2012.
The common steps :
1.Open the Control Panel
2.Search for Programs and Features
3.Select Turn Windows Features on or off
4.Expand the IIS node
5.World Wide Web Services > Security and enable IP Security.
However, these steps are not valid for Windows server 2012.
Where is it located Security/IP Address and Domain Restrictions feature ?
Ok, I got it, the steps are:
1. Open the Control Panel
2. Search for Programs and Features
3. Select Turn Windows Features on or off
4. A wizard is displayed. Click Next until you get to "Server Roles" option at left side.
5. Select and expand Web Server (IIS) .
6. Select and expand Web Server.
7. Select and expand Security.
8. Check IP and Domain Restrictions.
I hope it helps.

Where is IIS on Windows Server 2012 Essentials

I just got Windows Server 2012 Essentials installed and I would like to set up my dev web projects in IIS on the server. But I can't seem to find how to get to it? When I remote to the machine with my admin account all I seem to have access to is the dashboard.
Can anyone tell me what to do?
Essentials comes with IIS preinstalled, so unless you uninstalled it for some reason, its there already.
I'm assuming you want to get to the IIS 8 admin tool.
In order to get there
press the start button (on your keyboard)
click on the Administrative Tools tile
From there scroll down to IIS Manager and double click
OR
Hold down the windows key and press the R key (win+r)
then type in inetmgr
Apparently is not that simple on ws2012 as I thought, please try following this guide:
http://www.iis.net/learn/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012
I don't think it's whether he has it installed or not, it's that they changed how you GET to it. IIS manager USED to be accessible from Server Manager, but it is no longer so. In 2008 (and earlier, but I don't have a box readily available) from Server Manager, expand Roles, then Web Server. If you click "web Server" You see a "dashboard", displaying events, Services, Best Practices, Etc. WITHIN that, you can click Internet Information Services (IIS) Manager, and see the sites, and manage and configure the sites on the machine.
In 2012, you can ONLY see that dashboard information, events, service status, best practice, etc. There's no way to navigate into IIS and manage the sites and applications. Up in the top-right corner, the menu "Tools" (Between "Manage" and "View") contains IIS Manager.
I'd LOOOOOVE to see a transcript of the design session where this change was suggested. Mostly just to get the attendance, and then hunt them all down.
Make sure that the IIS Management Console is enabled through via Control Panel -> Programs and Features. From Server Manager, click Add roles and features and follow the prompts.
You can find the inetmgr.exe at the below location:
C:\Windows\System32\inetsrv
Or you can run it from the run window
Win + R -> inetmgr -> Enter

Running ASP Classic on IIS 7.5

I need to do some work on an old ASP Classic site, so I’m trying to host it on my IIS, but when I try load a page I get:
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.
When I follow the link, it takes me to a Microsoft site and talks about running ASP Classic on IIS 7, but none of the pages help and nothing I found on Google will get it to work. I have all the elements under turn Windows features on and off - IIS - WWW services - app dev features.
This was bugging me earlier today and it turned out I had an error in my script.
This assumes you have installed the ASP/ISAPI extensions via the Control Panel's "Add/Remove Windows Features."
By default, errors will not be sent to the browser. To enable sending errors to the browser, go to the site in your IIS manager. Double click the ASP icon and expand "Debugging Properties." Set "Send Errors to Browser" to True.
I had this same problem and it turns out you need to set application pool to classic .net for it to work.

Windows 7 IIS7.5 and asp application Error HTTP 404.0 - Not Found

I have a Classic ASP aplication and now I installed that on my new PC with Windows7 64bit and IIS 7.5. The problem is that when the app tries to open de dabase, I have this error:
Error HTTP 404.0 - Not Found
I tried to open the database from this path and it works correctly. The fact is that I have my asp aplicacion on inetpub\wwwroot directory, but the access database is on C:\ProgramData\MyApp\bbdd.mdb it would be something with permisions? I added a IUSR_XXX user but it is not working too
any help or clue?
thanks in advance
In IIS 7.0 and 7.5, the classic version of ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to browse to an ASP page on your server, or you might see the source code for your ASP page displayed in your browser window.
Both of these error conditions are created when configuration settings that are used to define the environment for classic ASP are not installed.
Click Start, and then click Control Panel.
In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
Expand Internet Information Services, then World Wide Web Services, then Application Development Features.
Select ASP, and then click OK.
Classic ASP Not Installed by Default on IIS 7.0 and IIS 7.5

Resources