Results 1 to 6 of 6

Thread: [2005] getting mssql error can't seem to find out why

  1. #1

    Thread Starter
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    Exclamation [2005] getting mssql error can't seem to find out why

    has anyone had and resolved this error before? i've searched and found a lot about it but it doesn't seem as though anyone has a solution for it

    A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.
    Last edited by vbdotnetboy; Mar 20th, 2008 at 04:31 PM.

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] getting mssql error can't seem to find out why

    Depends on what troubleshooting steps you've taken. The first thing I'd do is check to see if I can connect via Management Studio, and if I can, then check the firewall.

  3. #3

    Thread Starter
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    Re: [2005] getting mssql error can't seem to find out why

    yea that was the first thing we tried. it happens every so often. it's happening on a clients machine that is connecting via vpn.

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] getting mssql error can't seem to find out why

    Can you then perform other network connectivity tests? For example, try connecting via ftp to a machine in the network. Or setting up some other software to check the bandwidth health. Your network admins may also be able to shed light on this issue.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [2005] getting mssql error can't seem to find out why

    the connection is being dropped. I've seen that error before. Bottom line, the connection to the sever is dropped and is no longer available. It usually happens when you have an open connection to the database and the server goes "off line".

    What can you do about it? Not much. Handle the error, save the datalocally and let the user know what the server is no longer available. Other than that, there isn't too much. It's probably easier in this case to test the connection first somehow, make sure the server is still there before actually doing DB access.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6

    Thread Starter
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    Re: [2005] getting mssql error can't seem to find out why

    it seems as though we may have found the cause and a possible solution. we ended up find a knowledgebase article from microsoft about 3 possible error... this being one of them, with a win2k3 server with 2 specific NIC cards. long story short the client has win2k3 with the one particular NIC card... so basically they are going to one try and update the firmware and/or drivers... if that doesn't work i believe they are planning on purchasing a different card.

    the strangest thing about all of this is that when this exception is being thrown it's actually within a try catch block but seems like it completely ignores it and crashes the whole app... we've traced it and it makes no sense why it's crashing the app and not being handled within the try catch.

    i don't want to say this is resolved, but in a way it is... i'll be bad later to mark it though.

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

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