473,800 Members | 2,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.ex e" is not valid.

the path to the dll I want to register is:
D:\nwis\Apps\CS LA
1.0\csla\CSLA.S erver.ServicedD ataPortal\bin\C SLA.Server.Serv icedDataPortal. 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.Ser vicedDataPortal .dll

Here's another one:
C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \regsvcs D:\nwis\Apps\CS LA

1.0\csla\www\Da taPortal\bin\CS LA.Server.Servi cedDataPortal.d ll

and it's response:
Command "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \regsvcs" is not valid.

Note: I made a virtual directory in IIS mapping to:
D:\nwis\Apps\CS LA 1.0\csla\www\Da taPortal

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*******@nospa m.com
Jul 21 '05 #1
1 3930
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 misunderstandin g, 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
2142
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
625
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 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...
2
4550
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 = CreateWorkspace("TestWrkspc", "Admin", conDbPwd) conDBPwd is a variable that contains the password. There is no independant workgroup file, just the default. This is the error message I'm getting;
7
1477
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. and the objects work in classic ASP just fine. however, we are slowly introducing ASP.NET code, and i would like to make use of the same objects. however, i don't want to use the old COM method of Server.CreateObject(). i would like to use...
1
465
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 1.0\csla\CSLA.Server.ServicedDataPortal\bin\CSLA.Server.ServicedDataPortal.d ll and I've tried lots of different syntax for using regsvcs in both the
2
1180
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 path issue. With the 2003 both the Web Service Dll and the other dll resided in the bin directory. Can anyone help Thanks.
0
1634
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 could not be handled process id=0x96c (2412), thread id=0x7e4 (2020). click OK to terminate the application Click cancel to debug the application
5
3503
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= cdll.LoadLibrary("myStringDLL.dll");
24
4218
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 classes are as follows: Hotel - Deals with the major functions of the hotel (i.e guests booking in, finding rooms etc.) Room - Used to decide whether a room has a sea view and stores the guest that is in the room. Occupier - For information about the...
0
9690
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10504
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10274
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10251
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.