 |
|
 |
|
Next: Build Your Own Dream City!!! =)
|
| Author |
Message |
External

Since: Jan 23, 2008 Posts: 2
|
(Msg. 1) Posted: Wed Jan 23, 2008 2:55 am
Post subject: COM+ Application Creation Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
I have some c#, .net 2 code which creates and removes web sites,
virtual directories etc. It sits in a library and is used by a bunch
of in-house setup programs. It uses ADSI under the hood.
Whilst this library seems to work well, we've noticed something a
little strange. On the server where the web site is created, a COM+
Application called
IIS-{<Site Name>//Root}
is created. Now, our bespoke code does not create this entry directly,
although it does create a Web Application Pool, which I think is
related. The thing is, however, that although the uninstall process
appears to be clean (i.e. everything cleared out of the directory),
these COM+ entries appear to be left behind.
So, over the course of time, several application installs equate to
several (identical) COM+ applications, and everything starts to look a
bit untidy.
This happens on IIS6, but also on IIS5. (The in-house code only tries
to create application pools on IIS6.)
Does anyone know:
(a) exactly what this entry refers to?
(b) whether it is dangerous to have multiple identical entries in
here?
(c) the flip question, whether it is safe to delete excess entries?
(c) (pushing my luck here!) whether/how it is possible to ensure these
excess entries get removed just by manipulating properties on the web
site (i.e. something that I can set using ADSI)? At least then I could
have our code modified accordingly.
Grateful for any light that can be shed on this. TIA >> Stay informed about: COM+ Application Creation |
|
| Back to top |
|
 |  |
External

Since: Jan 23, 2008 Posts: 2
|
(Msg. 2) Posted: Wed Jan 23, 2008 3:10 am
Post subject: Re: COM+ Application Creation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
After a little more research, the answer to (a) is that it is created
as a result of setting the isolation level of the new web site's root
virtual directory. We use high isolation and this will not be allowed
to change.
This is a known bug, apparently, in IIS5 (not "known" in IIS6 as far
as I can tell, but believe me it exists!) Uninstalling a Web Site
doesn't uninstall the COM+ application.
Questions (b) thro' (d) still stand. Thanks >> Stay informed about: COM+ Application Creation |
|
| Back to top |
|
 |  |
External

Since: Sep 09, 2010 Posts: 1
|
(Msg. 3) Posted: Thu Sep 09, 2010 11:26 am
Post subject: same problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Same thing here. We are doing the same thing.
I will let you know if I find a solution.
> On Wednesday, February 06, 2008 11:05 PM Pete wrote:
> I have some c#, .net 2 code which creates and removes web sites,
> virtual directories etc. It sits in a library and is used by a bunch
> of in-house setup programs. It uses ADSI under the hood.
>
> Whilst this library seems to work well, we've noticed something a
> little strange. On the server where the web site is created, a COM+
> Application called
>
> IIS-{<Site Name>//Root}
>
> is created. Now, our bespoke code does not create this entry directly,
> although it does create a Web Application Pool, which I think is
> related. The thing is, however, that although the uninstall process
> appears to be clean (i.e. everything cleared out of the directory),
> these COM+ entries appear to be left behind.
>
> So, over the course of time, several application installs equate to
> several (identical) COM+ applications, and everything starts to look a
> bit untidy.
>
> This happens on IIS6, but also on IIS5. (The in-house code only tries
> to create application pools on IIS6.)
>
> Does anyone know:
>
> (a) exactly what this entry refers to?
> (b) whether it is dangerous to have multiple identical entries in
> here?
> (c) the flip question, whether it is safe to delete excess entries?
> (c) (pushing my luck here!) whether/how it is possible to ensure these
> excess entries get removed just by manipulating properties on the web
> site (i.e. something that I can set using ADSI)? At least then I could
> have our code modified accordingly.
>
> Grateful for any light that can be shed on this. TIA
>> On Wednesday, February 06, 2008 11:05 PM Pete wrote:
>> After a little more research, the answer to (a) is that it is created
>> as a result of setting the isolation level of the new web site's root
>> virtual directory. We use high isolation and this will not be allowed
>> to change.
>>
>> This is a known bug, apparently, in IIS5 (not "known" in IIS6 as far
>> as I can tell, but believe me it exists!) Uninstalling a Web Site
>> doesn't uninstall the COM+ application.
>>
>> Questions (b) thro' (d) still stand. Thanks
>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>> Book Review: Google Analytics
>> http://www.eggheadcafe.com/tutorials/aspnet/a855a620-50a8-487c-9fac-b8...fda2442 >> Stay informed about: COM+ Application Creation |
|
| Back to top |
|
 |  |
| Related Topics: | Prevent FP Web creation - Hi gang, Just looking for some resources on how to disable the ability for users to create a web on our webserver with the FP client. And yes, we've uninstalled the FP Server extensions. thanks!
programmatic ssl creation help - I am attempting to write a vbcript program that is able to programmatically create ssl certs and assign them to web sites. More speciffically some of the things it needs to do is get the request file, request the .cer, approve cert in the CA, get the..
snap-in creation on iis Help - hello all, i have installed iis server but i can't use this ........ the error is snap-in failed to initilize UNKNOWN Error! CLSID{-------------------} a loads of digits......... Thanks in advance 4 ur reply
OWA creation - Hai, I removed all virtual directories , i try to create the virtual directories with New-OWAVirtualdirectory command getting an error message that An error occured while creating the IIS virtual directory IIS://server.rasisdomain.com/w3svc/1/Root/owa...
OWA creation - Hai, I removed all virtual directories , i try to create the virtual directories with New-OWAVirtualdirectory command getting an error message that An error occured while creating the IIS virtual directory IIS://server.rasisdomain.com/w3svc/1/Root/owa... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|