473,395 Members | 1,456 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,395 software developers and data experts.

Having trouble using regsvcs.exe


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
1.0\csla\CSLA.Server.ServicedDataPortal\bin\CSLA.S erver.ServicedDataPortal.d
ll

and I've tried lots of different syntax for using regsvcs in both the
dosprompt and the vs comand prompt and always get the same error.

Here's one of syntax I tried?

regsvcs /appname:CLSA CSLA.Server.ServicedDataPortal.dll

Here's another one:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regs vcs D:\nwis\Apps\CSLA

1.0\csla\www\DataPortal\bin\CSLA.Server.ServicedDa taPortal.dll

and it's response:
Command "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regs vcs" is not valid.

Note: I made a virtual directory in IIS mapping to:
D:\nwis\Apps\CSLA 1.0\csla\www\DataPortal

Maybe I need to re-register regsvcs. If so, what syntax do i use for that?
Can anyone help me with the proper syntax and any other tips?

--
mo*******@nospam.com
Jul 21 '05 #1
1 3878
Hi moondaddy,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to use regsvcs.exe under a
command prompt. If there is any misunderstanding, please feel free to let
me know.

When we use commands by .NET framework, we have to begin from Visual Studio
.NET 2003 Command Prompt in stead of command prompt in windows. Please try
to start from Start -> All Programs -> Visual Studio .NET 2003 -> Visual
Studio .NET Tools -> Visual Studio .NET 2003 Command Prompt. And try you
command again.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2

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

Similar topics

0
by: Mike Weed | last post by:
Below is an excerpt from the code that causes the error - The first line completes successfully, while the second fails: gacutil /i CreateHoldingsJob.dll
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...
2
by: Jozef | last post by:
Hello, I am trying to put together a module and open a workspace on a database that has a simple password (using Access XP). This is the lin that I'm having trouble with; Set wrk =...
7
by: jason | last post by:
i have a C# class library full of objects. the immediate need was to instantiate these objects in classic ASP, so i inherit ServicedComponent and build the project with COM Interop set to true....
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...
2
by: rino65 | last post by:
I have just converted a 2003 webservice to 2005. It used a dll created in C++ however now when running the web service I get the error that it could not load the specified dll. It seems like a...
0
by: invizigot323 | last post by:
the problem is when I run setup everithing works fine but at the finish I got this massage regsvcs.exe - common language runtime debugging services application has generated an exeption that...
5
by: tkondal | last post by:
Hi all. I just started looking at Python's ctypes lib and I am having trouble using it for a function. For starters, here's my Python code: from ctypes import*; myStringDLL=...
24
by: GesterX | last post by:
First of all I'm new to this site but it certainly looks like a place that i will be visiting more often! Onto my problem. I am creating a Hotel Bussiness project in java using BlueJ The...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.