473,287 Members | 1,463 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,287 software developers and data experts.

Why is Default.aspx not present in the Default Content page?

I have setup 2 servers (Windows 2003 Server SP1, latest hotfix) with IIS and .Net
Framework 1.1 and 2.0. None of the 2 servers have default.aspx listed as a default content
document even when there is a ASP.Net tab in the default web site properties.

I have selected the following options in Add Remove Windows Components when installing
IIS;
- ASP.Net
- IIS [ BITS, Common Files, Front Page 2002 Server Extension, IIS manager, SMTP, WWW
Service [WebDav Publishing, WWW Service]].

On many other IIS server I verified, Default.aspx has bees automatically added to the
Default Content page list.

Do you have any idea why I do have to manually add default.aspx?

Regards.
Feb 14 '06 #1
3 2922
Default.aspx should be listed as *one* of IIS's default web documents,
if aspnet_regiis ran -which it should have as part of the .Net Framework setup-
provided IIS was installed previous to the .Net Framework having been installed.

What won't happen is that default.aspx be installed as *the* default document,
since IIS doesn't know what you want the default document to be.

You will have to go into the IIS Manager for your website,
and manually move default.aspx to the top of the priorities list.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Gaetan" <me@somewhere.com> wrote in message news:uf********************************@4ax.com...
I have setup 2 servers (Windows 2003 Server SP1, latest hotfix) with IIS and .Net
Framework 1.1 and 2.0. None of the 2 servers have default.aspx listed as a default content
document even when there is a ASP.Net tab in the default web site properties.

I have selected the following options in Add Remove Windows Components when installing
IIS;
- ASP.Net
- IIS [ BITS, Common Files, Front Page 2002 Server Extension, IIS manager, SMTP, WWW
Service [WebDav Publishing, WWW Service]].

On many other IIS server I verified, Default.aspx has bees automatically added to the
Default Content page list.

Do you have any idea why I do have to manually add default.aspx?

Regards.

Feb 14 '06 #2
based on your input, could it be that aspnet_regiis has not been run because i installed
the components inthe following order:

- Windows 2003 Server w/SP1
- Applied every possible Windows updates using "Windows Update" from I.E.
- From Control panel -> Add/Remove Windows Components, I installed IIS.

Could it be that when IIS is added after the OS is fully patched that I have to manually
run aspnet_regiis?

I ran "aspnet_regiis -i" and default.aspx is still not listed. Looks like I will have to
manually add it. Here is the output from aspnet_regiis -lk and -lv

aspnet_regiis -lv
1.1.4322.0 Valid (Root) C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_isapi.dll
2.0.50727.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_isapi.dll

aspnet_regiis -lk
W3SVC/ 1.1.4322.0
W3SVC/1/ROOT/CCM_Incoming/ 1.1.4322.0
W3SVC/1/ROOT/CCM_System/ 1.1.4322.0
W3SVC/1/ROOT/SMS_MP/ 1.1.4322.0
W3SVC/1/ROOT/SMS_SLP/ 1.1.4322.0
W3SVC/1/ROOT/SMS_DP_SMSPKGC$/ 1.1.4322.0

Gaetan.

On Tue, 14 Feb 2006 14:21:27 -0400, "Juan T. Llibre" <no***********@nowhere.com> wrote:
Default.aspx should be listed as *one* of IIS's default web documents,
if aspnet_regiis ran -which it should have as part of the .Net Framework setup-
provided IIS was installed previous to the .Net Framework having been installed.

What won't happen is that default.aspx be installed as *the* default document,
since IIS doesn't know what you want the default document to be.

You will have to go into the IIS Manager for your website,
and manually move default.aspx to the top of the priorities list.

Regards.

Feb 14 '06 #3
re:
Could it be that when IIS is added after the OS is fully patched
that I have to manually run aspnet_regiis?
Not only that...

If you installed IIS after you patched Windows 2003 Server w/SP1,
none of the security patches will have been applied to IIS.

You'll have to reapply all patches, if you want IIS to be patched.

