Click to See Complete Forum and Search --> : Need some help installing IIS


dimarsmulders
03-09-2006, 04:17 AM
Hello everyone,

I'm trying to put a site on IIS on a microsoft windows server 2003, but i'm running into a problem.

If i make a new folder (under "servername/websites/default web site" )containing test.asp (containing <%Response.Write Now()%> ) My browser cannot find it.
when i put htm-files in the folder it does work.

Is there an option to "turn on" ASP or something? I'm really new at this, so any help would be greatly appreciated.

Thanks in advance!
Dimar

coding2006
03-09-2006, 11:41 AM
instead of test.asp, name your file default.asp

JayM
03-09-2006, 11:49 AM
instead of test.asp, name your file default.asp

That shouldn't make a difference. He/She is placing the file in the wrong place.

If you've installed IIS correctly, type http://localhost/ in your browser. If IIS is installed correctly, you should get the following message:



Your Web service is now running.
You do not currently have a default Web page established for your users. Any users attempting to connect to your Web site from another machine are currently receiving an Under Construction page. Your Web server lists the following files as possible default Web pages: default.htm,default.asp,index.htm,iisstart.asp. Currently, only iisstart.asp exists.

To add documents to your default Web site, save files in c:\inetpub\wwwroot\.



Notice at the end of the message, it says to add documents you have to save your files in c:\Inetpub\wwwroot\.

Look for that folder on your computer under C:\. Save your test.asp file in wwwroot folder. Now, to access the file, type the following into your browser:

http://localhost/test.asp

The file should then open.

Cheers :)

coding2006
03-09-2006, 12:02 PM
ah! didnt realize he wasnt using localhost.

dimarsmulders
03-10-2006, 05:59 AM
Nope, that's not my problem, I already did all those things (and indeed, that page comes up) and if i place .htm files in the C:/inetpub/wwwroot/ folder it all works.
When i put any (default or any other name) in the same folder, it doesn't work.

So in the same folder a htm-file will work, but an asp-file won't work

Would you happen to have any other ideas what this might be?

Thanks again!
Dimar

dimarsmulders
03-10-2006, 10:13 AM
I resolved it! I had to 'turn on' ASP..

thanks for the help anyway