473,289 Members | 2,089 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,289 software developers and data experts.

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 3172
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.