473,473 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

I see default.aspx as text when I browse to site on XP

I have deployed an ASP.NET application successfully on
Windows 2000 and 2003. When I deploy it on an XP Pro
machine (fresh install with framework 1.1 and IIS
installed), I get a very unexpected result. Keep in mind
I install everything as "default" as it gets, IIS
included. I install my project into a virtual directory,
so I browse to my installed site as:
http://localhost/myproject
Yes, there is a file called "default.aspx" in my project
and it is the default document specified in the virtual
directory. I have changed none of the default settings --
I didn't have to in 2000 or 2003 so I didnt't on XP. Of
course in 2003, I had to turn on the "ASPX Application
Server" in IIS.
Anyway, what happens is that when I browse to this site
on the XP box, either as //localhost/mysite locally, or
remotely as //xpbox/mysite, I see in my browser window
the text contained within the file default.aspx...quite
useless!!
I have never seen anything like this before. ASP is not
recognizing it or something because when I simply browse
to //localhost, I get the default IIS "under
construction" page.
Do I have to give .NET a kick in the butt somehow on XP?
Please help.
Regards,
-Larry Brindise
Nov 17 '05 #1
2 1455
You may need to repair your IIS mappings.
To do this, run the following command:
aspnet_regiis.exe -i

Here's further information:
http://support.microsoft.com/default...;EN-US;q306005

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


"Larry Brindise" <la****@tradegear.com> wrote in message
news:02****************************@phx.gbl...
I have deployed an ASP.NET application successfully on
Windows 2000 and 2003. When I deploy it on an XP Pro
machine (fresh install with framework 1.1 and IIS
installed), I get a very unexpected result. Keep in mind
I install everything as "default" as it gets, IIS
included. I install my project into a virtual directory,
so I browse to my installed site as:
http://localhost/myproject
Yes, there is a file called "default.aspx" in my project
and it is the default document specified in the virtual
directory. I have changed none of the default settings --
I didn't have to in 2000 or 2003 so I didnt't on XP. Of
course in 2003, I had to turn on the "ASPX Application
Server" in IIS.
Anyway, what happens is that when I browse to this site
on the XP box, either as //localhost/mysite locally, or
remotely as //xpbox/mysite, I see in my browser window
the text contained within the file default.aspx...quite
useless!!
I have never seen anything like this before. ASP is not
recognizing it or something because when I simply browse
to //localhost, I get the default IIS "under
construction" page.
Do I have to give .NET a kick in the butt somehow on XP?
Please help.
Regards,
-Larry Brindise

Nov 17 '05 #2
I haven't tried it because I am no longer at the office,
however I am confident this is the solution. The article
you referenced recalled to my memory the fact that I
installed the .NET framework before I installed IIS on
the XP machine. I'm sure I'll get support calls on this
one!
Regards,
-Larry
-----Original Message-----
You may need to repair your IIS mappings.
To do this, run the following command:
aspnet_regiis.exe -i

Here's further information:
http://support.microsoft.com/default.aspx?scid=KB;EN- US;q306005
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able- consulting.com

"Larry Brindise" <la****@tradegear.com> wrote in message
news:02****************************@phx.gbl...
I have deployed an ASP.NET application successfully on
Windows 2000 and 2003. When I deploy it on an XP Pro
machine (fresh install with framework 1.1 and IIS
installed), I get a very unexpected result. Keep in mind I install everything as "default" as it gets, IIS
included. I install my project into a virtual directory, so I browse to my installed site as:
http://localhost/myproject
Yes, there is a file called "default.aspx" in my project and it is the default document specified in the virtual
directory. I have changed none of the default settings -- I didn't have to in 2000 or 2003 so I didnt't on XP. Of course in 2003, I had to turn on the "ASPX Application
Server" in IIS.
Anyway, what happens is that when I browse to this site
on the XP box, either as //localhost/mysite locally, or
remotely as //xpbox/mysite, I see in my browser window
the text contained within the file default.aspx...quite
useless!!
I have never seen anything like this before. ASP is not recognizing it or something because when I simply browse to //localhost, I get the default IIS "under
construction" page.
Do I have to give .NET a kick in the butt somehow on XP? Please help.
Regards,
-Larry Brindise

.

Nov 17 '05 #3

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

Similar topics

0
by: John Caruthers | last post by:
HELP! This problem is driving me crazy. All other web sites that are being served out through this server are working, including sites and virtual directories that are under the Default Web...
7
by: aDc | last post by:
Hello, I am getting some strange behavior with my ASP.NET application. Anytime I make a request to a page in the application the page_load for that page is fired as expected BUT then the...
2
by: Goober | last post by:
I have the following default.aspx page that works properly. However, what I want to do is to link the graphics within it (that are hard coded now in the default web page) to our corporate...
2
by: rodchar | last post by:
Hey all, I have an asp.net page called default.aspx. when I visit this site i type in http://myDirectory/ because I know that the name default.aspx will be assumed. However, when i goto this...
3
by: Phil Certain | last post by:
Hi I'm building a site that has publicly available pages and password protected pages. Publicly available pages reside in: /public and password protected pages reside in: /private
1
by: Just D. | last post by:
Does anybody know how to set the Default Document (like Start.aspx) to a new Virtual Directory? I found this article on the Internet and read with the interest. ...
11
by: scott | last post by:
Hi, From IIS6 and from a session on the 2003 server i attempt to browse to http://localhost/default.aspx and get the following error: Description: An error occurred during the processing of...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
8
by: AAaron123 | last post by:
I created a home page and moved to the isp. it contains 3 files: Default.aspv Default.aspx.vb web.config and the folder App.Data Using IE to point to my home page folder it displays the...
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,...
1
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.