Reputation: 247
I have developed a windows application using vs2010 c# and also generated crystal report using the application.The problem is I am able to view report on my computer but when the same application runs on a client machine its throwing an error
"could not load file or assembly crystaldecisions.windows.forms version 13.0"
I am not able to load the report on client machine. What could be the possible reasons for the error.
Upvotes: 1
Views: 1119
Reputation: 560
You have to install the crystal report viewer to the client machine. note you have to make sure that it is the same version that on your machine, you can check the version from the
web.config
file that you have, something like this
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
for install CRV for VS 2010 : http://global.sap.com/campaign/ne/free_trial/crystal_reports_visual_studio/wty_int_crvs.epx
Upvotes: 1
Reputation: 2530
Include the dll crystaldecisions.windows.forms in the deploy to the client machine. Usually you can just mark the file in solution explorer to copy local, and then deploy the bin folder in you installer.
Upvotes: 1