Print Page | Close Window

Production Applications with CR

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=3072
Printed Date: 03 May 2025 at 12:07pm


Topic: Production Applications with CR
Posted By: phucpham
Subject: Production Applications with CR
Date 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




Replies:
Posted By: hilfy
Date 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


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: phucpham
Date 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;
}







Print Page | Close Window