471,108 Members | 1,663 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 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:
1.0\csla\CSLA.Server.ServicedDataPortal\bin\CSLA.S erver.ServicedDataPortal.d

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?

Jul 21 '05 #1
1 3733
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.


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

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