Forum Moderators: open

Message Too Old, No Replies

Problem getting my ASP to execute

         

teydis

5:07 am on May 30, 2004 (gmt 0)

10+ Year Member


I have a similar question to a poster before who ended up just buying a new web server heh.

I have Windows XP Pro and IIS 5.1. I am an ASP developer and want to start learning ASP.NET and have loaded IIS 5.1. I have stopped and restarted the services, uninstalled and reinstalled and done just about everything I can think of. I am having a right mare.

I have a simple page like

<BODY>
<FONT COLOR=BLUE SIZE=5>
Hello, the time is <% = Time %> in web server land
</FONT>
</BODY>

and it just ends up saying..

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings

Please help heh =/ I remember having a global.asa file when i used win98se and PWS. Is it not needed anymore?

teydis

5:25 am on May 30, 2004 (gmt 0)

10+ Year Member



BTW i can view static (.html etc) files

mattglet

1:22 pm on May 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First off, let's get you (possibly) seeing the correct error message.

Go into your Control Panel, and enter INTERNET OPTIONS.

Click on the ADVANCED tab. About 10-15 options down, you'll see "Show friendly HTTP error messages" and "Show friendly URLs". Uncheck them both, and then report back with a new error message.

-Matt

teydis

2:18 pm on May 30, 2004 (gmt 0)

10+ Year Member



no dice. i still get

Cannot find server or DNS Error
Internet Explorer which is the same thing as before =\

digitalv

3:03 pm on May 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First make a regular .html page with no ASP code and see if it works. If you get the same error, the problem has nothing to do with ASP. If this machine is local, check to make sure that the site is running on "All IP Addresses" WITHOUT host headers and that the directory is set properly. Then try to access it by going to [127.0.0.1....] If that works, put the settings back the way they were one at a time until you find out which one is the problem.

Easy_Coder

4:17 pm on May 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You mentioned in your first thread that you were -->learning ASP.NET

Are you placing this code --><% = Time %> in an .aspx web page or an .asp page? If it's in an .aspx page then that's gonna throw an error.

teydis

7:43 pm on May 30, 2004 (gmt 0)

10+ Year Member



Well, very weird.

Don't know what I did but my ASP code actually works now :¦

Although I forgot the info for my router, everything is great =]