ASP page won't display without port number

T

tranzpupy

Hi, Everybody,

My ASP site will only display with a port number in the url.

How do I make IIS display it without the port number??

I've created a web site in VS 2005 called webapp1 with one
default.aspx. When I run it in VS 2005 it displays correctly in IE6,
but has the port number in the url:
http://localhost:1481/webApp1/default.aspx

if I type http://localhost/webApp1/default.aspx, without running VS
2005, I get a "Server Application Unavailable"

If I type the url with the port number, it displays correctly.

The IIS log is un-useful:

04:28:13 127.0.0.1 GET /webApp1/default.aspx 500
05:07:14 127.0.0.1 GET /webApp1/ 403
05:07:26 127.0.0.1 GET /webApp1/default.aspx 500

Looks to me like the ASP server is only working through VS 2005.
Or VS 2005 is serving... I don't know.

I'm running Win XP Pro SP2, IIS 5.1, VS 2005, .Net 2.0.

asp_state.exe is running, framework 2.050727

Other bad things that may or may not give you a hint about what to tell
me: I can't create a web site in VS 2003 anymore... the default
webApplication1 says it can't oppen or create, and if I try another
directory it doesn't enable the ok button.

Please help!

Thanks in advance,

Kay
 
T

tranzpupy

Hi, Leon!

Thanks for responding so promptly.

Leon said:
You are using the Visual Studio ASP.NET test environment which is loaded on
demand and only runs locally on a non-standard port.

Ah! Thanks for clearing up that confusion.
If you want to use your app properly, publish it to IIS. You can install IIS
using the 'Add / Remove Windows Components' app from 'Add / Remove Programs'.

I already have IIS installed and working. It serves front page
extensions fine, finding the #include files and #including them. <grin>

It still won't serve aspx pages... even when the virtual directory is
set.

Any more help?

Thanks,

Kay
 
T

tranzpupy

Hi, Leon,


Leon said:
Make sure .NET is registered with IIS
Yes.

(http://msdn2.microsoft.com/en-us/library/k6h9cz8h(vs.80).aspx - use
aspnet_regiis -i) and that the ASP.NET tab setting for the virtual directory
is set to the correct version

Yes. Still not working. <sad smile> Still gettting the same "server
application error."

Perhaps it's time to uninstall and reinstall net framework 1.1 and
2.0???
Do I need to uninstall net framework 1.1 and 2.0 before re-installing??

Thanks again,

Kay
 
T

tranzpupy

Hi, Leon,

First of all, thanks for the help.

It's working.

Zone Alarm was the culprit. :(
Weird thing is, even though the settings are correct, if Zone Alarm
starts on bootup, I can't display the pages. If I shut down ZA and
restart it after opening my asp pages, I can display pages even while
it's working.

I guess I'll figure that one out later.

Thanks again for the help.

Kay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top