DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2008
    Posts
    2

    VB6, Crystal Reports 8, with SQL Server 2005

    I am working on an application that is developed in Visual Basic 6, and is using Seagate Crystal Reports 8 for reporting. The client wants the Database to be SQL Server 2005, however we have had some issues with our application and had to install SQLServer 2000 for the reports to work.

    The issue was the "Physical Database was not found", and installing SQL 2000 fixed this problem.

    Given that the client only wishes to use SQL2005, is there any way we can get these to work in conjunction without a code-base rewrite?

    Thanks!

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Welcome to DevX

    In so far as SQL Server 2005 didn't exist when Crystal Reports 8 was released (and SQL Server 2000 did exist), I'm guessing that might be the problem.

    Do you have, in your house, not your client's, the latest version of Crystal Reports that you could use as a test of this hypothesis?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    If you don’t get an answer here, you might try Crystal’s tech support site: http://support.businessobjects.com/
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  4. #4
    Join Date
    May 2008
    Posts
    37
    how bout using odbc drivers that will allow older apps to connect to sql2005 ?

    an internal office project we had (although it was in java), allowed us to connect to our newer sql2005 server without a code re-write ...

    i remember the odbc driver we used was downloaded from the microsoft site itself ...

    hope this helps ...

    cheers !!!
    Last edited by jamesbandido; 06-02-2008 at 08:54 PM.
    BASED FROM YOUR POSTS, I HAVE EXAMINED YOUR BEHAVIORAL PATTERN AND I SAW YOUR BRAIN'S TWO SIDES : LEFT & RIGHT, AND I SAW THAT ON THE LEFT SIDE THERE'S NOTHING RIGHT WHILE ON THE RIGHT SIDE THERE'S NOTHING LEFT

  5. #5
    Join Date
    Jun 2008
    Posts
    2

    Smile Fixed!

    After several different research methods, I found that it was a SINGLE DLL was missing. If you run into this type of problem, make sure that you have

    NTWDBLIB.dll in C:\Windows\System32\

    its unable to be registered by regsvr32.exe

    It's description is as follows:
    Description: SQL Server Client Library
    Company: Microsoft Corporation
    File Version: 2000.80.194.0

    I'm thinking it is a DLL from SQLServer 2000.
    This works without any other part of SQL2000 installed.

    Thanks again for your help!

  6. #6
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    It is in fact from SQL Server 2000. After googling the DLL, I found this on another site from a user with the same issue/problem.

    "SQL Server 2005 does not include the files needed to do programming work on applications that use these APIs.

    The recommended alternatives are captured in SQL Server 2005 Books Online in section "Deprecated Database Engine Features in SQL Server 2005", which can also found at MSDN at http://msdn2.microsoft.com/en-us/lib...,SQL.90).aspx:

    Although the SQL Server 2005 Database Engine still supports connections from existing applications using the DB-Library and Embedded SQL APIs, it does not include the files or documentation needed to do programming work on applications that use these APIs. A future version of the SQL Server Database Engine will drop support for connections from DB-Library or Embedded SQL applications. Do not use DB-Library or Embedded SQL to develop new applications. Remove any dependencies on either DB-Library or Embedded SQL when modifying existing applications. Instead of these APIs, use the SQLClient namespace or an API such as OLE DB or ODBC. SQL Server 2005 does not include the DB-Library DLL required to run these applications. To run DB-Library or Embedded SQL applications you must have available the DB-Library DLL from SQL Server version 6.5, SQL Server 7.0, or SQL Server 2000."

    Thanks for coming back and posting your solution.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  7. #7
    Join Date
    May 2011
    Posts
    1
    I just wanted to say Thank you for actually naming the dll. I have searched on and off for about a month and everybody else just said you are missing the database dll, but never named it. I am using Crystal Reports 8.5, VB6, SQL Server 2008 R2 and the NTWDBLIB.DLL got rid of the error message "Physical Database not found". Thank you agian.

Similar Threads

  1. VB6 w/ ADO 2.6 and SQL Server 2000
    By Michael Schnell in forum VB Classic
    Replies: 2
    Last Post: 07-11-2001, 08:23 AM
  2. Changing Server Name
    By Levi Nkata in forum Database
    Replies: 3
    Last Post: 04-11-2001, 09:31 AM
  3. SQL Server Agent wont auto start
    By David Hay in forum Database
    Replies: 2
    Last Post: 04-02-2001, 07:11 PM
  4. myLittleAdmin SQL Server version
    By myLittleTools.net in forum web.announcements
    Replies: 0
    Last Post: 03-10-2001, 12:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links