PDA

View Full Version : Elementary problem in ASP...plz help..im a newbie


shivboy
11-05-2002, 10:11 AM
hi,
im new to ASP. so i dont know much about it. i have a very elementary problem. i cannot test my ASP pages on my comp. initially i didnt know what was wrong, until i found out that there is a need to configure IIS. i have IIS 4.0 with WinXP Professional. but i dont know how to configure it. can anybody plz tell me how to go about it? any help would be appreciated.

thanx,
shivboy

Mhtml
11-05-2002, 10:31 AM
Are you just double clicking the pages to open them?

shivboy
11-05-2002, 01:34 PM
no Mhtml,
im not double clicking those pages, i simply open them from my browser. is it wrong to do it that way?

shivboy

Spudhead
11-05-2002, 04:10 PM
Depends how you're opening them :) If you're doing File->Open then the ASP parser doesn't get to "see" the page - and won't do any of the ASP code.

Are you going to something like:

http://localhost/myFile.asp

??

shivboy
11-05-2002, 07:34 PM
hi spudhead,

yeah i try opening the asp file the way u mentioned. but it neer opens the file. so much so even my Visual Interdev while starting off a new project asks for a server name but it NEVER recognises http://localhost. can u help me with this?

scroots
11-05-2002, 09:48 PM
try http://127.01.01/
or http://127.01.01/pagename.asp
that tends to work for me and most people.

scroots

Roy Sinclair
11-05-2002, 10:38 PM
Visual Studio is unlikely to be able to edit pages via the URL unless you've also installed the Front Page Server Entensions.

Mhtml
11-06-2002, 05:57 AM
I can't use http://localhost or the computer name or whatever I have specified in the hosts.sam file on my computer, I can only access my site via the http://127.0.0.1 which is rather annoying and I could not find anything on this problem so if this i the case I don't think you can get around it.

shivboy
11-06-2002, 06:25 AM
thanx guys,

but i guess its not gonna help. thanx for trying though