Results 1 to 4 of 4

Thread: Physical Database Not Found

  1. #1

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Post 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:
    1. 'ADO objects are populated and open.
    2. Set crxApp = New CRAXDRT.Application
    3. Set moReport = New CRAXDRT.Report
    4.  
    5. Set moReport = crxApp.OpenReport(App.Path & "\MyReport.rpt", 1)
    6. moReport.Database.SetDataSource goRs, 3, 1
    7. moReport.DisplayProgressDialog = True
    8. 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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  2. #2

  3. #3

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  4. #4

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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
  •  



Click Here to Expand Forum to Full Width