Register for COM Interop


I have created a C# Class which exposes among other things some basic IO functions which I want to consume through a classic ASP page.  Basically I have everything working on the Dev machine.  I have selected "Register for COM Interop" in the Build options for the project and I am able to consume the class from ASP.  What I need to know now is what I do when it needs to be released onto the web server.  Obviously I can't run a Build from the IDE because the software doesn't exist on the machine I need it to reside on.  I have read that you can manually register using the "regasm" tool but it's not working for me.

The way I've tested it is to say:

regasm TDSCom.dll /unregister

This then unregisters the class (as it was registered already from the IDE build) and everything stops working...Perfect.  THEN I say:

regasm TDSCom.dll

The feedback says that it has registered with no problems but when I go to use the Class from my ASP page it falls over.  BUT, if I go back into the IDE and build the project again, with the "Register for COM Interop" option still checked, everything works again.

Is there something besides the "regasm" part that the IDE performs when registering a Class for COM Interop..?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TDSnetAuthor Commented:
Nice one.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.