SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Application Error (SQL Server Error: 10048 )


Application Error (SQL Server Error: 10048 )

Author
Message
Beni_STS
Beni_STS
SSC-Enthusiastic
SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)

Group: General Forum Members
Points: 105 Visits: 3

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.


Site Owners
Site Owners
SSC Guru
SSC Guru (59K reputation)SSC Guru (59K reputation)SSC Guru (59K reputation)SSC Guru (59K reputation)SSC Guru (59K reputation)SSC Guru (59K reputation)SSC Guru (59K reputation)SSC Guru (59K reputation)

Group: Administrators
Points: 59583 Visits: 327
No one has responded to this topic yet. Even if you don't have a complete answer, the original poster will appreciate any thoughts you have!
Jimmy Crackcorn
Jimmy Crackcorn
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 18

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
adamcrv
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2066 Visits: 1

HI,

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 ?

Cheers

Adam




------------------------------
Life is far too important to be taken seriously
adamcrv
adamcrv
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2066 Visits: 1

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
nidhi.joshi
Valued Member
Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)

Group: General Forum Members
Points: 69 Visits: 2
Hi,

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

--Nidhi
Beni_STS
Beni_STS
SSC-Enthusiastic
SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)

Group: General Forum Members
Points: 105 Visits: 3
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.

Thank's
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search