| IObjectConstruct problem - Activation failed? (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Sorry I had to repost this in order to get this under the correct no spam alias. I have a ServicedComponent that supports construction strings, and I have just recently moved it to a new box. However, when I try to crank up my objects on the new box, I get the following error in the event log: The following component is configured for Construction, and either the IObjectConstruct::Construct() meth... |
|
| .NET DLL that run on COM+ Server (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, guys. I'm trying to figure out a way to create .NET DLL (assembly) that run on COM server. Could you please help? |
|
| Exporting Client Proxy -> First Call fails (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, i have developed some sample serviced components with WinXP. I have exported them with the COM Catalog as Client Proxy with only 1.0 compatible functions. When i install it on a Win2k machine, the first call from the test App fails but after this first exception it works fine until the app is restarted then the same prob. Does anyone know what this could be? Thanks. |
|
| COM+ (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I have created a servicedComponent, registrered it...seems to work. But I'm not sure! My object appears in COM but I can't see the methods I have implemented. Is this intended? I ran the .NET sample (txDemo I think it was). The methods in this demo wasn't shown. If I run my client app I get the expected result. But within COM the object isn't spinning. It this intended? So I really don't know whet... |
|
| Automatic transactions/MS DTC/COM+ transactions in .NET (4 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am a bit confused with the concept of using MS DTC/COM services transactions within .NET. I have been through the details of subclassing ServicedComponent, strong naming, regsvcs and so on, but a question remain unanswered : The architecture is as follows (identical to all ServicedComponent examples I have seen): MyBusinessObject ADO.NET SQL Server Where "MyBusinessObject" subclasses ServicedCom... |
|
| MSMQ Triggers 3.0 and DotNet (9 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hello, I'm trying to call a C# class thru a MSMQ Trigger but it refuse to work : The action defined by the rule Test with the ID d2e39b4f 0b7d 4296 a6d0 04430f34163c was not invoked (Error: 0xc00e0e0b). The COM object may not be registered, or the executable file may not exist in your path The problem is that everything seems to be ok because a simple VBS succeed when it create the object and a ca... |
|
| When to use a Serviced Component (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| We have a large ASP/VB based application and we are beginning to move parts of it to .NET. The majority of our application consists of database look ups and single transaction updates/inserts/deletes from the database. There are a few (about a dozen) functions that require multi part transactions and explicitly use transactions in COM (Enterprise Services). My question at the moment (given that AD... |
|
| COM+ components (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi guys! I built some business level components using VS.NET designers. This is one of my components declarations: public class bus Seguridad : System.ComponentModel.Component { ...... } I'm calling these componets from ASP.NET, they are ready to be deployed, and I would like to use COM . How can I "convert" my components to COM components. Should I inherit them from ServicedComponent class ?? Wha... |
|
| AppServer.GetObjectContext.CreateInstance(..) in VB = ?what? in C#.NET (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I'm looking for how to create an instance of COM object using C# ... thank you |
|
| Problem with Regscvs (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I was trying to regsvcs a .dll on my machine using .NET command prompt. However, i was given the following error message The following installation error occurred: 1: Failed to generate type library 'd:\trustedhub\ffmclass\bin\FileFolderClass.t lb' for 'FileFolderClass, Version 1.0.0.0, Culture neutral, PublicKeyToken 3d3f4516e612cacc'. 2: Type library exporter can not load required library MS... |
|
| Static data caching... (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I was looking for an exmaple which showed how you could cache static data on a middle tier server. The data cached is not session dependent but rather static across all sessions. Here is the way I was thinking about. Create a COM component which has two static members Hashtable a hashtable which will be used to store information ReaderWriterLock to synchronize access. All read operations will requ... |
|
| Unknown error from HRESULT 0x8004E005 (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am trying to integrate Com transactions in my app. I have inserted various transactional attributes, signed the assemblies and all that good stuff. However, I'm getting an error which I can't find any info on. "Exception from HRESULT: 0x8004E005" From the stack trace, it's inside maybe the Remoting or EnterpriseServices assemblies (not sure which is really seeing the error). I've searched MSDN o... |
|
| Accessing configuration file from ServicedComponent (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi All, Is there any way that allows access to the configuration file from a ServicedComponent? I have tried ConfigurationSettings.GetConfig("sectionName") but it always returns null ! Any ideas? Thanks In advance |
|
| COM (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I've just started to code ServicedComponent's (COM) using VB.NET. I can compile the following code with the command line compiler vbc. In a client application I can add a reference to this object...and use it.. If I use the very same code lines for an object created within the IDE (ClassLibrary project) I can't add a reference to the object in my client application (IDE application). I get the... |
|
| IDisposable, JITA, and remoting serviced components (8 replies) |
| microsoft.public.dotnet.framework.component_services |
| I'm trying to come up with best practices guidelines for mixing JITA, pooled serviced components and remote/local method calls. * I have a few serviced components (transaction required, which implies JITA, and object pooling is on) that I'd like to use as either local or remoted objects. * I would like to use the same codebase for either local or remote invocation, configured via the application's... |
|
| Inherit ServicedComponent and MarshalByRefObject (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| I would like to make a Serviced Component that uses Remoting, but .Net doesn t support multible inheritance, how do one solve this? |
|