Missing Assembly when distributing c# DLL - Deployment Question:

Posted on 2003-03-10
Medium Priority
Last Modified: 2010-08-05
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.  

Question by:mt404
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Expert Comment

ID: 8103726
IMO you should check out the "or one of it's dependants was not found"

Author Comment

ID: 8103786
Is there an easy way to view all of it's dependants?

Author Comment

ID: 8103818
Is there an easy way to view all of it's dependants?

Author Comment

ID: 8123375
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.  =)

Accepted Solution

modulo earned 0 total points
ID: 11805721
PAQed, with points refunded (65)

Community Support Moderator

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question