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

Home Posts Topics Members FAQ

IIS and seting .aspx page as default?

I'm having a problem with my web server and application -- I set it up using
XCOPY (done this many times before on other servers) but for some reason
when I navigate to the site it returns a 404. I heard a rumor that for
Win2K3 IIS 6.0 that one has to use an html page as the default (with a
redirect) -- is this correct or should I be looking elsewhere for the
problem?

If I toss in a "under construction" HTML page and set that as the default it
displays correctly when I navigate to it, however, set it back to my aspx
page and it returns 404. (I am using pre-compiled aspx pages, but I've used
them before without a problem).

Any suggestions?

Thanks, Rob.
May 19 '06 #1
5 3174
In the Documents tab in the virtual directory properties (IIS
Administration) you can set the default document.

Regards,
Tasos

May 19 '06 #2
Yes I know, done that -- still comes back and not finding it. Still
scratching my head on this one.

"Tasos Vogiatzoglou" <tv*****@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
In the Documents tab in the virtual directory properties (IIS
Administration) you can set the default document.

Regards,
Tasos

May 19 '06 #3
Afaik it's the order it's in the list.
"Rob R. Ainscough" <ro*****@pacbell.net> schreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
Yes I know, done that -- still comes back and not finding it. Still
scratching my head on this one.

"Tasos Vogiatzoglou" <tv*****@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
In the Documents tab in the virtual directory properties (IIS
Administration) you can set the default document.

Regards,
Tasos


May 19 '06 #4
Turned out to be the order in which .NET framework was installed, apparently
before IIS which means no ASP.NET 2.0 web service extensions and hence why
my .aspx pages would not work, but my html pages would.

rob.

"Edwin Knoppert" <in**@pbsoft.speedlinq.nl> wrote in message
news:e4**********@azure.qinip.net...
Afaik it's the order it's in the list.
"Rob R. Ainscough" <ro*****@pacbell.net> schreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
Yes I know, done that -- still comes back and not finding it. Still
scratching my head on this one.

"Tasos Vogiatzoglou" <tv*****@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
In the Documents tab in the virtual directory properties (IIS
Administration) you can set the default document.

Regards,
Tasos



May 19 '06 #5
Turned out to be that .NET framework 2.0 was installed before IIS 6, so the
IIS extensions were not installed and hence IIS couldn't deal with .aspx
pages at all.

thanks for the help, Rob.

"Edwin Knoppert" <in**@pbsoft.speedlinq.nl> wrote in message
news:e4**********@azure.qinip.net...
Afaik it's the order it's in the list.
"Rob R. Ainscough" <ro*****@pacbell.net> schreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
Yes I know, done that -- still comes back and not finding it. Still
scratching my head on this one.

"Tasos Vogiatzoglou" <tv*****@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
In the Documents tab in the virtual directory properties (IIS
Administration) you can set the default document.

Regards,
Tasos



May 22 '06 #6

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

Similar topics

4
by: Larry Brindise | last post by:
I have an asp.net application. I have used VStudio Web Deployment Project to create the MSI file. I copy the MSI file from my developer PC to my test server running Win2003Server Web Edition. I...
5
by: Ted Apollo | last post by:
When I develop my ASP.NET 1.1 application locally, the default form is always "WebForm1.aspx." However, when I post the same application to a web server, the default becomes "default.aspx." Why...
5
by: jonhyland | last post by:
Hey all, I'm writing a .NET application where I want all HTTP errors such as 404 to redirect back to the home page. Since .NET only handles HTTP errors if the client is requesting a .NET...
4
by: Frankie | last post by:
I'm writing a small C# utility application that creates new Web Sites via ADSI. It seems to work just fine for the most part -- meaning that IIS Metabase entries look either identical or "different...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
3
by: vijay_kerji | last post by:
Dear All, I have a ASP web application running with CS2000. It has Default page as default.asp It also contains .NET ASPX pages, which will be called from ASP pages. Can I convert the default...
9
by: David Veeneman | last post by:
I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that...
24
by: John Rivers | last post by:
ASPX which means ASPX pages, the code-behind concept, User Controls, Web Controls etc. is very poorly designed and makes it extremely hard to develop professional quality web applications. ASPX...
4
by: mc | last post by:
Scenario: I have a database of companys, and a directory of images, each image has the name of one of the companys, although not all companys have images. I want a page which displays the...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.