Re: ASP.NET dynamic registration of COM+ library application question

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 10:36:22 -0800

even though the site is anonymous, because the page gets a permission error,
it returns a 401 to the browser. the browser then sends you creditials and
the page runs again as you.

to see this happen in IE under custom security turn off automatic login.

-- bruce (sqlwork.com)

"JollyK" <JollyK@email.com> wrote in message
news:ug$DTZ1EEHA.2340@TK2MSFTNGP11.phx.gbl...
> Hello everyone,
>
> If I set identity impersonate to True in my web.config file, I am able to
> register COM+ library applications.
> If I set to identity impersonate to False I am not able to register them.
>
> This is something that is confusing me because in my web.config file, if
> authentication mode is set to "Windows", identity impersonate is set to
> "True", and IIS has "Anonymous Access" enabled (which is by default),
> ASP.NET will use the IUSR_computername windows account. By default, the
> IUSR_computername account is included in the Windows user group called
> "Guests". It is not a member of the Administrators group. And in order to
> dynamically register a COM+ library application, I require administrator
> priviledges. So how is it possible that IUSR_computername account is
capable
> of dynamic registration of COM+ library applications when it doesn't have
> administrative priviledges.
>
> Can you guys clear my confusion please. Thanks alot.
>
> Jolly K
>
>