I added a ReportViewer control to my ASP 3.5 page and and designed a new report. I chose a Report Data Source as "DataSet5_Residents_By_Referral" and a Data Source Instance as "ObjectDataSource2" In the ObjectDataSource2 object I select "DataSet5TableAdapters.Residents_By_ReferralTableAdapter" as the Business Object. When I click Next I get an error msg "The type 'DataSet5TableAdapters.Residents_By_ReferralTableAdapter' could not be loaded....etc." Any idea what I am doing wrong?
...Have you added the data server for the data source in the VS server browser? If so, when this is happening can you expand the data server tree nodes? All the best, Mark
...I've seen this happen during some of my tests in VS2010 over the past few weeks. To fix it I had to delete the data source (/App_Code/DataSet.xsd) Seems to happen more if I don't use the Report Wizard. Each time I use the Wizard it successfully creates a valid data source. I'm not really onto anything about this yet but to overcome this I've been keeping a default Report site, create the reports in that then move successful reports and data sources to the VS project folders. It's something to try anyway. If I get a handle on why these data sources sometimes fail I'll post. All the best, Mark