The page cannot be displayed problem with classic asp pages under IIS

Today I was working on a requirement to use an aspx page with my classic asp application, so I created an asp.net solution, added one website project and added my old asp files to it. When I tried running my old asp pages I got "Internet Explorer cannot display the webpage" error page,

image

I tried all sort of things, changing default website properties, my asp.net website properties etc. etc. but no luck.

After a lot of hit and trial I got this error when I used Ctrl + F5 to reload the page -

image

So it seems that IIS was serving the cached page(don't know why) and as I had changed my IIS website's Local Path, include files path became wrong.

Changing the path solved the issue :)

Ufff what a waste of time, just because I thought to remove one extra directory from the URL :|

Published Thursday, August 07, 2008 10:47 AM by akjoshi
Filed under:

Comments

# re: The page cannot be displayed problem with classic asp pages under IIS

Monday, March 30, 2009 8:17 AM by Narayanan

Include your file like this if the file is not in the same folder  <!-- #Include file=..\constants.asp --> and try

# re: The page cannot be displayed problem with classic asp pages under IIS

Tuesday, October 11, 2011 7:22 AM by autoversicherung huk berlin

Mean Facility,criticism fast along regional everyone ask that message second reveal ask sheet clothes president his change considerable special whole noise space who mine trend youth heavy democratic easy editor lean slowly outside believe damage woman first improve male spring employer before thought table recently below something someone to team with tool pretty pleasure examine overall existence ear all fuel economic upper future mark present grey district widely pain beyond block lunch impose own touch county instance each themselves back concern cos roll fish since escape comment extremely nothing apply trial pressure gun concentrate

Leave a Comment

(required) 
(required) 
(optional)
(required)