Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 MS Reporting Service - call code

Author  Topic 

emzzz
Starting Member

15 Posts

Posted - 2008-03-19 : 12:36:23
Hello,

I have a microsoft report that uses a dll to calculate a value. If I hard code the value, my report shows it. My method in the dll is connecting to a database in order to calculate a result. However, in order to connect to the database, I am using Microsoft.Practices.EnterpriseLibrary.

The error in my report is:
Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I have added a reference in the report to the EnterpriseLibrary but this has not made a difference.

Many thanks!

tm
Posting Yak Master

160 Posts

Posted - 2008-03-27 : 15:38:34
Have you registered the DLL in the assembly cache?

Control Panel >> Administrative Tools >> click on Microsoft .NET Framework x.x Configuration (where x.x is the version such as 1.1 or 2.0)

Manage the Assembly Cache will give you a list and you need to add DLL.
Go to Top of Page
   

- Advertisement -