Home All Groups Group Topic Archive Search About

Share assembly among COM+ applications using .Net

Author
4 Jan 2007 9:18 PM
Salim
Hi All,
I want to achieve following:
Dynamically create COM+ application and use same .Net assembly for
functoanlity but with different user credentials. So i want to have same
functionality but with different user credentials. I cannot store user
credentials, so i am trying to create multiple COM+ applications with
diferent user identity. They all do the same thing,so sharing the same .Net
assebmly across all COM+ applications would be ideal.

Can somebody please tell me how can i do this using .Net Enterprise Services
(Creating multiple COM+ application using same .Net assembly)?

Thanks,
Salim

Author
12 Jan 2007 7:18 AM
Alexander Malapheev
Hi Salim,

    You can't use one assembly for several COM+ applications because when
you creating assembly you set application identifier (through
attribute). And when you will try to register this assembly you'll
receive message that application with the same id is exists.
    Can you describe more detail why you need multiple applications?

Salim wrote:
Show quote
> Hi All,
> I want to achieve following:
> Dynamically create COM+ application and use same .Net assembly for
> functoanlity but with different user credentials. So i want to have same
> functionality but with different user credentials. I cannot store user
> credentials, so i am trying to create multiple COM+ applications with
> diferent user identity. They all do the same thing,so sharing the same .Net
> assebmly across all COM+ applications would be ideal.
>
> Can somebody please tell me how can i do this using .Net Enterprise Services
> (Creating multiple COM+ application using same .Net assembly)?
>
> Thanks,
> Salim

AddThis Social Bookmark Button