| COM+ Application ReCycling For Memory Leaks ? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I have a Client Server Application which uses .NET Remoting. The Server side objects are hosted in COM as a Server Application on Windows 2003 Server[COM 1.5]. After running the application for about 1 1/2 to 2 days, I notice that the DLLHOST is taking about 1 GB and the Server crashes giving a SystemOutOfMemory Exception. I am wondering if COM Application Recycling is a solution to this probl... |
|
| Cusom exceptions and COM+ (4 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I am having problems with custom exceptions in COM , I have read the article in MSDN (march 2004) and implemented the correct features.... The custom exception class derives of ApplicationException and also has the [Serializeable] attribute and has a Serialization constructor and overriden implementation of GetObjectData.... [Serializable] public class BaseException : System.ApplicationException, ... |
|
| Event 4437 (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| The event log shows the information below. Running windows standard 2003. The Component services shows the computer red and I can not get in to look around. Any ideas? The account that the MS DTC service is running under is invalid. This can happen if the service account information has been changed using the Services snap in in Microsoft Management Console (MMC). MS DTC service will continue to s... |
|
| ErrorRaise from within SP - does it doom the transaction (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| If I call ERRORRAISE or SQL Server raises an exception from my stored proc will it doom the transaction? I am getting that type of behavior. I was anticipating being able to trap for a specific *exceptional* condition and reacting, but when the exception is raised from my sp or sql server it appears to rollback everything I attempted. Kevin |
|
| Configuration file for a COM+ DLL written in .NET (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, i have a DLL hosted in a COM application on server A. I need to find a way for my DLL to access a XML configuration file on that server instead on the server B that is the caller (IIS for instance). The construction string in COM console will does not suffice. Any ideas ? thanx *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|
| Error when trying to return a array from a COM+ Object (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I have written a COM DLL in vb.net to return all the user samaccount name in a given OU. The results are returned as a dataview. As the ASP.NET page calls the function from the COM it fails with the following error: The type System.Data.DataView in Assembly System.Data, Version 1.0.5000.0, Culture neutral, PublicKeyToken b77a5c561934e089 is not marked as serializable. I tried just returning one na... |
|
| Performance .NET dll vs COM+ (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| My question is: Would I gain anything from COM vs using a dll that just runs store procedures that only select data, not inserts, updates or deletes on a SQL Server 7.0 database? The application that would used this is an ASP.NET application on an intranet (possiblely internet later) for approxiamately 20 users. Any configuration suggestions would also be greatly appreciated. Server resources are ... |
|
| newbie question (object persistence across client method calls) (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi All, I have written a C# class derived from ServicedComponent which generates an assembly (dll) that I put in the GAC and then do a regsvcs against it (it shows up in the Component Services MMC console). I want the component/object to not be deactivated across client method calls. So from reading, I have (see below). Normally, I would crank up the debugger and figure this stuff out for myself b... |
|
| Same DB Connect string for multiple COM+ Components? (9 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am looking at a COM server application that will have several components all doing database access against the same database and therefore needing the same connect string information. What are the best options for getting the same string into the multiple components? I have kicked around a few ideas but nothing seems quite satisfactory. 1. I typically like using constructor strings but that is s... |
|
| IIS hanging in ASP.Net/Component Services (7 replies) |
| microsoft.public.dotnet.framework.component_services |
| We are experiencing a problem with component services in .Net and IIS. We use component services to handle transactions against SQL Server. At some point of usage, IIS will hang up and the lowest level in the stack trace is at System.EnterpriseServices.Thunk.Proxy.CoCreateObject and also sometimes at System.EnterpriseServices.Thunk.Proxy.RevokeObject. Each thread that comes in after this gets stuc... |
|
| InvalidCastException on instance creation (7 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, After a few days of operation, we sometimes get an InvalidCastException on the creation of an instance of a COM library type component (written in C#) : Exception: System.InvalidCastException Message: CoCreateInstance returned an unexpected type: expected Vmw.W8.CommunicationService.Business.Services.MeldingService, received Vmw.W8.CommunicationService.Business.Services.HandTerminalCommunicati... |
|
| Queued Component = passing objec param (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi all, Using VB.NET and Active Directory, I am trying to pass an object, converted to byte array, to a queued component on Win2K. The converted message goes into the queue but is dropped to the retry queue when the component is started. I thought we were supposed to be able to pass primitive types without using IPersistStream. And yes, I have read the code at http://www.codeproject.com/csharp/obj... |
|
| Xml Indexer Issue - ServicedComponents: Help! (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Has anyone seen this issue? I have an XML document that I am looping through nodes to get attribute values. My class is derived from ServicedComponents (a requirement for Biztalk). When I run through the debugger, I can see the attribute values in the 'Locals' list but I am getting a message that says 'object doesn't have an indexer'. The weird part is when I remove ServicedComponents from my clas... |
|
| "Access Denied" to ICatalogCollection from asp.net web service (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am trying to access the transients subscriptions for a remote COM server from an asp.net web service, the problem is access rights to save to the local transient subscriptions, the code fails when I attempt to call 'SaveChanges' a System.UnauthorizedAccessException is generated. So what access rights to I have give to the asp.net process for it to work or do I have to use impersonation to setup ... |
|
| FileSystemWatcher (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Not sure if this is the right room but has anyone found a good fix to work with the FileSystemWatcher raising multiple events for the Changed event? |
|