ASP.NET dynamic registration of COM+ library application question

J

JollyK

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
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top