microsoft.public.dotnet.framework.component_services Archive - January 2003
Post a message to this list
Messages
Page: 12
Urgent deployment issue with ACCESS Application object (2 replies)
microsoft.public.dotnet.framework.component_services
We have a VB.Net WinForms application which references "ACCESS Aplication object" for doing DB management type actions (Compact and Repair, DB copy, tables copy etc.). The application is developed on WIN XP PRO. We reference the ACCESS 10.0 dlls after following the instructions in MSDN KB 317157. The application works fine on our development machines (where we have ACCESS 2002 installed). When we ...
XP can't connect to COM+ service components. (5 replies)
microsoft.public.dotnet.framework.component_services
Hello All, We have been working a project form some time with multiply service components with no trouble. On Windows 2000 all the clients work fine. BUT all the XP machines bomb when they try to access the components. Same export is installed on both PCs. The only difference is XP and Win2K. Here is what the Error message looks like. See the end of this message for details on invoking just in tim...
Architecture Question: Remoting vs COM+ (16 replies)
microsoft.public.dotnet.framework.component_services
I need some architectural advice on this. I haven't been able to find much information in this area. I understand both COM (aka Component Services aka .NET Enterprise Services) and .NET Remoting to a reasonable level of proficiency. Some may argue they are two completely different animals, but they do share some similarities. And in some situations either can be used instead of the other. So here'...
How to config my Com+ dll to let remote computer call it? (2 replies)
microsoft.public.dotnet.framework.component_services
I regsvcs my com component in a certain computer(windows 2000 professional), and call it via a another computer(windows 2000 professional). But a SecurityException occured. I changed the default setting to allow accessing and launching by domain users via dcomcnfg tool. But the problem is still existing. Any suggection? And forgive my limited level of English. Kamp
Does .Net offer tool like CliReg32.exe to VB to help register components on the Client? (2 replies)
microsoft.public.dotnet.framework.component_services
Hi, there. Does .Net offer tool like CliReg32.exe to VB to help register components on the Client? Or Can I register my component on the client programmatically? I found the COMAdmin object will not help to perform that. And exporting msi file from server does not provide enough flexibility as CliReg32.exe. I also found what msi proxy file done really got me confused. Here they are: My component's...
Remoted COM+ component referencing non serviced component (2 replies)
microsoft.public.dotnet.framework.component_services
I have a component in com that references a non serviced component. When referenced from a client application (via remoting) it work fine as long as the application is set to library (not server). When set to server I get an error saying a client sink channel is not configured. (as a side point i have to also put the non serviced component in the gac when running in server mode or i get an excepti...
ActiveX EXE in .NET (5 replies)
microsoft.public.dotnet.framework.component_services
Hi guys, I am working now with Visual Studio.Net and I need a non stateless component similar to ActiveX EXE projects in VB6. The real case is that I have several (150) ASP.NET sites (working on one web server) that need R/W access (xpath queries) to same information stored currently in XML file. The issue is slow loading of the file because of the size (1MB). The component will cache the data int...
COM+ \ Serviced Components \ COM+ Catalog (6 replies)
microsoft.public.dotnet.framework.component_services
Hi, Does anybody know what namespace \ classes I can use to manipulate the COM Catalog? I am already using RegHelper.InstallAssembly to install the assemblies. But I need to add security details such as roles and users etc. Can anybody point me in the right direction? TIA, JAS.
Object Serialization not working as expected (2 replies)
microsoft.public.dotnet.framework.component_services
Here's my report object in it's infancy.... I've added the serializable attribute on all of my components... I've implemented ISerializable in my toplevel component, when I store the object in the database I see the size increase as I add more properties, when I deserialize the object I have no properties... I am unsure what the problem is... Do I need to call Implement ISerializable and call GetO...
Problem with using XML validating reader in serviced component (2 replies)
microsoft.public.dotnet.framework.component_services
I am trying to validate a string and return the message if it fails. But because the messages of the parsing are called by and event and therefore on a different thread they don't see the member data of my object (this worked fine outside of component services). Because .net validating reader uses a callback on a different thread that can't see my object instance data I am kinda stuck. Any suggest...
Problem with Construct method on ServicedComponent (2 replies)
microsoft.public.dotnet.framework.component_services
I have a component that overrides the Construct(string) method of ServicedComponent. The attributes, and Construct method follow. Here is my problem the variable GPCommunications has a value of false immediately after I explicitly set it to true in the Construct method. Can someone explain what I may be doing wrong? This is happening in a development environment. The component is called from a web...
windows.net rc2 error message (3 replies)
microsoft.public.dotnet.framework.component_services
Has anyone received this error in Windows.NET Server? I upgraded to RC2 and I now receive this in my app... Note: the app was working in RC1 before I upgraded. MESSAGE: The transaction manager has disabled its support for remote/network transactions. SOURCE: mscorlib System.Runtime.InteropServices.COMException (0x8004D024): The transaction manager has disabled its support for remote/network transa...
Interface Methods instead of Class Methods (3 replies)
microsoft.public.dotnet.framework.component_services
On GotDotNet I've read following: "ServicedComponents that are hosted in a Server application and called from another process or machine should implement interfaces and have the clients call on these interface methods instead of the class methods not associated with interfaces. There are less serialization costs involved" Could somebody please elaborate on this? How big is the difference? Why ther...
Parameterized constructors in Serviced Component? (2 replies)
microsoft.public.dotnet.framework.component_services
MS documentation describes restrictions that aply to Serviced Components based on component client type: http://msdn.microsoft.com/library/en us/cpguide/html/cpconservicedcomponentprogrammingguidelines ..asp While COM clients cannot use Serviced Component parameterized constructors, .NET clients doesn't have documented restrictions. So... I suppose I can have a library serviced component (Activati...
BYOT works under XP Pro, fails under 2000 Server? (5 replies)
microsoft.public.dotnet.framework.component_services
I have a ServicedComponent that I need to enlist in a distributed transaction. During my development under XP Pro, the process worked beautifully, but when I deployed the component to a Windows 2000 box (actually, I've tried it on more than one), the BYOT.CreateWithTipTransaction call fails with a COMException(0x8004D00E) at ICreateWithTipTransactionEx.CreateInstance and the following error in the...
ASP.net Copy Project causes InvalidCastException when calling .net ServiceComponent (3 replies)
microsoft.public.dotnet.framework.component_services
We are developing a solution on behave a customer. This solution is a Asp.net solution using .net components we have developed for the solution. We use the copy project function to push the solution to the customer. Steps used to push the updated solution to the customer. 1. Get Latest versjon from Source Safe 2. Rebuild Project with Release configuration. 3. Shutdown all package in Com on the rem...
How to register com plus components programmatically on the remoting client without COMAdmin Object? (2 replies)
microsoft.public.dotnet.framework.component_services
As the title, How can i perform that? I can register the com plus component properly on server via RegistrationHelper and RegistrationServices, but meet problem on registering on client machine. And more i don't want to export the *.msi file to the client.
Non Com Visible types (2 replies)
microsoft.public.dotnet.framework.component_services
VBNet COM Can anyone help. I am try to use this following structure as an argument, passed in by dotnet client, remoting over TCP to an object with this structure declared in . When I install it using regsvcs it says that: Type library exporter warning processing 's SQLParameter.Direction, GeneralServi ce'. Warning: Non COM visible value type System.Data.ParameterDirection is bein g referenced eit...
Error using Serviced Component (4 replies)
microsoft.public.dotnet.framework.component_services
Greetings, I have a EXE File that calls functions in a Serviced Component. When I exit the main Windows Form I get the following error: A first chance exception of type 'System.InvalidOperationException' occurred in mscorlib.dll Additional information: Handle is not initialized. The program '[2420] MMUI.exe' has exited with code 0 (0x0). If I remove all the transaction code from the Serviced Compo...
Access .Net Windows Application from Unmanaged Code (2 replies)
microsoft.public.dotnet.framework.component_services
We all know unmanaged code can access .net class library(.dll) with ClassInterface(ClassInterfaceType.AutoDual) setting. Now I want unmanaged code start my windows application and transfer some data to that application. I have tried to createobject one router class library, in this dll I start my application process, and when my application formload, it can get data from commandline arguments. But...
CallContext and ServicedComponent (2 replies)
microsoft.public.dotnet.framework.component_services
Hi All, I am trying to use CallContext.SetData to pass some information to a serviced component I am using. I want the serviced component to "reach" up into the context to get, for instance, the name of the user that invoked the component. I can't use the SecurityCallContext as the user information does not originate in any form of Windows authentication. I tried to use the same technique as illus...
aspx page communicating with windows service (3 replies)
microsoft.public.dotnet.framework.component_services
Hello, I have a windows service application, and I would like to be able to communicate with this app via a aspx page. Basically, I want to send a command (or call a method) that will let the service know it is time to do something. Currently I am adding a row to a Job table in a database, and having the windows service periodically look into that table to see if there is anything to do. I have he...
Problem accessing a .Net Com+ component remotely (6 replies)
microsoft.public.dotnet.framework.component_services
I have not been able to find an answer regarding this issue that I am having via searching, so here goes: I have created a very basic C# .Net component in an assembly called Math.dll that I registered as a Com application. I am not having any problems with this step. When I call a web service on the same machine as the Com server, I have no problems accessing the component. Next, I used the export...
.NET Enterprise Services, VB.NET, and ByRef (4 replies)
microsoft.public.dotnet.framework.component_services
Hello, I have been told that you cannot pass ByRef parameters between COM applications (DLLHOST.EXE) with .NET components. Is there anyone that can explain this or point me to a document that explains this? Thanks
how to use System.DirectoryServices to get the user group a particular user ID belongs to ? (3 replies)
microsoft.public.dotnet.framework.component_services
I have tried this: string loginPath "WinNT://" Environment.MachineName ",computer"; System.DirectoryServices.DirectoryEntry AD new System.DirectoryServices.DirectoryEntry(loginPath); System.Collections.ArrayList users new System.Collections.ArrayList(); System.Collections.ArrayList groups new System.Collections.ArrayList(); System.Collections.ArrayList services new System.Collections.ArrayList(); ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification