I have all of my reports in a class library. This is the first report I have created using an object data source class to pull data from three different data sources into one report. (Note: This information is all joined into 1 record, not a sub report type data.)
My object data source looks like:
Then built the report. That all seemed to work well. When go to preview the report, I get the following error:
I have restarted VS and even tried a second computer. The reference is in the project AND it is in the bin folder after compiling. I am not sure what might be going on. To add to the strangeness, I thought maybe if I ran it through the rest of my project it might work. Instead I was greeted with the following error:
Any ideas on what I might be missing?
My object data source looks like:
[DataObject]
class
DailyInvoicing{
[DataObjectMethod(DataObjectMethodType.Select)]
public
IList<DailyInvoice> GetDailyInvoices(DateTime dateEntered)
{
// Build data set here
}
}
Then built the report. That all seemed to work well. When go to preview the report, I get the following error:
An error has occurred while processing Report 'DailyInvoicingReport': An error occurred while invoking data retrieval method. Try restarting Visual Studio.
------------- InnerException -------------
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
Could not load file or assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I have restarted VS and even tried a second computer. The reference is in the project AND it is in the bin folder after compiling. I am not sure what might be going on. To add to the strangeness, I thought maybe if I ran it through the rest of my project it might work. Instead I was greeted with the following error:
An error has occurred while processing Report 'DailyInvoicingReport': An error occurred while invoking data retrieval method.
------------- InnerException -------------
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
Unable to load the specified metadata resource.
Any ideas on what I might be missing?