Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi friends,

Anyone please help me.

I'm working on crystal reports with C# winforms.

Reports are working fine on my development machine (Win7 32-bit). But when i install it on 64-bit machine am getting following error and then an exception.

----------------
An error has occurred while attempting to load the Crystalreports runtime.

Error image
----------------
I have also installed and tested with Crystal Report .NET 2008 x64 Runtime Files. for 64 bit
but no use.

anyone please help me

Thanks in advance

Znaneswar
Posted
Updated 28-Aug-14 1:10am
v4
Comments
murkalkiran 28-Aug-14 6:22am    
have set the dsn?
murkalkiran 28-Aug-14 6:25am    
Try To set odbc connection in C:\Windows\System32\odbc
[no name] 28-Aug-14 6:39am    
You can contact the customer support people for Crystal Reports at http://www.crystalreports.com/
coded007 28-Aug-14 7:41am    
Please try to run with "run as Administrator" option in win7
Kschuler 28-Aug-14 10:59am    
Is your program compiled to 64 bit, 32 bit, or any CPU?

1 solution

In the project properties of your executable, change the build target from AnyCPU to x86.
 
Share this answer
 
Comments
Znaneswar K 30-Aug-14 1:28am    
Yeah I'm running with x86 only. :( And i have installed all 64bit Runtime files for Crystal reports. In all attempts its showing the same error.
Kschuler 2-Sep-14 8:37am    
If you are really compiling to x86, then you need to install the 32 bit Crystal Reports Runtime, even on 64 bit machines.
Znaneswar K 2-Sep-14 8:49am    
Ok thanks i will check again with 32 bit Reports and let you know.

Thanks for your response

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900