Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Database Error: 4104 Post Reply Post New Topic
Author Message
achartrand
Newbie
Newbie
Avatar

Joined: 27 Apr 2010
Location: Canada
Online Status: Offline
Posts: 8
Quote achartrand Replybullet Topic: Database Error: 4104
    Posted: 27 Apr 2010 at 4:03am
Hello,
 
I am creating a new custom report for my company and I have run into an error. When Im in crystal reports XI, the preview run successfully with defaut data. When I try and run the report using my company's software, I get the following database error code (4104). Im not quite sure what you need to see to help me with my problem.
 
This is the SQL query that was created

 SELECT "tblServiceOrders"."SONumber"
 FROM   "Samplev10"."dbo"."tblServiceOrders" "tblServiceOrders"
 
Thanks for any help
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 27 Apr 2010 at 4:06am
What type of database are you connecting to?  You need to look up the error number in the database documentation to determine what it means - it's an error that Crystal is just passing though from the database, so it won't be in the Crystal documentation.
 
-Dell
IP IP Logged
achartrand
Newbie
Newbie
Avatar

Joined: 27 Apr 2010
Location: Canada
Online Status: Offline
Posts: 8
Quote achartrand Replybullet Posted: 27 Apr 2010 at 4:12am
I am using is Microsoft SQL Server Express 2008
 


Edited by achartrand - 27 Apr 2010 at 4:15am
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 27 Apr 2010 at 5:54am

Look up the error in your database documentation or do a Google search on "SQL Server error 4104" to determine what the issue is.

-Dell

IP IP Logged
achartrand
Newbie
Newbie
Avatar

Joined: 27 Apr 2010
Location: Canada
Online Status: Offline
Posts: 8
Quote achartrand Replybullet Posted: 27 Apr 2010 at 5:56am
I tried googling it and no luck. I'll look through the documentation for something. Thanks
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 27 Apr 2010 at 5:59am
Please post the full text of the error message that you recieve.
 
-Dell
IP IP Logged
achartrand
Newbie
Newbie
Avatar

Joined: 27 Apr 2010
Location: Canada
Online Status: Offline
Posts: 8
Quote achartrand Replybullet Posted: 27 Apr 2010 at 6:04am
The error reads:
 
Failed to retrieve data from the database. Details: [Database Vendor Code: 4104].
 
The top of the prompt box says Crystal Report Viewer
IP IP Logged
qualityman
Newbie
Newbie


Joined: 31 Jan 2011
Location: Italy
Online Status: Offline
Posts: 1
Quote qualityman Replybullet Posted: 31 Jan 2011 at 11:11pm
I had the same problem using in the filter (and in the report) two or more tables.
 
I solved the problem placing in the report AT LEAST one field for each table used in the filter. It's not sufficient that tables are specified and relationed in the report but no field used.
 
PS Excuse my English
Ci sono due cose infinite: la stupidità umana e l'universo. E non sono sicuro della seconda (Einstein)
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.000 seconds.