| Why Interface? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I hosted one of .Net Component in COM . Everything is OK, but I'm not able to see the methods in COM explorer. Somebody mentioned in the newsgroup, if we Implement an Interface/Derived from , then the component in COM explorer will show all methods. It did. But if anybody can give an explanation why we need to have an Interface to show the methods. what's the logic behind that??? TIA Palpy |
|
| Performance of creating ServicedComponent (12 replies) |
| microsoft.public.dotnet.framework.component_services |
| I have a trivial .Net class, and I can create instances of it at the rate of about 100,000 per second. Make it a ServicedComponent, with TransactionRequired, and the creation rate drops to about 300 per second. Object Pooling does not appear to improve the create rate. This was my test: set attribute [ObjectPoolingAttribute(true,100,10000)] create 2,000 instances. Dispose of them create 2,000 more... |
|
| any example of accessing ServicedComponent on client side? (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| as i couldn't find any exmple of accessing ServicedComponent,hosted on server,on client anyone can tell me how to do that(or some link)? |
|
| URGENT: COM+ & .config files ? (6 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi Guys, I've built a WebService that uses some .NET components. Those components get info from a web.config file. Now I want to insert those components on a COM Server package, but now my components can't read the params from the ..config file (that's because they're in a different process dllhost.exe). How can I use a .config file from a COM Server (not library) application?? Thank you so much f... |
|
| Possible bug in Win2K hotfix #9 (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Install hotfix #9 on remote server. Export assembly and install on Win2K VS.NET box. MSI installs: the assembly .tlb mscoree.tlb mscorlib.tlb System.EnterpriseServices.Thunk.dll System.EnterpriseServices.tlb Uninstall ComPlus Application. Re build assembly with Register for COM Interop checked. Build error occurs: COM Interop registration failed. Type library exporter can not load required library... |
|
| Win98 issue: Err 429 from .Net in Com+ (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Also posted to .framework.setup I created this simple assemby with VS.Net on a Win2K box and installed it on a Win2K server in Com : Imports System.EnterpriseServices ComClass(), TransactionAttribute(TransactionOption.NotSupported) Public Class Account Inherits ServicedComponent Public ReadOnly Property Balance() As Single Get Return 100 End Get End Property End Class I exported the package and in... |
|
| Simple question: finding the key.snk file (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| hello, the .snk file i created is in the SolutionProjectDirectory\ProjectDirectory\obj\Debug in the AssemblyInfo.cs file AssemblyKeyFile("..\\..\\SomeKey.snk") i keep getting a: Cryptographic failure while signing assembly 'C:\Teamplate.NET\TeamplateBLL\obj\Debug\TeamplateBLL.dll' 'Error reading key file '..\\..\\TeamplateBLLKey.snk' The system cannot find the file specified. ' i remember having t... |
|
| Guidelines for .NET DCOM remoting (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I am wondering if there is some kind of guidelines for remoting .NET classes over DCOM. I lot of people, including myself, are confused by this subject. Partial list of issues that are not clear are: OS required on client and server (XP / 2K / 2K SP3, COM hotfixes) Is NET Framework required on the client? Does client need to have all classes listed in server manifest if object is server activa... |
|
| Web Service and COM+ (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hello: I am designing the architecture of our solution. I am confusing about the middle tier Implementation. We used to use MTS or COM as application server to host our middle tier component before. Right now we are going to provide WebService as well as presentation layer. And I read an article talking about using Web Service as middle tier solution. I could not find that article anymore. I know ... |
|
| passing object as parameter to a queued component in .net (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Platform : .Net , Serviced Componets I have a class [Serializable] public class myclass { public string str1; public myclass() { str1 ""; } } I have queued component defined as follows: [InterfaceQueuing] public interface IQComponent { void DisplayMessage(myclass m1); } public class QComponent : ServicedComponent, IQComponent { public void DisplayMessage(myclass m1) { MessageBox.Show(m1.str1, "Com... |
|
| How to design ServicedComponent's. (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi. I need to design my serviced components like an ordinary Component. Because ServicedComponent doesn't derive from System.ComponentModel.Component it is not designable by default. I added [System.ComponentModel.DesignerCategory("Component")] attribute to a ServicedComponent class. But the designer complained that it couldn't design the base class ServicedComponent. Any help greatly appreciated.... |
|
| Can Message sinks work with Serviced components (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| In standard (non Serviced) .NET classes, I can attach a MessageSink and intercept SyncprocessMessage() requests fine by deriving from ContextBoundObject. This way I can trace in/out args etc. If I try and do this for a Serviced Class (derives from ServicedComponent), this does not work, even though ServicedComponent is itself derived from ContextBoundObject. Does anyone know why this would be? i.e... |
|
| ServicedComponent "hang" during stress - BUG or behavior? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| This is something for MS to take a look at. Be patient and read it all, the interesting part comes at the end. I'm experiencing some problems when I stress my components written in VB.NET. I have a multitier application (Facade, Business, Data) and they all derive from ServiceComponent. Both Business and Data components have the "AutoComplete(True)" attribute set on every method and all objects in... |
|
| A large bang in ExecutionEngine when attempting to pool... (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, If I run a component that derives from ServicedConponent, and implements the Activate / Deactivate /CanBePooled, AND returns true for the latter, I get an exception caught in ExecutionEngine. I can tell it's around the point where the object is attempting to be returned to the pool since the actual function DoSomething() works absolutely fine. If I set the return from CanBePooled to false, all... |
|
| How to send the object as the parameter to a Queued components method in .NET (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| Platform : .Net , Serviced Componets I have a class [Serializable] public class myclass { public string str1; public myclass() { str1 ""; } } I have queued component defined as follows: [InterfaceQueuing] public interface IQComponent { void DisplayMessage(myclass m1); } public class QComponent : ServicedComponent, IQComponent { public void DisplayMessage(myclass m1) { MessageBox.Show(m1.str1, "Com... |
|
| Long running queue processor serviced component (10 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am planning to create a multithreaded queue listener as a windows service using serviced components in a COM library application. I want to use a serviced component to get distributed transaction support for receiving from the queue and updating the database. I do not want to use COM queued components. a) The serviced component will only be called once in the lifetime of the windows service thre... |
|
| COM+ administration (7 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi: Is there anybody know how to use .net to start or shut down a com server application. thank you qiyue |
|
| Question about Transactions support in COM+ (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi All, i have an urgent question about com in .NET, can someone from the MS clear up what's the cause of the runntime error, DTS configuration problems??? I am on a Windows 2000 Professional workstation and using a COM object to eventually access data via the Microsoft SQL Server connectivity objects (SqlConnection, SqlCommand, etc.). I understand that COM defaults to the "Serializable" transacti... |
|
| Databinding Problem (4 replies) |
| microsoft.public.dotnet.framework.component_services |
| I've got a componet that returns a dataset that then binds to a datalist control: ecs.Pages oPage new ecs.Pages(); dsContent.DataSource oPage.GetPageData("en","location"); dsContent.DataBind(); That works fine. In the html code I have the following: table Width "565" asp:DataList ID "dsContent" Runat "server" ItemTemplate tr td p FONT size "1" face "Verdana" %# DataBinder.Eval(Container.DataItem, ... |
|
| Context flow on .NET COM+ components (5 replies) |
| microsoft.public.dotnet.framework.component_services |
| In VB6 I designed a COM library with only a single publicly creatable class. This class was the entry point for other PublicNotCreatable class in the same library and this was neccessary to control initialiation of the child classes. Using this technique, the COM Context actually moved to the child classes witout me having to do anything special. Great! I now try the same in .NET, but the COM Cont... |
|
| COM+ SqlConnection Question (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| I have a .NET COM data object that has been created to take advantage of the ability to run under a specific user identity. The use of Trusted Connections with sql server is a necessity due to coroporate security policy. The problem I run is to is if I try to pass in order return a SqlConnection object from that COM component. I have tried returning it through a byref call and also as a return val... |
|
| 'Server' Serviced Components (4 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi all, I've been having some problems getting my serviced components to run as 'Servers '. I created a test Data Access Layer (DAL) Component ran it as a library, and it works fine, when I changed the activation type to server, it complains about not having a communication channel sink when I try to execute specific methods. The methods that complain all have something in common, they are passed ... |
|
| Cannot get ServicedComponents to run in Tx Context... (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Here is my scenario: TestEXE (Console App) references..DLLBusiness (Class lib) assembly Business references..DLLData (Class lib) assembly Data Both DLLBusiness and DLLData contain one Serviced Component each (as well as non serviced components). Both ServiceComponent Components are set to (Tx Required) and (JustInTimeActivation true) I am using AutoComplete to handle the transaction voting and dea... |
|
| EMail Client / Component (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, Does anyone know of code (or component) that is available for .NET for email functionality; I'm building an application and would love to incorporate a pop & smtp client into my app. Also, a web browser would be great to....I'm a little behind in development for this release and would love not have to develop from scratch these modules. Doug |
|
| HELP! The class <> has no class interface (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I created a component: sybclass of ServicedComponent, and when I am trying to register it I am getting the following warning: C:\work\ComPlusComponent\bin\Debug regsvcs ComPlusComponent.dll Microsoft (R) .NET Framework Services Installation Utility Version 1.0.3705.0 Copyright (C) Microsoft Corporation 1998 2001. All rights reserved. WARNING: The class 'ComPlusComponent.Class1' has no class in... |
|