Missing Assembly when distributing c# DLL - Deployment Question:

Hi.  I'm new to the c# game and was hoping someone might be able to point me to a resource that can help me with this problem.

I've written a c# DLL which includes calls to functions within the Microsoft.SqlServer.NotificationServices namespace.  I include the dll for that namespace as a resource in the c# project.  The project compiles and runs fine on my local system.  I move the DLL to our testing server and register it using regasm and gacutil.  This appears to work, and the DLL is now visable from within OLEVIEW.  

Notification Services, which installs the Microsoft.SqlServer.NotificationServices namespace, had already been installed on the testing server.  I've verified this by checking via OLEVIEW.  I am also certain that my local version is the same as the version running on the server.

However, when I run an application that makes a call to my newly developed class I am recieving an error stating that, "The assembly Microsoft.SqlServer.Notification Services, or one of it's dependants was not found."

My question is, is there something special I am required to do when registering a dll on another system which relies on other classes to function properly?  Is it not simply enough to state that Microsoft Notification Services must be intalled as a prerequsite for my classes to function?

Thanks for any help you might be able to offer.  Much apprecieted.  

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.

IMO you should check out the "or one of it's dependants was not found"
mt404Author Commented:
Is there an easy way to view all of it's dependants?
mt404Author Commented:
Is there an easy way to view all of it's dependants?
mt404Author Commented:
Ended up figuring this one out myself.  I'm not sure why I had to do this, maybe someone could shed some light on  that, but I had to register the Microsft Notification Services class library in the GAC myself with GACUtil.  On my local system I din;t have to do that but I did on the server.  Not sure why.  Anyway, working now.  =)
PAQed, with points refunded (65)

Community Support Moderator

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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.