473,240 Members | 1,448 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,240 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 3859
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
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...

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.