467,888 Members | 1,592 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,888 developers. It's quick & easy.

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
  • viewed: 3592
Share:
1 Reply
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mike Weed | last post: by
1 post views Thread by J. P. Young | last post: by
1 post views Thread by moondaddy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.