Cannot Find dll at runtime

Posted on 2010-03-31
Medium Priority
Last Modified: 2013-11-26
Hi all,

I have an issue with VS2010 , the problem being that although I have referenced a dll within a project and it compiles fine, at runtime I get the following message

Could not load file or assembly 'dotNetRDF, Version=, Culture=neutral, PublicKeyToken=82b4e01e1f8f2469' or one of its dependencies. The system cannot find the file specified.

If i run the same code within vs2008 it works fine.

Any help would be appreciated.

Question by:BloodGrinder
  • 2
  • 2
LVL 71

Expert Comment

by:Éric Moreau
ID: 29202257
at runtime on the same computer or from a different computer?

Author Comment

ID: 29203509
Sry should have said that , the dll is on the same computer
LVL 71

Accepted Solution

Éric Moreau earned 2000 total points
ID: 29204653
in the same folder as the .exe? or in the GAC?

Expert Comment

ID: 29207051
Try using fuslogvw.exe (Fusion Log Viewer) to see assembly loading errors

Author Closing Comment

ID: 31709371
Thanks for the pointer, sorted it by forcing it to load local.

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

601 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