I have ReportViewer in my project. When I create .exe of this file in InstallShield in Vsual Studio 2012 I add into Redistributables Microsoft ReportViewer 2010
.
When I do install my app on Windows 8 - every ReportViewer displays it's report correctly.
I'm having problem on Windows XP
the ReportViewer loads correctly but displayes this error instead of correct Report:
An error occurred during local report processing. The definition of the report " is invalid. An unexpected error ocurred in Report Processing.
Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectMode. Version =11.0.0., Culture=neutral, PublicKeyToken=89845dc8080cc91 or one of its dependencies. this system cannot find the file specified.
I ensure you that in references I have added Microsoft.ReportViewer.Winfroms 11.0.0.0
and Copy Local = true
.
How can I solve this issue?
I upvoted the reply marked as the answer because I was, infact, missing .dlls - but I did not fix it in the manner @Marek suggested. I'm using VS2013 and installing the Microsoft.Reporting nuget package fixed the problem. I would suggest to anyone with this problem trying this. That way, you automatically get all the dependencies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With