com+

How to execute COM+ libraries from Java?

I have a COM+ component developed with VB6. After registering it with the component services manager COM+ application, I can use it from ASP like this Set Comando = Server.CreateObject("JuiciosComando.clsComando") ComandoExecute = Comando.execute(Xml) Set Comando = Nothing That's all I need, the component just receives a (maybe huge)...

Can I host a WCF service from within COM+?

New to WCF, but familiar with COM+ - can I wrap a WCF service inside a COM+ application? I realize many people may ignore the question and question my motive (and that's fine), but I'd actually like to know if this is fundamentally possible as well. ...

can anyone help with COM+ System.InvalidCastException?

We have an issue that occurs from time to time. We have a web server and an application server. Our application server houses our Business Logic code which is installed as COM+ Server and Library applications. We then put a proxy on the web server to force all calls from the web server to the COM+ Server. Almost 100% of the time ever...

COM+ Server configuration with custom ConfigurationSection

Hi, I have a COM+ server hosting a .Net component which implements ServicedComponent. The COM+ server needs to access a configuration file in which a custom configuration section has been defined. I can load the configuration fine with the following code: ExeConfigurationFileMap fileMap = new ExeConfigurationFileMap(); fileMap.ExeCon...

Using a C# class library as a COM+ server application

I created a .NET class library in C# and exposed it to COM. It works fine as an in-proc COM server. However I want to use it as an out-proc COM server to have it in a separate process. To do so I try to create a COM+ application. I created an empty COM+ application and added the classes implemented in the class library into it. When I c...

Enterprise Services Alternative

Are there any alternatives to Serviced Components (COM+) in .NET? I am looking for an on-demand (not always-running like Windows Service) manageable components to be hosted by the OS and be accessible locally (no requirement for remote connections). ...

Component Service and C#

I have a VB6 COM dll that I've wrapped in COM+ (component services). For the life of me I can't figure out how to get the reference to the service imported/working in C#. Google isn't helping me at all. Nothing shows up in the add a reference dialog box that is even close to the name of my service. Does anyone have any code/tips for how ...

Splitting application layers into different assemblies

There is a debate going on at my company. Some are advocating moving business, data and business entities in one assembly for Discoverability purposes. make it easy to find what you're looking for. Reduce the number of dll's we need to add to a project for development Others citing the application architecture guide want each layer...

Is there a modern replacement for the transaction and pooling features from Enterprise Services ?

I'm using ServicedComponent from EnterpriseServices AKA Com+ for Distributed transactions Simple transaction programming by using attributes Object pooling Things that I find lacking in com+ The lack of dll versioning Pain of having to gac & reg every time I change a component Having to attach debugger I'm aware that WCF solves ...

Is Windows Activation Service + WCF a replacement for COM+

WAS Features Application Pooling Recycling Idle time management Identity Management Isolation Sounds a lot like COM+ but hosted in IIS 7. Anybody out there using this technology and am I correct comparing the two? ...

How do I specify the com+ server when registering a vb6 com+ application without using clireg?

I've found lots of documentation on how to install com+ components with WiX or an exported msi from dcomcnfg but the problem with these approaches is I can't see where to specify the com+ server. Currently we register the components with clireg and the -s switch which allows us to specify the com+ server like so: clireg32.exe BLEH.VBR ...

Distributed Transaction from .NET to DB2

I have a problem where in I have to call into the AS400 db2 to call a series of insert/update stored procedures from my .net and then update a few SQL2005 tables if everything in the AS400 db goes ahead fine. The driver I am using does not have distributed transactions so I was wondering if you can use any of IBMs iSeries Drivers for DB2...

One or more arguments are invalid error when calling a Com+ application

I have vb6 / com+ application which was working fine for weeks until earlier today. According to everyone with access nothing was done to the server. When I try to call the com+ component on the server, I get the following error: Error Code -2147024809 One or more arguments are invalid. If I switch to hit a different com+ server ever...

Use of Enterprise Service in .NET for a transaction object that does not write to DB

I am looking at using the DTC in Enterprise Service for managing a transaction that i need to run. What is unusual in this transaction is that the transaction will affect a data base and a number of hardware devices that we access through a native interface. What i am curious to find out is if thisis actually possible. i.e. can i write a...

Are there any reasons not to host a COM server in a COM+ application?

The simplest way to transform an in-proc COM server into an out-proc COM server is creating a COM+ application. What are the possible drawbacks of doing it this way? ...

creating long-lived server for other applications on windows

I've looked into COM servers and Windows services but I'm not sure what best suits my purposes or how to do it. What I want is something that can be started and run for an indefinite amount of time which holds an object so that other processes or applications obtain references to that object (or make requests to the server) to modify or ...

How to replace VB6 Com+ DLL with .NET

We have a Com+ VB6 DLL used in our asp classic application. After upgrading to IIS 6.0 and Windows Server 2003 it seems to be causing us problem. How should we replace it with .NET (2.0) functionality? A Webservice? A Com DLL in .NET? Some other option? Assume re-writing the asp classic pages is out of the question. EDIT: If rewri...

COM Object Pooling and .NET Web Service

Hello I have a COM object which I need to access from my .NET Web Service. I know of the whole STA/MTA thing - so my COM object would be converted to be MTA and have no global state (while not being multi-threaded itself). If I set this up as a COM+ server, and specify an object pool, does this mean that for each web service thread it...

ASP, Server.CreateObject, MTS and C# object pooling -- a reuse problem?

I'm trying to debug an "occasional" problem. We've got a classic ASP application that needs to send email. For whatever reasons it's using a C# object exposed via COM to do this send; the c# object is a simple wrapper around MailMessage and SMTPClient, using SendAsync to do the send. On the ASP side the object is Server.CreateObject()'d ...

Why does COM+ ignore the apartment threading model?

I have an STA COM component which is put into a COM+ application. The client creates several instances of the class in that component and calls their methods in parallel. The class is registered properly - the "ThreadingModel" for the corresponding class id is "Apartment". I see several calls of the same method of the same class being e...