| Can't write to the event log (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I have a com component that I can call either from a VB.NET client or a VB 6.0 client, trouble is that when I call from the vb 6.0 client I cannot write to the event log, but the .net client has no problems. Is there a security setting for the event log that needs be be set? Any ideas out there? Thanks, Kent |
|
| NET/C# queued component and C++ client (3 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I have a C# queued component registered on 2000 (had to install .Net framework there). Now I'm calling CoGetObject() in C client getting valid pointer for queued object and everything looks fine except there is no messages in the queue after method call (queued component is not started). What might be a problem? |
|
| How to invoke remote COM+ component in .NET (3 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I wanna invoke com components hosting in another computer, all application including com components were written with Microsoft Visual Studio.NET 2003, but I don't know how to do it? Someone can help me? snippet codes or articals? Any help will be appreciated! |
|
| Is COM+ Really Going Away? (6 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Last week some colleagues of mine returned from a Microsoft training class on Web Services with the notion that Web Services are replacing COM . This is what the instructor (a Microsoft employee) told them. This seems naive to me, since COM encompasses much more than what web services can provide (DTC, MSMQ, etc). So I think this instructor may have been speaking from inside his own little bubble.... |
|
| Articles on Transactions in .Net? (3 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Hi everyone, I'm currently using COM in my distributed transactions, and it's time to port the VB 6 code over to .Net. Better late than never. Could someone point out a few articles on COM transactional "equivalents" in .Net, to get a fellow started with? I'm assuming .Net has its own twist on transactions and doesn't rely on COM , but maybe not? Thanks. Jim |
|
| COM+ Application Administration (4 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I need to change the identity (user name and password) that a COM application is running under on a remote machine. Does anyone have an example of remotely administering COM applications in .NET? Thanks, Tres |
|
| It doesn't work with Oracle8i in .NET COM+ (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I write an application with VS.NET2003 C#, I use com to handle transaction of database, my database is Oracle8i, when I call db.Open(), I always get an error message: Can't load oramts.dll, I don't know what this message means. So, Anybody can help me. Tks. |
|
| BUG: comrepl & windows server 2003 (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, We use the com replication tool comrepl. This utility has a known bug with proxy applications http://support.microsoft.com/default.aspx?kbid 819978 It is also known that this bug has a fix on post sp4 hotfix (written in the article). I used comprel between 2 windows 2003 servers and the proxy problem also occur. How can we overcome this issue? Thanks in advance, Hadar |
|
| COM+ and dlls in VB .NET (urgent) (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| This looked pretty simple to me at first, and perhaps it still is, but I havnt been able to find out just what the trick is. Basically the aim is to compile a dll from VB .NET, which can be read using previously written Java code (or anywhere else) which reads and executes the methods within the dll, im using rundll32 (in system32 folder), or PE Explorer to test whether this is working, however, I... |
|
| Registering an assembly in multiple COM+ applications (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Is it possible to register the same ServicedComponent class in multiple COM library applications? What are the ramifications of doing so? |
|
| Serviced Component & inheritance (3 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I have a C# component which has two classes, one is a base class class & the other is the child, I want to add this component to COM , I know I need to inherit the ServicedComponent class, but where should I do it in the base class or the child class. Also how can I do it in the child class as its already inheriting the base class. ANy help is appreciated. Thanks, From: Nikhil Sarathi Posted by a ... |
|
| 1st Windows Service - how to register dll? (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I just created a VB.NET windows service. [Project 1] I have another CS.NET project [Project 2] within the same solution. [Project 1] compiles and leaves Project1.exe.. fine. [Project 2] compiles and leaves Project2.dll How do I use Project2.dll?? It seems that I need to register the dll, but when I try it says it cannot be registered. Ideally, I could compile [Project 1] and within the .exe would ... |
|
| QueryInterface for System.IDisposable failed (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am having a serviced component which is working fine when i run with a test windows application. The same when i deploy on com server and call it through webservices, i am getting the following error "QueryInterface for System.IDisposable failed" can anyone help me in this. |
|
| problem creating outlookattachments from ServicedComponent (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I am trying to interop with Outlook from a serviced component See attached code below. I am running my component inside a hostprocess (dllhost). I succeds in creating the application object and the MailItem object, but fails when I try to add an attachment. When I run the same code as a standalone exe everything works just fine. My target os is Win2k server Please help me.. Component Code: using S... |
|
| With or without COM+ architecture decision (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I'm facing a dilemma in architecting middle tier software. My business logic layer needs only two of services, usually provided by COM : object pooling and transaction management. I am trying to avoid using Enterprise Services, because there is some unnecessary overhead involved. I successfully implemented my own remote objects pool. It performs almost six times faster than COM object pooling,... |
|
| Why doesn't component services show my methods? (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi everyone, I have a ServicedComponent containing some public functions. I notice that these functions doesn't show in Component Services in XP, however they work fine. This behavior is different from old COM . Will this cause any problems? Is there anything I need to do? Thanks in advance, M.Sameer |
|
| How to make a ServicedComponent Singleton or Statefull? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi everyone, I need to make my ServicedComponent Singleton because I noticed that each method call creates a new instance which is kind of behavior I don't need and it caused me problems. Making the component statefull may solve the problem too. Do anyone know how to do that? Any examples? Thanks in advance M.Sameer |
|
| ServiceConfig - TransactionIsolationLevel (4 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Hi Does anyone know if it is actually possible to drop the isolationlevel to say...ReadUnCommitted? I have tried the following: objServiceConfig.IsolationLevel EnterpriseServices.TransactionIsolationLevel.ReadUncommitted This seems to have no effect. I have tested on WinXp Sp1 and Win2003...same be4haviour Any help/advice would be greatly appreciated. |
|
| regsvcs and FCL types (5 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Hi all, I've just recently started playing with Serviced Components in C#. I've defined a type like: [Guid(...)] public interface IFoo { void Method(); } [Guid(...)] public class Foo : ServicedComponent, IFoo { public void Method() { // ... } } When I run regsvcs.exe on the resulting assembly, the type is registered in COM as expected, but so are a number of FCL interfaces and classes; Object IDis... |
|
| Bug in ServicedComponent.Dispose? (8 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I'm having a problem with a Serviced Component Try Finally Dispose pattern. When running in a server application, disposing the object after it has called SetAbort throws: [COMException (0x8004e003): You made a method call on a COM component that has a transaction that has already aborted or in the process of aborting.] I understand that when the object calls SetAbort, it is indicating that it is ... |
|
| ASP Request Object FROM .NET (7 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi All, I have created a .NET Component and by using rgsvcs.exe i'll be keeping that component in COM . This component is gets created by both ASPX and ASP Pages. Everything works fine in .NET(aspx) side. My Problem is i am not able to get the reference to ASP Request Object when this component is called by ASP Page. Code is as follows if (HttpContext.Current ! null) /* ASPX call */ { System.Web.H... |
|
| Com+ - when to use ? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hello all, My project has many layers SI (sevice component), Orc (Orchestration), BL &DAL. Nowdays i'm using com for every layer (Si is a service component, others are plain library components). My question is should i use com other then for the si? will com slow the performance of the application (or maybe accelerate it?) well, i'm a bit confused.. Nico |
|
| Newbie question -on enablecommit and disablecommit (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi All, 1)enableCommit Sets the consistent bit to true and the done bit to false in the COM context. but could some one explain a senario(example) when one would use this method. in other words an example on when one would want to sets the consistent bit to true and the done bit to false . i could see the description for these methods in msdn but could not find a sample which would explain when an... |
|
| When a component is configured to use COM+... (5 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| I've come across some documentation from Microsoft that states: "When a component is configured to use COM , it must reside in only one COM application." I'm having trouble interpreting this. They cannot be stating that a component can only be used by a single COM application. What are they saying? |
|
| Hosting JScript - .NET Automation (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi. I'm not very familiar with this area of .NET but I need a general overview of how to host JScript in my application? What I want to do is for users to be able to write scripts so they can automate the app (it's going to be a Winforms program). Thanks. |
|