473,513 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing a ServicedComponent into COM+

I have a class derived from ServicedComponent and I was able to register it using regsvcs when I used VS.NET 2000.
Now that I have switched to 2003 it no longer registers and displays the following error.

E:\menyhari.plm\Visual Studio Projects\TDPMTierProject\TDPRemoting\bin\Release>r
egsvcs tdpremoting.dll
Microsoft (R) .NET Framework Services Installation Utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

WARNING: The class 'TDPRemoting.TDPRemoteFunctions' has no class interface, whic
h means that unmanaged late bound calls cannot take advantage of AutoComplete me
thods.

The following installation error occurred:
1: Could not install type library 'E:\menyhari.plm\Visual Studio Projects\TDPMTi
erProject\TDPRemoting\bin\Release\TDPRemoting.tlb' into application 'TDPRemoting
'.
E:\menyhari.plm\Visual Studio Projects\TDPMTierProject\TDPRemoting\bin\Relea
se\TDPRemoting.tlb: The TypeLib could not be loaded

It also no longer works if I try to register it using the old version of regsvcs from VS.NET 2000. Any ideas?

Jul 21 '05 #1
0 2271

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1378
by: Stefan G. | last post by:
Hi, is it possible to use custom context-attributes with serviced components? public class Logging : ContextAttribute { public Logging() {...} public override void GetPropertiesForNewContext(IConstructionCallMessage ctorMsg) {...}
5
5117
by: Kedar Agarkar | last post by:
: This is general query seeking opinions about COM+ Development wherein Server is developed in C# and Client accessing that across machines is also C#. Wish to seek experienced words on issues of COM-.NET interop that is playing major decisive role on both sides and is making decisions complicated only based upon theory.
18
6658
by: David | last post by:
Hello, I'm writing a C# class library that may be called by non-.Net applications. The main class of this class libray is a ServicedComponent so that non-.Net application can call this class as a standard COM+ component. Now, I want that class to be a singleton. Once loaded, the values moslty never change. I tried using this pattern: ...
2
1405
by: Kevin Jackson | last post by:
If we are using Library ServicedComponents is it possible to get to the ASP.NET session stuff from a ServicedComponent?
2
1329
by: Jim Bancroft | last post by:
Hi everyone, I have a toy class that inherits from ServicedComponent and a hand-crafted interface. It looks like this: public class myclass: ServicedComponent, IReadData //IReadData is the hand-blown interface { public string GetString()
0
918
by: Ram | last post by:
Hey, I have a ServicedComponent object that sits in the Com+ in activation mode of Server. And I have an ASP (3.0 - Not ASP.NET !) that uses this object using CreateObject. At the end of the use, my users use: Set objComPlus = Nothing (From the ASP!). But the problem is, that the objects are never disposed, and as a result after a while...
0
373
by: Steve M | last post by:
I have a class derived from ServicedComponent and I was able to register it using regsvcs when I used VS.NET 2000. Now that I have switched to 2003 it no longer registers and displays the following error. E:\menyhari.plm\Visual Studio Projects\TDPMTierProject\TDPRemoting\bin\Release>r egsvcs tdpremoting.dll Microsoft (R) .NET Framework...
10
4960
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each Instance needs to run in its own process. My current approach to this is to put all the logic into a separate "Worker" assembly and install it into...
3
3417
by: zlf | last post by:
I am asked to complete a COM+ component, there is a class A derived from ServicedComponent. However, when executing , exception is thrown. Messaged: Unhandled Exception: System.EnterpriseServices.ServicedComponentException: Classes derived from ServicedComponent do not support constructors with arguments
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7565
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5704
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5103
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3255
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
473
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.