Home All Groups Group Topic Archive Search About

How can I use Regasm on server?

Author
16 Nov 2006 6:52 PM
Bryan
Hello all.  I have an assembly that needs to be registered on a server for
use with SQL Server 2k.  Locally I can run Regasm from the VS.NET command
window and that's that.  But how can I get the assembly registered on the (or
any) server?  I have the dll, snk...all that, but I can't figure out how to
register the thing so my procs don't return the "Invalid Class String" error
(for lack of a ProgID)?

I'm very new to having to use this tool, so I may be just overlooking
something pretty basic.

Thanks for your help!
Bryan

Author
16 Nov 2006 7:09 PM
Michael Nemtsev
Hello Bryan,

You need to start regasm within your server environment
Just create installer and run in on your server

B> Hello all.  I have an assembly that needs to be registered on a
B> server for use with SQL Server 2k.  Locally I can run Regasm from the
B> VS.NET command window and that's that.  But how can I get the
B> assembly registered on the (or any) server?  I have the dll,
B> snk...all that, but I can't figure out how to register the thing so
B> my procs don't return the "Invalid Class String" error (for lack of a
B> ProgID)?
B>
B> I'm very new to having to use this tool, so I may be just overlooking
B> something pretty basic.
B>
B> Thanks for your help!
B> Bryan
---
WBR,
Michael  Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

AddThis Social Bookmark Button