471,328 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Error When Interop'ing to COM+ Managed Object with Library Activation

I have a remoting server that is on the same local box as a COM+ managed
object with Library Activation. When I try to activate the object from the
remoted assembly, I get the following error: "The specified activation could
not occur in the client context as specified." The security context of the
service application that is activating the object has the proper
credentials. It's been years since I've had to deal with COM+ and I'm a bit
rusty. Is there some magic that I have to perform to get this interop to
work?

Thanks,

Matt Dinovo
dinovom [at] gmail.com
Jul 21 '05 #1
1 2054
I think I solved my issue. The issue was not that the package was set for
Library activation. The issue was the enforcement of access checks, coupled
with the security level. I ended up having to create another COM stub object
that I could place in a COM+ package that would broker the communication
between the .NET service and the library package. Not sure exactly why this
works, but I'm not complaining...

Thanks,

Matt
"Matt Dinovo" <dinovom@[NOSPAM].gmail.com> wrote in message
news:ep**************@TK2MSFTNGP09.phx.gbl...
I have a remoting server that is on the same local box as a COM+ managed
object with Library Activation. When I try to activate the object from the
remoted assembly, I get the following error: "The specified activation
could not occur in the client context as specified." The security context
of the service application that is activating the object has the proper
credentials. It's been years since I've had to deal with COM+ and I'm a bit
rusty. Is there some magic that I have to perform to get this interop to
work?

Thanks,

Matt Dinovo
dinovom [at] gmail.com

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Erik-Jan Bakker | last post: by
1 post views Thread by Andrew Phillipo | last post: by
11 posts views Thread by westplastic | last post: by
ashsa
1 post views Thread by ashsa | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.