com+

How do I properly register the Type Library of A VB.NET COM+ Component?

人走茶凉 提交于 2019-12-12 02:08:13
问题 I am looking to upgrade legacy VB6 COM+ components to VB.NET components. I have seemingly upgraded one already, called EventPackage, which has one class, IEventListener. Another, TradeOrders, Implements EventPackage.IEventListener . When attempting to build TradeOrders, I get the following Errors/Warnings; Cannot load type library for reference "EventPackage". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) The referenced component 'EventPackage' could

Why is my COM object not displaying methods in Component Services?

谁说我不能喝 提交于 2019-12-11 06:41:55
问题 I am trying to create a COM object and register it under COM+. Everything seems to go well, but when I look in Component Services and drill down through Console Root | Component Services | Computers | My Computer | COM+ Applications | TestCom | Components | TestCom.Com.MyCom | Interfaces | _MyCom | Methods I do not see my method listed. In my project properties I have signed my assembly. AssemblyInfo.cs: [assembly: ApplicationName("TestCom")] [assembly: ApplicationAccessControl(false)]

Cannot export a 32-bit ServicedComponent from COM+ Catalog using Windows 7 or Windows Server 2008 64-bit

浪子不回头ぞ 提交于 2019-12-11 06:09:43
问题 Using Windows 2003 Server or 2000, generating a COM+ application proxy for use on another system, includes .NET Enterprise Services components within the MSI package created during export. The .NET components are also registered in the GAC and regsvcs runs automatically during installation of the application proxy. However, we have discovered that Windows Server 2008 does not include the assembly. It will include the .tlb but not the .dll, nor install it in the GAC, and of course everything

Setting application recycling settings for COM+ component from code / command line

柔情痞子 提交于 2019-12-11 04:24:31
问题 I have following question: How can I from c# code or command line script configure Application Recycling settings ? ( please see screenshot below ) I did not succeeded to find appropriate .NET attributes Your help will be very valuable Thanks in advance 回答1: Setting Application Recycling properties of COM+ application is certainly not possible with .bat script per se. To my knowledge, there is no .NET attribute or System.EnterpriseServices helper for doing that either. COMAdmin is a way to

Locating the source DLL behind a COM+ ProgId

假装没事ソ 提交于 2019-12-11 04:17:49
问题 I've never really had to debug Classic ASP, so this is a little rough and most likely a poor question, but I have done as much research as I could before asking. I have a request to identify what code prints to a printer, and re-use that code in a new page that someone has built. While trying to identify that, I've stumbled on a few things that I don't understand, but namely one big one. The gist is, people can order cookies from the cafeteria, and when they submit, it shows a confirmation

Wix - ComPlusAssembly - Could not install type library

China☆狼群 提交于 2019-12-10 20:52:34
问题 I'm new to Wix and I have ran into a problem that I'm obviously not able to solve on my own, so any help will be very much appreciated. Quick background: I'm representing a software vendor building a comprehensive suite of SOA based applications for deployment in large enterprises. Our architecture consists of many layers which may be installed/upgraded independently, so I'm building several installers, composing from the ground up (like: platform, core framework components, service layer,

Powershell setting COM+ Enforce access checks for this application

拜拜、爱过 提交于 2019-12-08 11:52:33
问题 I'm having problems figuring out what is the Powershell string for choosing the "Enforce access checks for this application" under the Security tab of the properties for that application. Here is what I have so far for Powershell in choosing other things: $comAdmin = New-Object -comobject COMAdmin.COMAdminCatalog $apps = $comAdmin.GetCollection("Applications") $apps.Populate(); $app = $apps | Where-Object {$_.Name -eq $targetApp} $app.Value("Identity") = $identity $app.Value("Password") =

COM Interop, RPC server is unavailable in c#

*爱你&永不变心* 提交于 2019-12-07 06:24:25
问题 I am using a COM Interop and i am instantiating the COM class object from the interop dll So, few times the object is instantiated successfully and make remote procedure calls without any problem but sometimes it throws an exception like RPC Server is unavilable. The COM Component i am using is written in VB and i am consuming that component in c#. So, can anybody tell me the possible reasons for the problem(RPC Server is Unavailable) and solutions to this problem. I am helpless with this

Classic ASP using COM+ on x64 Windows Server 2008 and IIS7

蓝咒 提交于 2019-12-06 05:13:40
问题 (Note: I thought about posting this to serverfault, but I figured more developers have banged their heads against these issues than admins) I'm trying to set up a web page that uses both ASP Classic and ASP.NET 2.0 in the environment mentioned above. After applying many common fixes on the web and a few lucky guesses, the ASP.NET 2.0 pages are finally running fine (Minus COM+). The ASP Classic pages aren't running at all. So I'm thinking the x64 environment is a the cause of most of my

Delphi SOAP Client can not keep more than 2 concurrent requests. How to increase?

隐身守侯 提交于 2019-12-05 22:37:08
问题 I have a multi-user COM+ application that needs to make multiple requests on SOAP WebServices. Each SOAP request may last from 10 to 60 seconds (that is not under my control). Problem is, I can never make more than 2 requests at the same time. When I have, for example, 3 concurrent requests the third requests only starts when the second one finishes. I watched the same behaviour on a console application (for testing purposes) making multiple concurrent requests to the same WebService, and I