We help IT Professionals succeed at work.

IIS7 won't display classic asp pages - returns 404 error

Austrian_Des
Austrian_Des asked
on
Hi,

I have a Virtual 2008R2 Datacenter server. I use Plesk to configure websites. This has been working fine with basic html pages. When I upload a classic asp page I get a 404 - Page not found error.

If I look into the INetPub folder I can see my websites in the vhosts sub-folder.

So far I have checked that:

The IUSR_<domain> user has "Read & Execute" rights
In Server Manager under "Roles" I see that under "Application Development" ASP is showing as Installed
The file does exist (!)
So where should I look now please ...

Thanks,

Des

my page is:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
<%="Hello World"%>
</body>
</html>

Open in new window

Comment
Watch Question

Wayne BarronAuthor, Web Developer
Top Expert 2009

Commented:
See if this will help you out
http://www.experts-exchange.com/A_3730.html

Carrzkiss
Hi,

Thanks for your suggestion but having followed it through carefully nothing helped.

After searching elsewhere I found a thread about resetting Handler Mappings.

For anyone else reading this, I went to IIS, clicked on my website. in "Features View" I double clicked on Handler Mappings" and in the righthand "Actions" pane chose "Revert To Parent".

For good measure I restarted IIS and then everything worked!

I don't know what the problem was or what clicking this button did (although the Handler Mapping screen now has loads more mappings than before) SO PLEASE DON'T just follow this blindly unless you don't mind breaking something on your machine ... It worked for me but might not for you!

Des

Author

Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for Austrian_Des's comment http:/Q_27286764.html#36467579

for the following reason:

Hope this helps someone else!

Author

Commented:
Not quite sure how to handle this one ... The guy did make a suggestion, and that action was helpful although the link proved not to solve MY problem.

I fixed the problem myself and as this hasn't happened before I just tried to close the question. If I did it wrong I'm sorry :-(

Also. I didn't just want to delete the question as someone else may have the same issue ...

Author

Commented:
Not quite sure how to handle this one ... The guy did make a suggestion, and that action was helpful although the link proved not to solve MY problem.

I fixed the problem myself and as this hasn't happened before I just tried to close the question. If I did it wrong I'm sorry :-(

Also. I didn't just want to delete the question as someone else may have the same issue ...

Author

Commented:
Thanks for reading this, hope it helps someone!