473,387 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

error from regsvcs

I am trying to create a serviced component using C++ (2005). Before
getting too far into my application logic, I'm trying to do some proof
of concept with this model. Unforntunately, I can't get my simple
prototype serviced component to load.
I've started with a VB version of the prototype. After a fair bit of
screwing around, I was able to register my vb app that exposes one
class with one property. I have verified that it interacts as expected
from a client application.
I have now attempted to product the same class using C++ 2005. I've
included similar assembly attributes etc. When I try to register this
dll, regsvcs spits out the following:
C:\TestProj\MyCServicedComponent\debug>regsvcs MyCServicedComponent.dll

Microsoft (R) .NET Framework Services Installation Utility Version
2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
The following installation error occurred:
1: Failed to load assembly
'c:\testproj\mycservicedcomponent\debug\mycservice dcomponent.dll'.
2: The specified module could not be found. (Exception from HRESULT:
0x8007007E)
I have used the IL Disassembler to compare the VB and C++ versions of
the dll. The structures of the classes and the manifests seem very
similar.
Can anyone tell me what might cause this error, and/or where I should
look next for clues.
thanks

Dec 14 '05 #1
0 1028

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

Similar topics

0
by: Boomessh | last post by:
Hai all, can any one help me in solving he following problem? I am registering a COM+ component in a machine. While registering i am getting the following error. ...
1
by: moondaddy | last post by:
I'm running vb.net 1.1 and I need to register a dll using regsvcs.exe and am getting the error: Command "RegSvcs.exe" is not valid. the path to the dll I want to register is: D:\nwis\Apps\CSLA...
0
by: Farek | last post by:
(If Im posting in the wrong place concerning COM+ and .NET plz redirect me.) Hello all, Im writing a COM+ in VB.NET that is suppose to be able to set/get an address(String value). I've made...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
2
by: John McDonald | last post by:
I am working through tutorials covering developing serviced components. It is appears as though they register correctly using regsvcs and do appear in the MMC snap in. However when I attempt to...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
1
by: Lisa Sonneson | last post by:
I have a COM DLL that creates VB .NET objects. I use this COM object in my ASP files. The ASP files work fine on my system but will not work anywhere else. I get the error The assembly...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...

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.