Reputation: 2825
I am working with asp.net reporting using RDLC file. Everything was working fine but now when I add a new dataset, an error occurs.
I have no more info than this, to provide you people to diagnose the problem. Have anyone idea what would be happening?
I just want to add a new dataset.
Upvotes: 1
Views: 2706
Reputation: 2825
I solved the problem by following this method:
Add a datasource in your report viewer i.e. in aspx page.
Go to its designer and click on the arrow appearing in front of datasource, and click on it.
Click Refresh Scehma and Save the file.
Go to its code again and comment the datasource code.
Try adding new dataset in rdlc. It will allow adding new datasets now.
Upvotes: 1
Reputation: 2498
You referenced a Library that you created called 'PrecisionCareEntity', did you? So just remove the reference and redo it.
Overall I would suggest using Visual Studio 2008/2010 with Reporting Services Integration installed. With that you get MUCH better results and less Errors!
e: In Visual Studio:
Top Menu -> Report -> Report Properties... -> References:
Upvotes: 0