473,396 Members | 1,780 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP page won't display without port number

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

Jan 3 '07 #1
3 2774
Hi, Leon!

Thanks for responding so promptly.

Leon Mayne wrote:
"tranzpupy" wrote:
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

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

Jan 3 '07 #2
Hi, Leon,
Leon Mayne wrote:
"tranzpupy" wrote:
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.

Make sure .NET is registered with IIS
Yes.
(http://msdn2.microsoft.com/en-us/lib...8h(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

Jan 4 '07 #3
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
Leon Mayne wrote:
"tranzpupy" wrote:
Yes. Still not working. <sad smile Still gettting the same "server
application error."

What is the specific error? If it's a 500 error without any details then
look in the IIS log for the website and see what the error message is.
Anything in the Event log?
Jan 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Paul Robinson | last post by:
I am developing a website in ASP that connects to a Sybase database. However, when I try to open a connection to the database the page will not load. The script does not timeout, nor the...
12
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
179
by: SoloCDM | last post by:
How do I keep my entire web page at a fixed width? ********************************************************************* Signed, SoloCDM
8
by: drose0927 | last post by:
Please help! I can't get my program to exit if the user hits the Escape button: When I tried exit(EXIT_SUCCESS), it wouldn't compile and gave me this error: Parse Error, expecting `'}''...
2
by: Jack David | last post by:
I have a requirement to build the following: 1: A user logs onto the web application using a user name and password (Done) 2: The user is presented with a web page that contains 3 frames (Done)...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
4
by: Bill DeWitt | last post by:
I want to supply a button on my public web page if I have opened up my private web page, but disable it or remove it if the private page is shut down. Is this possible? In other words, I often...
6
by: Justin.Voelker | last post by:
Can anyone clue me on on how to have my html page continue rendering past a MySQL error? If you visit www.Base2WebDesign.com, click login, type in anything for a username and password, then view...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.