Click here to Skip to main content
16,020,114 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello friends i have deigned a small exe which shows crystal report on a form in vb.net.

whenever i run it on 32 bit in runs well....

but whenever i try to run it on 64 bit windows server it gives error.

please help me to find any solution so that i will be able to run it on 64 bit windows....
Posted
Comments
Sergey Alexandrovich Kryukov 18-Jul-13 2:09am    
Not enough information.
—SA
sachin bhise 18-Jul-13 2:14am    
Sergey it gives the error of close the application

1 solution

Which version of Crystal Reports is installed on the 64bit machine - the 32 bit or 64 bit version?
In the former case, target your application to x86. Then it will run as a 32 bit program even on 64 bit systems. When running at 64bits, the application cannot load 32bit dlls, and vice versa.
 
Share this answer
 
Comments
sachin bhise 18-Jul-13 3:14am    
Bernard hiller :
can you tell me how to target the application as x86.
Bernhard Hiller 18-Jul-13 3:21am    
In Visual Studio, select the project in the project explorer, do a right click, select properties. In the freshly opened Window, select the Build tab, there you'll find a combobox next to "target platform" in the "common" section, select x86. (I am not sure if I translated the menu items correctly - at work I have to use a German version of Visual Studio.)
sachin bhise 18-Jul-13 3:35am    
ok i will check it now..
sachin bhise 18-Jul-13 3:38am    
i am not getting the build tab.i have application, compile, debug, references, setting, signing, security, publish
sachin bhise 18-Jul-13 3:41am    
in compile tab i am getting the platform and in front of platform i am getting combobox in which i have selected any CPU

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