Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2002
    Posts
    1

    Red face Unanswered: I cannot connect an application using OLE DB

    When I try to make the connection, the following message appears

    "Cannot open database requested in login 'DBName'. Login fails."
    Err Code = -2147467259

    We are using SQL Server 2000 on NT Server 4.0 SP 6.
    The client machine has MDAC 2.6 SP1.

    All ideas are welcome.

    Thanks

  2. #2
    Join Date
    Oct 2001
    Location
    England
    Posts
    426
    Sounds like the connection to the server has been made but the login cannot open the database. Could be because the database does not exist or because the login does not map to a valid user in the database.
    Try just connecting to master.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •