473,326 Members | 2,048 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,326 software developers and data experts.

Failing to register component using RegSvcs

I have been trying to get a previously built .NET component to run on
a Windows 2000 Server box. It's previous home was on an XP box using
..NET framework version 1.0.3328. On that machine, it ran with no
problem, but on the 2000 Server box, with version 1.1.4322, it fails
to load and gives an access denied error. I have moved the same
component to an XP box with version 1.1.4322, and it registered there
as well, but gave more warnings then it did with the earlier framework
version. Here are the outputs from the three runs:

Original XP box with 1.0.3328:
C:\test>C:\WINDOWS\Microsoft.NET\Framework\v1.0.33 28\RegSvcs.exe
app1.dll
/appname:app1
Microsoft (R) .NET Framework Services Installation Utility Version
1.0.3328.4
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.

WARNING: The class app1.ServiceInterface' has no class interface,
which means that unmanaged late bound calls cannot take advantage of
AutoComplete methods.
Installed Assembly:
Assembly: C:\test\app1.dll
Application: app1
TypeLib: c:\test\app1.tlb

New XP box with 1.1.4322:
C:\test>C:\WINDOWS\Microsoft.NET\Framework\v1.1.43 22\RegSvcs.exe
app1.dll
/appname:app1
Microsoft (R) .NET Framework Services Installation Utility Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

WARNING: The class 'app1.ServiceInterface' has no class interface,
which means that unmanaged late bound calls cannot take advantage of
AutoComplete methods.
WARNING: The assembly does not declare an ApplicationAccessControl
Attribute. Application security will be enabled by default.
Installed Assembly:
Assembly: C:\test\app1.dll
Application: app1
TypeLib: C:\test\app1.tlb
Windows 2000 Server box with 1.1.4322:
C:\test>C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \RegSvcs.exe
app1.dll /appname:app1
Microsoft (R) .NET Framework Services Installation Utility Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
The following installation error occurred:
1: Failed to load assembly 'c:\test\app1.dll'.
2: Access is denied: app1.dll'.
Any suggestions on how I can get this to load on the 2000 Server box
or what the root cause of this failure might be?
Nov 22 '05 #1
1 4533
As a follow up to anyone else who runs into a similar problem, the
security permissions apparently don't move across for the dll when
going to 2000 Server or my security defaults are different on that
box. I just needed to go to the permissions for the DLL and give
administrator "Full Control" under the Security tab. Then everything
worked.
Nov 22 '05 #2

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

Similar topics

0
by: Karuppasamy | last post by:
H I have created a Windows Application using C#. This Windows application makes a call to a Remoting Object which runs as a Windows Service. This Remoting Component makes a call to a Com+(Name :...
1
by: J. P. Young | last post by:
I have been trying to get a previously built .NET component to run on a Windows 2000 Server box. It's previous home was on an XP box using ..NET framework version 1.0.3328. On that machine, it ran...
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: Eric Mamet | last post by:
I have created a .Net class that I configured to use through Component Services (using regsvcs MTSWord.dll). The "Server" app. I intend to use this "COM+" object in another .Net app: the "client"...
2
by: Andy Bates | last post by:
Hi - I have a C# .NET assembly that exposes a COM interface (basically has an interface and class with Guid attributes). If I compile this under VS.NET (with the "Register for COM Interop"...
2
by: Mark Broadbent | last post by:
Please guys save me from throwing my laptop throught the window grrr. No one answered my original post so here is a reworded version. I am working through some study material but have hit a brick...
3
by: msuk | last post by:
All, I have a C# COM+ that I would like to debug with context so I can see the transactions being committed. I have a webform1.aspx that calls my C# component but for some reason I cant debug...
4
by: Mihiri | last post by:
Hi, I have created a simple managed component in vb.Net with a public class exposing a public function. I successfully registered it using 'Regasm.exe' .. But when I tired to access it in vb...
0
by: Henrik | last post by:
Hi There,,, I've createt a com-class in vb2005, but when i try to registrer it on a windows 2003 server, with framework 2.0, by using the command regsvcs.exe. Then i get the follewing error?? ...
3
by: Admin.TalkPC | last post by:
Hi people, I have now spent far too much time on this small problem, I am hopefully going to hand it over to you guys that are cleverer than I in this respect. Problem. I need to get all...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.