Last post Jun 05, 2013 07:22 AM by SmokinJoe
Jun 03, 2013 02:16 PM|SmokinJoe|LINK
Using VS 2010 Attempting to create a report using MSAccess 2010 database as the datasource.
This error displays upon attmepting to run the report.
If this makes any difference:
The database ("Inventory.acccdb") is in the App_Data folder, and the report ("BarCodeReprt.rdlc") is in the
Other than that I cannot understand how this is to work.
Jun 03, 2013 07:36 PM|N_EvilScott|LINK
Indicates a problem with the ReportViewer being loaded in your project. Have a look at the following post, and make sure your information lines up. Also check your web.config and make sure the correct assembly is being used. You want version 10 at least,
not version 8
Jun 04, 2013 08:17 AM|SmokinJoe|LINK
Thank you for responding.
I had previously found that reference and tried all steps described.
1. I downloaded and installed Report Viewer 2010
2. To the web.config file added the assembly reference:
Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
3. Verified "Microsoft.ReportingServices" file. The contents were already exactly as stated by Mr. Lafler
Continue to get the same error. I am not even sure where the file in error is located?
Thanks for any additional assistance.
Jun 04, 2013 06:43 PM|N_EvilScott|LINK
Which version of .NET are you targetting?
Jun 04, 2013 10:17 PM|Amy Peng - MSFT|LINK
The following article tells the details about how to solve this problem: http://quysnhat.wordpress.com/2012/07/05/error-the-report-definition-has-an-invalid-target-namespace-httpschemas-microsoft-comsqlserverreporting200801reportdefinition-which-cannot-be-upgraded-when-run-ms-reportvie/ .
Turns out the issue was my "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\ReportingServices\Microsoft.ReportingServices.targets" file had somehow changed. The top of my file was:
<UsingTask TaskName="Microsoft.Reporting.RdlCompile" AssemblyName="Microsoft.ReportViewer.Common, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
And it should have been:
<UsingTask TaskName="Microsoft.Reporting.RdlCompile" AssemblyName="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Please just install Microsoft Report Viewer 2010 SP1. You can go to this link to download then install MS Report Viewer 2010 SP1 .
Hope it can help you.
Jun 05, 2013 07:22 AM|SmokinJoe|LINK
Thank you all...
After spending way too much time looking into all suggestions and remedies, yesterday I finally found and downloaded MS Report Viewer 2010. Seems to be working now!