| Com Object has to Identify the caller (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I have a major challange... I need my Com Object to recognize his caller, that is, to be able to keep each user's actions persistant. I was thinking maybe something like threadid or so, but Im not sure how does it work in COM. All I can find in the documentation is how COM is called. there is actually nothing about the caller. is there any way to do that? any suggestion will be accepted and apprec... |
|
| Object Pooling And Transactions (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am having some trouble understanding how object pooling and Transactions work together using ServicedComponents. My first question is do they work together? If they do then what should I do to make them work correctly. Is it simply a matter of setting Transaction.Required and setting the object pool size or do I need to do something special like manually enlisting in a tranaction? If its the lat... |
|
| Bug? CallContext and Server-activated ServicedComponents (9 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am currently tackling the remoting/credential propagation problem. I have created a class that inherits from ILogicalThreadAffinative to store principal information and I place it the CallContext object. If I call a method in a non transactional (transactions not supported) ServicedComponent, I can retrieve the data (and principal) from CallContext just fine. If I call a transactional component'... |
|
| Activation and deactivation of Serviced components (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| QUESTION: How can I control the activation and deactivation of classes within Component services? I have created a simple client/server application with VB.NET and Component services. * The MTS Serviced component contains 1 public class and 1 function which returns a string value. * The Client is a Windows application with a form and a button002 When the button is pressed an instance of the class ... |
|
| COM+ transaction (8 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I have a WebForm that called an object that is marked as Supported Transaction and I always get this error: The requested operation requires that the current context have a Transaction, and it does not If I mark the object as Required Transaction, it works fine. Does anybody know what's wrong? I thought when a non transactional object calls a transactional object and the transactional is marke... |
|
| Derived from Service Component (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I have an n tier architecture with: Webform Bus Dal Db where the Webform calls the Bus, Bus calls Dal, and Dal call DB. I want the transaction to begin in the Bus level. In beta 2, only the Bus component needs to derived from ServiceComponent. The Dal and DB layer did not have to derived from ServiceComponent for the whole operation to role up into 1 transaction. I verified the TransactionID a... |
|
| Must Reference System.EnterpriseService in WebProject (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I have a WebProject that call a BusinessObject (derived from ServiceComponent). When I tried to build the WebProject, I get the error C:\Inetpub\wwwroot\ePaceAdminWeb\bin\ePaceAdminBLL.dll: error CS0011: Referenced class 'CCH.Gfx.ePace.Admin.Demo.NorthWindBase' has base class or interface 'System.EnterpriseServices.ServicedComponent' defined in an assembly that is not referenced. You must add ... |
|
| ServicedComponent in java (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Is it possible to create a ServicedComponent class written in Java, (with Visual j#) If so, how? TIA Ofer |
|
| PublicNotCreatable in .NET and COM+ (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| I'm trying to create an objecthierarki in my .NET application and wants to create objects that is instantiated within my component and returned from a method. I also want to be able to mark my subordinate objects (those that are instantiated within the component) so that they aren't creatable outside the component the reside in. This could be accomplished in VB 6.0 with the attribute PublicNotCrea... |
|
| Memory leak when calling ServicedComponent (12 replies) |
| microsoft.public.dotnet.framework.component_services |
| I notice a severe memory leak when I call a serviced component from a simple c# application. Here is the code : * COMPONENT RUNNING UNDER COM namespace TestMsmq { using System; using System.Messaging; using System.EnterpriseServices; [Transaction(TransactionOption.Required)] [EventTrackingEnabled(true)] [JustInTimeActivation(true)] public class MsmqTx : ServicedComponent { public void GetMessage(s... |
|
| COM+ wrapper for .NET component fails in ASP (8 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I built a .net component that works fine in .net and in Windows Scripting Host, VB6 as a COM callable component. But when I try to create it in regular ASP it fails with this error description: 006~ASP 0177~Server.CreateObject Failed~ClassFactory cannot supply requested class Any ideas how I could solve this. Thanks, Bjorn PS. I use regasm and gacutil to register it as a COM callable component... |
|
| MDAC and RPC (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I upgraded the MDAC to the ver 2.7 and now no asp pages work, they all give me the error Remote Procedure Call failed, Anyone else have this problem? Thanks, Dave |
|
| .NET ServicedComponent problems: Object reference not set to an instance of an object. (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am just having a ton of problems deriving from ServicedComponent class. I have the following error message coming from a simple test component that derives from ServicedComponent: Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and... |
|
| Help ! EJB and COM+ (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hello everybody I am creating an application on the .NET platform which is being developed simultaneously on the Java platform. My requirement is as follows: On the Java platform, they have an application server like Weblogic. They are developing this as an EJB. When the application server starts the EJB is instantiated which reads a XML file and creates objects. Any calls from JSP pages gets the ... |
|
| ComException in Serviced Component (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am writing a transaction test application so that I can get a handle on transaction management in .NET. In this application, my serviced component attempts to open a database connection. When I invoke the Open() method on the SqlConnection object, the following ComException is thrown: "The transaction has already been implicitly or explicitly committed or aborted" My code has done neither. I hav... |
|