Data Connectivity
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Data Connectivity
Message Icon Topic: Production Applications with CR Post Reply Post New Topic
Author Message
phucpham
Newbie
Newbie


Joined: 29 Apr 2008
Online Status: Offline
Posts: 5
Quote phucpham Replybullet Topic: Production Applications with CR
    Posted: 29 Apr 2008 at 9:20pm
Hi all,

I am using VS 2005 to develope my application including some crystal reports.
It works fine on my computer but when I install this app on client I got a problem with data connection. I have written code for connection for each report but I still get the following error when user want to show report :

Error in File C:\DOCUME~1\anop3\LOCALS~1\Temp\{68D71403-5484-4650-B960-D55DB2523564}.rpt:

Is there anything I need to produce application using CR ?

Regards,
phucpham

IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 02 May 2008 at 2:23pm
This type of issue is generally not a Crystal problem, but a configuration issue on the workstation where the software is being installed.
 
What type of data connection are you using?  If it's ODBC, is the same ODBC connection set up on the client computer?  If it's a Client/Server database (MS SQL Server, Oracle, etc.) is the database client software installed on the client computer?  If it's not Client/Server, does the user have access to the folder where the database is located?
 
-Dell
IP IP Logged
phucpham
Newbie
Newbie


Joined: 29 Apr 2008
Online Status: Offline
Posts: 5
Quote phucpham Replybullet Posted: 04 May 2008 at 7:17pm
Thanks for your reply.

I am using OLEDB to connect to MS SQL Server.

Now I add some more code before set parameters value it works well :

reportDocument1.VerifyDatabase();
for (int i = 0; i < reportDocument1.ParameterFields.Count - 1; i++)
{
       reportDocument1.ParameterFields.EnableNullValue = true;
}






Edited by phucpham - 04 May 2008 at 9:26pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.