Cannot Display .asp or .aspx pages in IIS6

Posted on 2007-10-03
Last Modified: 2008-03-31

We are having problems getting IIS on Windows Server 2003 SP2 to display any asp or aspx pages.  The site will serve up html fine, but anything with an asp or aspx extension returns the following message in Internet Explorer:

Internet Explorer cannot display the webpage
   Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
   What you can try:
     Check your Internet connection. Try visiting another website to make sure you are connected.  
     Retype the address.  
     Go back to the previous page.
     More information
This problem can be caused by a variety of issues, including:
Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

I have disabled friendly error messages in Internet Explorer and the IIS Debugging is set to show detailed asp errors, but this is all we get.

There is no issue with connectivity, as I can get the html pages and it is all running locally anyway.

The server is set to allow all Web Service Extensions (disabling the ASP or ASP.NET ones gives different page not found errors).

The Execute Permissions are set to "Scripts and Executables".

Is there anything else that should be enabled?  What else can we check to find the problem?  Let me know what other information would be useful.

Any help much appreciated.

Thanks in advance.
Question by:purplesoup
    LVL 6

    Expert Comment

    Go into the properties of your website in IIS, and on the Home Directory tab click on the Configuration button towards the bottom. Check the path to the executable for .ASP and .ASPX pages and make sure that they are valid paths to your directory. I've seen all too many times where the extensions are set to something like C:\WINNT\System32\.... when the path to Windows is actually C:\WINDOWS\System32\...
    LVL 2

    Accepted Solution

    try to remove IIS from Control Panel / Add and Remove Software / Add Windows Components. Restart and try to add again the IIS.

    Also I would recommend to download .NET Framework 2.0, it would probably fix something wrong during the installation. I hope this helps, Gustavo.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Title # Comments Views Activity
    Web site is not accessible. 15 22
    Windows 2012R2 SMTP service slow queue 14 30
    DNS issue 24 70
    smtp server IIS 6 9 33
    Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
    First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) ( is a much better solution when you need to p…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now