I've seen it where setting some parts of report objects in code will cause the report to become corrupt. There is no fix for courrupt reports other than re-building the report. And sometimes not setting all of the variables in an API will cause issues also.Are you verifying the database in your app, or testing connectivity? Try setting the Mapping event in the viewer control and to pop up a message box. Set Mapping to Prompt mode, this way CR Field Mapping UI will appear if for some reason our field mapping is having a problem at run time.It may be that for some reason at runtime your DB dependencies are not found. Try connecting to the DB directly and some other table other than your. Use Pubs or the sample database to test and see if that throws any errors.Open the repor tin CR Designer and preview it. Now save it with data or export it to a new RTP file. Try runnign that in your app. Sometimes this fixes issues....Thank youDon\",\"author\":\"username\":\"don.williams\",\"displayName\":\"Don Williams\",\"groupIcons\":[\"name\":\"moderator\",\"title\":\"This user is an SAP Moderator\",\"priority\":20,\"name\":\"employee\",\"title\":\"This user is an SAP Employee\",\"priority\":21],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":6316487,\"creationDate\":1248983963000,\"activeRevisionId\":7753223,\"lastActivity\":1248983963000,\"parentId\":6245637,\"originalParentId\":6047313,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"liked\":false,\"moderatorComment\":false}]}}"); const simplifiedQuestionView = JSON.parse("true"); (function() window.pageContext = mergeDeep(pageContext, question: id: 6047313, plug: "vb6-crystal-8-run-time-error-20534-error-detected-", votes: 0, questionTitle: "VB6 Crystal 8 run time error 20534 \"error detected by database dll\"", isClosed: false, isLocked: false, isRedirected: false, redirectedFromTitle: "", redirectedFromId: "", closedStatusData: JSON.parse(""), userVoted: false, relations: JSON.parse("\"canClose\":false,\"canUnredirect\":false,\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"canReopen\":false,\"type\":\"question\",\"canVoteUpOrCancel\":false,\"canViewRevisions\":true,\"canUnlock\":false,\"reported\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canCancelReport\":false,\"canComment\":true,\"isCurrentUserAuthor\":false,\"canViewReports\":false"), isQuestionAccepted: true , childToViewInfo: id: "" , comments: JSON.parse("\"6054277\":\"rootParentId\":6054277,\"commentsCount\":5,\"comments\":[\"body\":\"I've seen it where setting some parts of report objects in code will cause the report to become corrupt. There is no fix for courrupt reports other than re-building the report. And sometimes not setting all of the variables in an API will cause issues also.Are you verifying the database in your app, or testing connectivity? Try setting the Mapping event in the viewer control and to pop up a message box. Set Mapping to Prompt mode, this way CR Field Mapping UI will appear if for some reason our field mapping is having a problem at run time.It may be that for some reason at runtime your DB dependencies are not found. Try connecting to the DB directly and some other table other than your. Use Pubs or the sample database to test and see if that throws any errors.Open the repor tin CR Designer and preview it. Now save it with data or export it to a new RTP file. Try runnign that in your app. Sometimes this fixes issues....Thank youDon\",\"author\":\"username\":\"don.williams\",\"displayName\":\"Don Williams\",\"groupIcons\":[\"name\":\"moderator\",\"title\":\"This user is an SAP Moderator\",\"priority\":20,\"name\":\"employee\",\"title\":\"This user is an SAP Employee\",\"priority\":21],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":6316487,\"creationDate\":1248983963000,\"activeRevisionId\":7753223,\"lastActivity\":1248983963000,\"parentId\":6245637,\"originalParentId\":6047313,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"liked\":false,\"moderatorComment\":false]"), answerPager: answersCount: 1, page: 1, pageSize: 10, pageCount: 1, sort: "votes" , answers: JSON.parse("[ Verify on Every Print and resave the report. 3) What database are you using? Good luck,Brian\",\"author\":\"username\":\"brian.dong\",\"displayName\":\"Brian Dong\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":6054277,\"posted\":1244064688000,\"votes\":1,\"isAccepted\":true,\"isLocked\":false,\"userVoted\":\"\",\"relations\":\"score\":1,\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"accepted\":true,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false,\"attachments\":[]]"), answerForm: formAction: "/answers/6047313/post.json", textareaName: "body", textareaErrors: "", isAttachmentsEnabled: true, answerEditorialGuideline: title: "Before answering", content: "You should only submit an answer when you are proposing a solution to the poster\'s problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.", links: [ title: "Rules of Engagement", href: " -of-engagement.html", ] , answerMinBodyLength: '10', answerMaxBodyLength: '20000' , currentUser: sapInternalId: '', permissions: canVoteUpOrCancel: false, canVoteDownOrCancel: false, canModerate: false, , isVotedUp: false, isVotedDown: false , alerts: alertModeratorMinLength : "It should be given a proper explanation about why the content is inappropriate.", alertModeratorMinLengthValue : "10", alreadyReportedMessage : "You already have an active moderator alert for this content." , url: profileApiBaseUrl: ' -api.services.sap.com', followUnfollowQuestion: '/sap/nodeSubscription.json', isFollowingQuestion: '/sap/isFollowingNode.json', vote: voteUp: '/commands/0/voteup.json', voteDown: '/commands/0/votedown.json', cancelVote: '/commands/0/cancelvote.json' , rss: answers: '/feed/6047313/answers.rss', answersAndComments: '/feed/6047313/comments-and-answers.rss' , authorizeUploadContext: type: 'answer' , atMention: userSearchServiceUrl: ' ', currentUserName: '', useNewUSSCORS: true, atMentionDelayMs: 100, showMentionInRedactor: true , attachmentSettings: commentMaxAttachments: '2', answerMaxAttachments: '10', commentMaxAttachmentSizeBytes: '1048576', answerMaxAttachmentSizeBytes: '1048576', commentAttachmentsSizeBytesTotal: '2097152', answerAttachmentsSizeBytesTotal: '10485760' , editor: editorClipboardUploadEnabled: true ) )(); Home
Community
Ask a Question
Write a Blog Post
Login / Sign-up Search Questions and Answers 0 Former Member Jun 02, 2009 at 11:31 PM VB6 Crystal 8 run time error 20534 "error detected by database dll" 4634 Views Follow RSS Feed Help! I've inherited a VB6 that launches a Crystal report from within; it is using Crystal 8.
Error 20534.error Detected By Database Dll Crystal Reports
Download Zip: https://tinourl.com/2vFwu5
The error I'm getting is "Run time error 20534, Error detected by database dll". When I step through in the debugger, the offending line in the VB code is the ".Action=1" command that I understand actually executes the report.
From what I read online, the 20534 error is mostly a generic crystal message that covers a variety of things. For the database dll message, most things point to a problem in the query the report is running. Here's the problem - I can open and run the report in report designer just fine. No problems at all. In fact, I can debug the VB, and while it's sitting at the .Action line erroring out, I can open the .rpt file and run it and it pulls the current data I'm expecting.
What the heck do I try next? Other crystal reports work on the same server that this is running from, and reinstalling crystal isn't really an option. Is there a DLL I can try and reregister? Is there something else to try? Thanks much for ANY ideas or help!
2ff7e9595c
Comments