On the basic question : yes, you have to manually run aspnet_regiis -i
if you install IIS after you install the OS, instead of selecting it to be
installed during the original OS's setup.

re: I ran "aspnet_regiis -i" and default.aspx is still not listed.
Quite common.

Try running "aspnet_regiis -u" *first*, which will unregister the .Net Framework
( note : it will not uninstall it, only unregister it with IIS ), and *then* run "aspnet_regiis -i".

That will recreate the necessary default account for ASP.NET *and* the default documents.

You will *still* have to manually move the document up the priority list, though.
IIS doesn't know whether you want to run basic html, asp or asp.net documents as the default.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Gaetan" <me@somewhere.com> wrote in message news:jp********************************@4ax.com... based on your input, could it be that aspnet_regiis has not been run because i installed
the components inthe following order:

- Windows 2003 Server w/SP1
- Applied every possible Windows updates using "Windows Update" from I.E.
- From Control panel -> Add/Remove Windows Components, I installed IIS.

Could it be that when IIS is added after the OS is fully patched that I have to manually
run aspnet_regiis?

I ran "aspnet_regiis -i" and default.aspx is still not listed. Looks like I will have to
manually add it. Here is the output from aspnet_regiis -lk and -lv

aspnet_regiis -lv
1.1.4322.0 Valid (Root) C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_isapi.dll
2.0.50727.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_isapi.dll

aspnet_regiis -lk
W3SVC/ 1.1.4322.0
W3SVC/1/ROOT/CCM_Incoming/ 1.1.4322.0
W3SVC/1/ROOT/CCM_System/ 1.1.4322.0
W3SVC/1/ROOT/SMS_MP/ 1.1.4322.0
W3SVC/1/ROOT/SMS_SLP/ 1.1.4322.0
W3SVC/1/ROOT/SMS_DP_SMSPKGC$/ 1.1.4322.0

Gaetan. On Tue, 14 Feb 2006 14:21:27 -0400, "Juan T. Llibre" <no***********@nowhere.com> wrote:
Default.aspx should be listed as *one* of IIS's default web documents,
if aspnet_regiis ran -which it should have as part of the .Net Framework setup-
provided IIS was installed previous to the .Net Framework having been installed.

What won't happen is that default.aspx be installed as *the* default document,
since IIS doesn't know what you want the default document to be.

You will have to go into the IIS Manager for your website,
and manually move default.aspx to the top of the priorities list.

Feb 14 '06 #4

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

Similar topics

1
by: Billy Jacobs | last post by:
Is there a way to make a button on a web form the default button so that when the user hits the enter button the code for that button executes? I have a web page Login.aspx where I have only 1...
2
by: Jon Booth | last post by:
I am using ascx controls to build headers and footers for my wbe application. 3 questions 1) How do I set it so that when I create a new web form created inherits from my SecurePage class and...
1
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XPPro running IIS. I am unable to view any of my ASPX webforms in a browser unless I modify the .ASPX file and replace Codebehind="employee.aspx.cs" with...
3
by: DanB | last post by:
I use VB.NET Std Edition and I am building a web application. I have two problems that may or may not be related. 1) The debugger does not work. 2) If I ignore the debugger, build 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: Ken Spreitzer | last post by:
Hi, all. This should be a simple question. What are the default page names when the web site is running ASP.NET? I'm referring to the list that you see when you run the IIS Mgr and choose a...
0
by: Joey | last post by:
I have a web app that contains several subfolders. In one of them, I have a page set up as "Default.aspx", so users can hit it just by typing the directory name in the browser address bar (example:...
3
by: Rohit | last post by:
I have added a "Master Page" and noticed it is having the extension ".master". I want to set this master page as default and want to open it as I open my web-site. I tried to set the startup...
4
by: =?Utf-8?B?SmFwZQ==?= | last post by:
Can I refer to the controls on default.aspx from the masterpage? I have a form on the masterpage which sends information that is in a gridview in the default.aspx page.
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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.