Skip to Content
Former Member
Dec 02, 2011 at 03:40 PM

Crystal Reports not working on client


I've created a windows forms program with on visual studio 2011. I downloaded the crystal reports version for VS 2011. Installed it and made a wonderful crystal report on my machine. The reports is using a connection with my SQL Server 2008 R2 to get the information that the report is showing. On my machine, everything is working great.

My problem isn't with my own machine. It happens after I publish my program and load it on a client computer. Everything else in the program works great, but every time the crystal report gets brought up, the server name is there. The username and password are there (in the program versions that i coded all that in) but the database name itself is missing.

I've tried to hard code in all the information that i needed to get this to work. I have also tried to use VS 2011's way of selecting the report, which just consists of adding a CR viewer and clicking to find/add the report to the viewer. Nothing works for the client computers.

My question is this, How do I get my client computer's Crystal Report program to connect to the database so that we can make/use/print a report?