Failed to start crystal report on client machine

I made a project in vs2010

then I created n setup project deployed. When I run the application on my PC, it clearly works well, but for the client machine, the application works well except for crystal reports. i did a setup project and then added prerequisites

Microsoft .Net framework 4 Client Profile (x86 and x64)
 SQL server 2008 express
 windows installer 3.1

      

selected> load prerequisites from the same location as my app> ok

this way when I build the project it is a success and the application works well, but no critical report on the client machine. So I tried to add SAP Crystal Report Runtime Engine pre-order for .Net framework 4.0> ok

then it shows 4 errors in the building setup project which:

Error   5   To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0.msi' for item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883.

Error   7   General failure building bootstrapper   

Error   6   To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0.msi' for item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883.

Error   8   Unrecoverable build error.

      

I tried to install CR runtime for .NET framework 4.0 on client PC, but it gives an error that first install vs2010 to install CR runtime

.vs2010 should not install on client PC, I don't know how to fix it and where is the problem, crystal reports are working on my PC, help me run it on the client PC beforehand.

+3


source to share


1 answer


I somehow solved this, I changed property

all the reports .rpt

files, installed build action

from Embedded Resource

to Content

, and then copied all the files .rpt

and .cs

my reports in the same folder setup

, so it also works on the client machine.



+4


source







All Articles