Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Why is Default.aspx not present in the Default Content page?

Reply
Thread Tools

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

 
 
Gaetan
Guest
Posts: n/a
 
      02-14-2006
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.
 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      02-14-2006
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" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>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.



 
Reply With Quote
 
 
 
 
Gaetan
Guest
Posts: n/a
 
      02-14-2006
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" <(E-Mail Removed)> 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.

>

 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      02-14-2006
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" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> 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.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
OS present but not present. XPD NZ Computing 4 04-11-2007 11:22 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
Schema: express that "@a present if and only if @b present", where @a, @b are attributes Ralf Wahner XML 5 12-24-2003 11:37 AM



Advertisments