Error while providing datamethod as a query for ssrs reports using business logic in ax 2009

Hi,

I am facing the below error…

Data method ‘TmpDatabase’ invocation failed. Fix the data method so that it returns a valid System.DataTable before binding to it.

Original error message:

Could not load file or assembly ‘Microsoft.Dynamics.Framework.BusinessConnector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.