Application Error (SQL Server Error: 10048 )

  • Beni_STS

    Old Hand

    Points: 311

    For Client Aplication (Build with VBA MS Access 2000 with DAO) when connect to Database MS SQL 7.0 sometime happend:

    Connection Failed:

    SQLState: '01000'

    SQL Server Error: 10048

    [Microsoft][ODBC SQL Server Driver][TCP/IP Socket]ConnectionOpen (Connect()).

    What wrong with the application, is the SQL, the Network, the Firewall or something.

    I need the suggestion for fixed this problem.

    Thank's for your help.

  • This was removed by the editor as SPAM

  • Jimmy Crackcorn

    SSC Rookie

    Points: 49

    I get the same error but mine also has a

    SQLState: '08001'

    SQL Server Error: 17

    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.


    I only get this error when I run a very large time consuming function.  Like a huge report.  It is as though I am looseing the connection with the SQL server for some reason.

  • adamcrv

    Hall of Fame

    Points: 3056


    Ive seen the error from jimmy crackcorn before, you are right it does occur when running a large time consuming function, ive found it happens because of time outs that are set in SQL server. increasing these does seem to help somewhat, however you should probobly be looking at your report first. Ive found sometimes it doesn't seem to matter how much you extend the timeout, the error still occurs, but altering the report execution or structure, fixes this issue.

    finally mdacs etc should also be looked at as well.

    Not a fix but hopefully a step in the right direction ?




    Life is far too important to be taken seriously

  • adamcrv

    Hall of Fame

    Points: 3056

    In resposne to Beni STS question,

    Has this just started happening, any other info you can provide may help

    is it a new report, new piece of code?

    finally i suppose SQL 7.0 pretty old now, there are plenty of reasons to maybe look at upgrading as well to a newer version? not a solution but something you maybe should look at ?

    some more information would help us to help you though beni sts


    Life is far too important to be taken seriously

  • nidhi.joshi

    SSC Journeyman

    Points: 87


    Error ID 10048 occurs when port is being used by some other application. try changing the port it will resolve the issue.


  • Beni_STS

    Old Hand

    Points: 311

    Thx for all of you,

    fyi, I've already upgrade the Database SQL 7.0 to SQL 2.000

    but still face the same problem.

    for Nidhi, can you explain more detail for the port.

    how to know the port being used by another application ?

    I need your help dan suggestion.


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply