|
-
Sep 27th, 2004, 05:15 PM
#1
Physical Database Not Found
I am using SQL 2000 and Crystal Reports 8.5 Developer and I
wrote a report that gets an ADO recordset set at runtime. There
is no problem running the query and printing out the report on
my system, but on another users system it gives a "Physical
Database Not Found" error. The app and report are located on a
network share with no security on it.
This is some of the code...
VB Code:
'ADO objects are populated and open.
Set crxApp = New CRAXDRT.Application
Set moReport = New CRAXDRT.Report
Set moReport = crxApp.OpenReport(App.Path & "\MyReport.rpt", 1)
moReport.Database.SetDataSource goRs, 3, 1
moReport.DisplayProgressDialog = True
moReport.PrintOut True, 1
I'm at a loss on this one.
Thanks in advance for any help.
Last edited by RobDog888; Sep 28th, 2004 at 09:05 PM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 27th, 2004, 09:03 PM
#2
This might point you in the right direction.
-
Sep 27th, 2004, 09:31 PM
#3
Yes, before I left work I just figured out that it was a dependancy
dll issue. The two links in your link will help me pinpoint the
dependancy problem. I will post tomorrow after I have tryied a
few of these solutions.
Thanks Martin.
Edit: 4000 posts! Getting closer to custom.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 28th, 2004, 09:04 PM
#4
Update: For the solution, it was in the link where they inform you
that there is a Runtime.hlp file for Crystal that only comes with
the Developer version. In their help file it shows which dlls and
ocxs are necessary for each type of reference you have in your
project and which general CR functions require other dlls. There
are allot of dlls to add, damn. over 5 Mbs of dlls for basic
functionality of connecting to a SQL server and printing out a
report. Then more if you want to export it, display it, or do other
things.
Its working on other systems except Terminal server and I
haven't tested it on XP either.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|