Having trouble using regsvcs.exe

M

moondaddy

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
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\regsvcs D:\nwis\Apps\CSLA
1.0\csla\www\DataPortal\bin\CSLA.Server.ServicedDataPortal.dll

and it's response:
Command "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regsvcs" 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?
 
K

Kevin Yu [MSFT]

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."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top