Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS Setup - Cannot view default asp page

Status
Not open for further replies.

MCSGraham

Programmer
May 28, 2002
52
US
Sorry but I'm new to this and have tried everything I can think of to get this to work...

I'm running IIS 5.0 on a W2K server. I named my default website "INTRANET" and it is started. I put a default.asp file in c:\Inetpub\ folder. I'm trying to first pull that asp file up and I've tried using: and Neither of these brings up anything -- they only give me an error page of: HTTP 404 Not Found. I also tried and but always get the same error page.

I noticed that all the asp files are not associated with a program, just blank icons, so not sure if this has something to do with it -- maybe the server doesn't recognize the files as asp or something?

Is there anything else I can try or check on to be able to pull up asp files?

If I could just bring up my default page that'd be great.

Any help would be greatly appreciated thanks
 
The ASP file type doesn't need to be assigned with a program. It doens't matter for files that you are serving out over IIS. It sounds like you problem is that the place you put the default.asp isn't the same folder that IIS is looking at for the site location.

I'm doing this from memory so I might be slightly off.

Open the IIS manager.
Open the server.
Right click on the site, click properties.
There should be a home directories tab, or something of that sort. Select that tab.
There should be a folder listed here. This is where the files need to be placed for your web site. Also on one of those tabs will be a place to put the default files. You will want to make sure to put default.asp in there. I believe that it is not in there by default.

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
 
In the default web site right click on it go to properties
home directory should be
c:\inetpub\
Go into the IIS and find the page localstart.asp
and just double click this.

see if the "default page starts"

Now for your page you should see the page....default.asp

click on that.

Now if you want that to be the first page then go to
Documents......and add your page here...

It will only be if you have set up a virtual directory ....lets say

C:\INTRANET....right click this and do ....properties..
Web Sharing ...now Share this Folder...and put in words
INTRANET

Now you can do
Your see a virtual directory in your IIS.

Our site is also called intranet.........so i help you..more

if need it
 
I was able to change a couple settings in the IIS manager and take off some of the authentication and I can now access my pages from my own computer on the network by typing in that server's IP address. If I use the IP address of the server (it's running IIS) then my default page comes right up.

thanks for all the help!
 
hi
when i deploy my aplication and run it on another computer i only see the code for the aspx page and not the aspx page itself. PLS HELP?

DANIEL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top