473,376 Members | 1,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,376 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 2139
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Erik-Jan Bakker | last post by:
Hello, I am stuck with a weird javascript problem.... ;-( Maybe it's somehting very simple, but I am really stuck in it, right now. What's the matter.... When place my website at a different...
1
by: Andrew Phillipo | last post by:
I have some code that works everywhere but IE5.0, including IE5.5. Here is a snippet of where the code seems to go wrong: Location.prototype.change = function(current) { this.current = current;...
0
by: Michael Chong | last post by:
I have an (exe) executable program created in VB.NET 2003 that calls to a MFC DLL written in VC++.NET 2003. I always get an error msg "NullReferenceException: Object Reference Not Set to an...
0
by: Roman | last post by:
I'm trying to create the form which would allow data entry to the Client table, as well as modification and deletion of existing data rows. For some reason the DataGrid part of functionality stops...
3
by: Ralf Müller | last post by:
In a WindowsForms application it works just fine. Why not in ASP.NET? The interop assembly used was in both cases auto-generated by Visual Studio ..NET from the same .dll The code is exactly...
2
by: Giovanni Bassi | last post by:
Hello All, I have encountered a problem. I am using visual inheritance and my base form adds an event handler on Form Load using the AddHandler Keyword. The problem is that if the Event...
11
by: westplastic | last post by:
This one is driving me insane. The script works perfect on Firefox, but Internet Explorer keeps complaining about "Error Object Expected" and stuff like that. I've run it through Firefox's Java...
1
ashsa
by: ashsa | last post by:
Hi all, I am getting an error in my page saying that A Runtime Error has occured. Do you wish to debug ? Line : 509 Error : Object Expected Could the Line number indicated be of any use...
4
by: deco | last post by:
I try to list the contents of folder by usinng the FileSystemObject Library the run-time error '-2147319779(8002801d)'; automation error library not registred is appears but i use the same...
6
by: Patient Guy | last post by:
I am a newcomer to using PHP but not to programming (C, C++, Javascript). I am playing around with classes and wanted to make a function that has a method simply for producing either plain text...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.