Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL CrystalReports
Hi everybody,
I built C# application with SQL database and using crystal report I export data, I test it and it works properly as I want.
Then I make this application work on local network between just two hosts, so I let one of them get access to the other’s database (I’m using SQL database). And I built some network protocols to manage the connection between the hosts, but after that I test the crystal report that was working properly on one host, but it doesn’t work !!
After debugging the project step by step I found that the report throws an exception:
 
CrystalDecisions.shared.CrystalReportsException
 

And I make sure that the database connection of the report database is up to date, and while debugging the given data to the report was correct, but the report itself failed to load.
I google this exception but I found that this exception is usual exception for the web application not for windows application !!
Can anybody suggest what is exactly the problem, and how to solve it?
Thanks in advance..
Posted 12-Jan-11 3:19am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Check whether the DLL's are properly installed and registered.
 
Check whether the Printer is installed and set that as a Default Printer too.
  Permalink  
v3
Comments
firas_hamzeh at 12-Jan-11 9:28am
   
I made sure, I rerun the application that works on one host(not network application) and the crystal report worked properly. But when I run the application on network (remote database connection) it doesn't work at all, Exception said: Failed to load report
 
Thanks for your reply.
firas_hamzeh at 12-Jan-11 9:29am
   
When running the application on network, is there any additional Dll's that should be installed ?

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

  Print Answers RSS
0 OriginalGriff 385
1 Gihan Liyanage 308
2 Sergey Alexandrovich Kryukov 150
3 syed shanu 125
4 ChauhanAjay 120
0 Sergey Alexandrovich Kryukov 9,021
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 12 Jan 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100