com+

What account do COM+ components run under when regasm is used?

What account do COM+ components run under when registered via the regasm tool? I didn't notice any command parameters for regasm to identify the account. Given regasm requires admin privileges to run, I'm assuming COM+ components run w/admin privs as well? ...

Wix - ComPlusAssembly - Could not install type library

Hi, I'm new to Wix and I have ran into a problem that I'm obviously not able to solve on my own, so any help will be very much appreciated. Quick background: I'm representing a software vendor building a comprehensive suite of SOA based applications for deployment in large enterprises. Our architecture consists of many layers which ma...

How to remove a COM+ application using WIX3.0?

Hi, I have scoured the internet, and not found anything about how to do this. Essentially, we are replacing an old VB6 COM+ application with a .NET one. We are using WIX to install our new .NET application. As part of this installation, we need to remove the old COM+ components. I can see plenty of information on how to install COM+ ...

Out of proc function call and HANDLE type returned (Windows C++)

I need to call one function using maximum privileges (NT AUTHORY\System) from other process (IIS7 module work process) running in same local computer in much less privileged mode (NT AUTHORY\Network service). IIS module will call that function passing some text (user name) and that function need to return HADNLE type witch will be close...

Alternative solution to modifying XML file as embedded resource in .dll assembly

I need to create a .dll assembly to read contents of a xml file embedded as a resource and show the content on an ASP.NET page. I searched through the internet for solution to modify the xml file (which embedded as a resource in the .dll assembly) and found out that it's almost impossible to do so. Here's my scenario: 1. I created a .d...

Performance gains when compiling .NET 1.1 COM+ components code with .NET 3.5 compiler

Hi. I need to build a service in form of a COM+ component using Enterprise Services. The service is working right now. It gets a string does some spell-checking and returns a string. My question is: This component was compiled in .NET 1.1 but my environment is going to change to .NET 3.5 soon. So if I compile the code in .NET 3.5 (w...

Error Installing COM+ (Error Code: 80131501)

I've written a class library that reads from an xml file and return the result as a string. But when I want to install it as a COM+ component, an error occurred (Error Code: 80131501). I checked the event log and the details of the error is: Installation of 'C:\Users\User\Documents\Visual Studio 2005\Projects\InteropSOA\InteropSOA\bin\D...

Programmatically add user role to COM+ component (C#)

I wish to know the way to add ASP.NET ("Machine_Name"\IIS_IUSRS) to user role in COM+ component programmatically using C#. So whenever my COM+ component is being installed, ASP.NET user is created under Role. ...

Troubleshooting a COM+ application deadlock

I'm trying to troubleshoot a COM+ application that deadlocks intermittently. The last time it locked up, I was able to take a usermode dump of the dllhost process and analyze it using WinDbg. After inspecting all the threads and locks, it all boils down to a critical section owned by this thread: ChildEBP RetAddr Args to Child ...

Abstract Methods in "Product" - Factory Method C#

I have a simple class library (COM+ service) written in C# to consume 5 web services: Add, Minus, Divide, Multiply and Compare. I've created the abstract product and abstract factory classes. The abstract product named WS's code: public abstract class WS { public abstract double Calculate(double a, double b); public abstrac...

Why is my "Component Services" window so slow?

I have a newly configured Windows Server 2003 VM. One of the issues with the old VM was that whenever I open up "Component Services" from "Administrative Tools", the performance is very bad. It takes several minutes to create new COM+ applications and add components where it used to take only a few seconds. I have many components to i...

C# DLL Deployed in COM+. Error while accessing the methods.

Deleting this thread ...

Who is responsible for calling CoInitialize and CoUninitialize if surrogate process or COM+

Who is responsible for calling CoInitialize and CoUninitialize if 1- I host a COM dll within a surrogate process (either by using dcomcnfg utility or COM+ wizard)? 2- I build a ISAPI DLL that contains COM objects? ...

How do I consume a COM+ local server from C#?

I have a web application from a company that has gone out of business. We're looking to extend the web app a bit with some asp.net functionality. The web app was written as an ISAPI application in Delphi, and uses COM+ to talk to the SQL Server and handles things like session management and authentication. So, in order to get the curr...

Consume a "WCF Service" in "Classical ASP" respectively in VB6

Is there a simple way to consume a WCF Service from Classical ASP respectively in VB6 ? Is it possible to provide a WCF Service as a COM+ Service (component) ? ...

FileNotFoundException when running WiX CustomAction with COMAdmin interop

I am trying to create a WiX custom action which will allow me to shutdown and clear down a COM+ package as part of an upgrade installation, or create and configure a new COM+ package as part of the initial installation. I previously had this running as a CustomAction within a standard Visual Studio MSI but this only allows the custom ac...

How to free member (i.e BSTR, SAFEARRAY, VARIANT) of an IDL User Defined Structure which is encapsulated in a VARIANT?

Hi, I have a structure defined in IDL. This structure has following members: { BSTR m_sFirst; BSTR m_sSecond; VARIANT m_vChildStruct; //This member encapsulate a sub structure SAFEARRAY __RPC_FAR * m_saArray; }CustomINFO; I am allocating the memory for the structs using CoTaskMemAlloc and encapsulating it in Varian...

WCF COM+ component

I have a C# WCF client that is wrapped for COM+ Enterprise Services. I install the component on the target machine and use regsvcs to put it into Component services. My question is, where will it look for it's configuration file, as it is running under the dllhost process rather than a regular exe? ...

What is the difference between deploying to com+/MTS using regsvr32?

We have a legacy VB6 component that was com+/MTS and is used by asp classic. Staff is having trouble with deployment. Would there be any harm in just using regsvr32 to register the DLL, which will be used by IIS? Alternatively---I won't touch COM+ with a 10 foot pole--so is there a suitable one line command to register a VB6 component ...

COM+ application deployment using command-line

Hi I need to deploy my COM dll as a COM+ application. I used to do that from Component Services manager (dcomcnfg.exe). But my requirement is to deploy it from command-line. Is there a command to do that? Update: And how to uninstall the same? Thanks. ...