Results 1 to 3 of 3

Thread: Run-Time Error '-2147467259(80004005) SQL Server does not exist or access denied

  1. #1

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211

    Run-Time Error '-2147467259(80004005) SQL Server does not exist or access denied

    Guys I need some help. I have this server application done in VB which constantly processes records in and out of the database. Queries are being executed every number of seconds.

    What happens is that every now and then I get a runtime error saying: [DBNETLIB]{ConnectionOpen (Connect()).]SQL Server does not exist or access denied. I have a hunch that the server is being disconnected from the network and my network administrator doesn't believe me. Is there a way for me to prove this?

    I know I could trap the error so that my application doesn't get this error. But its not the issue here. The issue here is that servers should not be disconnecting from the network.
    C++ Programming is overwhelming.

    Dont let it overwhelm you or you'll fall into the oblivion of its perfection

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Run-Time Error '-2147467259(80004005) SQL Server does not exist or access denied

    Queries are being executed every number of seconds.
    Is there anything in the SQL Server Log file or the server's Event viewer?
    Use SQL Profiler to help diagnose the problem.

    ADO and the OLE Providers do a lot of things "behind the scenes". For example, if a connection is considered busy the provider might simply open and use another connection. Your code may be spawning these extra connections. These KB articles explain the problem.

    http://support.microsoft.com/kb/907264
    http://support.microsoft.com/kb/194979

  3. #3

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211

    Re: Run-Time Error '-2147467259(80004005) SQL Server does not exist or access denied

    Sorry for the late reply. Unfortunately I don't have access to other SQL applications like the Profiler. Only Query Analyzer was given to me.

    Thanks for the help. I'll be reading the article in your link.
    C++ Programming is overwhelming.

    Dont let it overwhelm you or you'll fall into the oblivion of its perfection

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