?
Solved

ASP Page not rendering on IIS7 on windows server 2008

Posted on 2014-09-10
8
Medium Priority
?
532 Views
Last Modified: 2014-11-01
Hi I have shifted my website to windows 2008,there I am using IIS7.My all code working there except .asp page.I am attaching screenshot,please have a look and let me know how to fix this.
0
Comment
Question by:Sudhanshum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 

Author Comment

by:Sudhanshum
ID: 40314182
Here is attachment.Asp Page error
0
 
LVL 19

Expert Comment

by:Rikin Shah
ID: 40314190
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 40314192
You need to turn on asp

Click Start, point to Administrative Tools, and then click Server Manager.

In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).

In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services.
On the Select Role Services page of the Add Role Services Wizard, select ASP.

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

Author Comment

by:Sudhanshum
ID: 40314231
I checked your link and gone same place But i found it seems added,See attached image.ASP
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 40314311
NET Framework 4.0 is installed it is not "Enabled" by default in IIS 7, you have to "allow" it in IIS 7 manager, click on your server name, not the website that is not displaying the page, in my case the ISAPI and CGI Restriction icon only appears there. Open up ISAP and CGI restrictions and enable both entries for .NET Framework 4.0.
http://forums.iis.net/t/1190786.aspx?Error+404+2+ISAPI+and+CGI+list+settings+restrictions+list+settings+on+Web+Server
0
 
LVL 6

Accepted Solution

by:
worthyking1 earned 2000 total points
ID: 40317752
You need to make sure that you have BOTH of the following enabled for Classic ASP (since I assume that is what you are trying to run with a .asp page):

1. ISAPI and CGI Restrictions
2. Handler Mappings

You can enable these at the parent (global) level by clicking on the host name at the very top of your sites tree in IIS, or (for #2 only) enable them for each individual site. If enabling at the parent level make sure you push the same settings to all child sites.

To set each one do the following:

ISAPI and CGI Restrictions
1. Click on host name in IIS tree
2. Scroll to IIS section of main view window and click on "ISAPI and CGI Restrictions"
3. Make sure ASP is there and enabled. If not then click "Add".
4. Enter path to executable: C:\Windows\system32\inetsrv\asp.dll for 64-bit DLL, or C:\Windows\SysWOW64\inetsrv\asp.dll for 32-bit DLL. I would use 64-bit unless you have specific reasons for needing 32-bit support.
5. Enter a name, such as "Active Server Pages"
6. Check the box to allow path execution.

Handler Mappings
1. Click on host name in IIS tree (or individual site)
2. Scroll to IIS section of main view window and click on "Handler Mappings"
3. Make sure support for .asp pages is there and enabled. If not then click "Add Script".
4. Fill out the dialog box, as follows:
RequestPath: *.asp
Executable: C:\Windows\System32\inetsrv\asp.dll (or use the 32-bit dll as mentioned above)
Name: ASPClassic (this can be anything you want)

To propagate the global settings to child sites just click on the site > Handler Mappings > Revert to inherited

Also, if you plan on using ASP pages for you homepage then make sure to add index.asp or default.asp etc. to your Default Document setting for the relevant site. In IIS click on site > IIS > Defaul Document

That should solve your problem.
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 40416969
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question