microsoft.public.dotnet.framework.component_services Archive - November 2001
Post a message to this list
Messages
Page: 1
help me please, help with COM+ (3 replies)
microsoft.public.dotnet.framework.component_services
Hi friends!! when run the MSI raise the follow error "Error 1928: Error registering COM Application" thank for your help Victor
MS Queued Component Sample does not Compile/ Register ! (4 replies)
microsoft.public.dotnet.framework.component_services
Hi, I am trying to develop the Queued Component Sample in MSDN/.NET Help. But I am having problems Registering the Server component. ( I only got it to compile by adding extra ')' to Assembly KeyFile attribute and addingt e using Windoes.Forms namespace) I followed the steps: a) Create a Strong Name Key File, QCDemoSvr.snk b) compile the QCDemo Server Component below (as a library dll using comman...
collecting garbage of external resources, such as DB connections (4 replies)
microsoft.public.dotnet.framework.component_services
In my com service, i use SQLManagerProvide for my database operations. while playing around, i also came across with an article about .NET GC where they state the follows "The garbage collector efficiently handles freeing resources from the managed heap, but a collection is only initiated when memory pressure triggers a collection. What about classes that manage limited external resources such as ...
com+ dll debugging (6 replies)
microsoft.public.dotnet.framework.component_services
I have a com service written in c# which gives problems when debugging As I have read , I commented out all the lines regarding com like; [ Transaction(TransactionOption.Supported) ] [ ObjectPooling(Enabled true,MinPoolSize 0,MaxPoolSize 10) ] [ JustInTimeActivation(true) ] [assembly: ApplicationActivation(ActivationOption.Server)] Also i commented out methods Activated, Deactivated, CanbePooled T...
EventTrackingEnabled And MMC Component Services Status View (7 replies)
microsoft.public.dotnet.framework.component_services
All, I create a .NET class (C#) and derive it from System.EnterpriseServices.ServicedComponent. I define the EventTrackingEnabled attribute on this class and set the value to 'true' (or set this attribute through MMC ). MMC does not display any status information for this class while in status view. Has anyone seen this work for .NET/C# classes? If so, what is the 'trick'? Thanks in advance.
What do i need Oracle services for MTS for MSDORA? (3 replies)
microsoft.public.dotnet.framework.component_services
Hi Group, I am trying to use MSDORA provider to connect to oracle. Do I need to use Oracle services MTS from my COM /MTS application. Thanks Peruri.
com service fails when connecting to SQLServer! ? (3 replies)
microsoft.public.dotnet.framework.component_services
/*USING will call Dispose automaticaly*/ using(SqlConnection objSQLConn new SqlConnection("Initial Catalog testdb;Data Source adaptor;Uid login;Pwd login")) { string strSQL strSPName " " strParamList; using(SqlCommand objSQLCommand new SqlCommand(strSQL,objSQLConn)) { objSQLCommand.Connection.Open(); using(DataSet objSQLData new DataSet()) { objSQLData.ReadXml(objSQLCommand.ExecuteXmlReader(),XmlR...
Can't get a serviced component to work with .NET remoting. (2 replies)
microsoft.public.dotnet.framework.component_services
I am able to get non serviced components to remote just fine, but I cannot get a serviced component to remote. This has been kicking my butt all day, and I'm near my wit's end. I have tried both registering my interface & server implementation assemblies in the GAC and/or copying them to the Windows/System32 directory. I even tried making a dedicated hosting application instead of using IIS hostin...
ServicedComponent Activation (2 replies)
microsoft.public.dotnet.framework.component_services
I wrote a simple class that inherits from ServicedComponent, and I got it to install correctly in a COM package that is set to run as a server process. When I make a call into the component, everything seems to work fine and the package starts up. When I look at the package in the Component Services MMC console, however, the "objects", "activated", "pooled", etc fields remain blank for my componen...
Literal content insade a custom control (2 replies)
microsoft.public.dotnet.framework.component_services
How can I make a custom control that will be capable of accepting literal and other controls between its tags??? Whenever I try to use a code like this in aspx page: custom:control id "custom1" runat "server" some text goes here... /custom:control run time compiler reports a parser error with a message: Literal content ('some text goes here...') is not allowed within a 'CONProject.control'. Is it ...
Instantiating COM+ Objects Remotely (3 replies)
microsoft.public.dotnet.framework.component_services
Hello, We have a .NET application that uses COM services for transactions and scalability. Since we are already using COM , I would like to use DCOM to instantiate objects on a different machine. Then I could take advantage of COM Load Balancing and wouldn't have to spend time writing .NET Remoting code. Everything works fine on a single box, but when I try to use a .NET object on a remote box I c...
Asynchronous File Downloads (2 replies)
microsoft.public.dotnet.framework.component_services
Hello again, Is there a built in mechanism for asynchronously downloading files from http servers and receiving progress notifications during the process?? It seems the WebClient methods only operate synchronously. I believe I can write my own class using WebRequest/Response to achieve asynchronous downloading but I'm not sure whether this functionality is already provided in the .NET Framework. T...
Memory Device Contexts / BitBlt ? (6 replies)
microsoft.public.dotnet.framework.component_services
Hi, I'm a C programmer just getting started C# and the .NET Framework. Is there no managed method of having a "memory" Graphics object to do fast BitBlt ing to a Windows Form control during its OnPaint() event to maximum drawing performance? Thanks, Tony
.Net components and Remoting (3 replies)
microsoft.public.dotnet.framework.component_services
Hello: I am new in .Net area. I used to do some middle tier components in MTS. I am going to write some middle components in .Net. I am confused about these three category: .Net component, EnterpriseComponent and Remoting. 1. Somebody told me that I have to inherited from System.EnterpriseServices.ServicedComponent in order to have COM service manager to manage it. 2. Somebody told me that I just ...
Do serviced components have access to an associated config file? (4 replies)
microsoft.public.dotnet.framework.component_services
I've seen the question asked but not really answered. Does a .NET serviced component, run as a server application, have access to an associated config file? I have tried placing the config information in the "machine.config" file, but it appears that there is no attempt to load the file under COM . Thanks, Dolph
objects going back to pool ? (4 replies)
microsoft.public.dotnet.framework.component_services
my com service have wrtitten so taht it uses pooling. i wanted to see wether the Activate / Deactivate / CanbePooled methods are getting called. So in my code i have public override void Activate() { EventLog.WriteEntry("DBAdaptor.Activate","Activated",EventLogEntryType.Infor mation); } public override void Deactivate() { EventLog.WriteEntry("DBAdaptor.Deactivate","Deactivated",EventLogEntryType.I...
.NET calling COM+ object questions (6 replies)
microsoft.public.dotnet.framework.component_services
I have a very simple COM object. It has one class with one function that simply returns my name in string. I have this object installed in COM manager. I use tlbimp.exe to create the type lib required for .Net I reference this newly created type lib from a .NET VB forms app and a ASP.NET app. VB.NET ******* I make the call and get required result. Everytime I call the object i notice the number of...
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