A summary of where we are so far...
- You made sure the access database and the contents of the bin folder had all made their way to the target machine.
- You then got an error "Could not load the assembly Microsoft.ReportViewer.Winforms so you installed
Report Viewer[
^] but you are still getting the error...
Try ...
1. In your Visual Studio project make sure you have added references for both
Microsoft.ReportViewer.WinForms
AND
Microsoft.ReportViewer.Common
2. In Solution Explorer click on the reference for Microsoft.ReportViewer.Winforms (you may need to click the
Show All Files
button to get it visible in the explorer)
3. In the Properties Window (Hit F4 if it is not visible) look for property
Copy Local
and set it to
True
. This will ensure that the appropriate DLL(s) are copied to your bin folder
4. Repeat steps 2 and 3 above for
Microsoft.ReportViewer.Common
5. Rebuild your project and include everything from the Bin folder in your setup