Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
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

1 solution

Check whether the DLL's are properly installed and registered.

Check whether the Printer is installed and set that as a Default Printer too.
 
Share this answer
 
v3
Comments
firas_hamzeh 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 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)



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