473,415 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,415 software developers and data experts.

SQL 6.5 server connection problem

Problem description
==============
- I have 4 clients and 1 server (SQL server)
- 3 clients are Monitoring console 1 client is operation console
- Monitoring console collects some data from the control unit and
store them into the Sql server
- The operation console then retrieve this data from the sql for
reporting and statistics purposes
- I am using ODBC connection
- The problem is that the operation console is not able to connect to
Sql server
- I receive Error message: “A connection could not be established to
fileserver-(SQL server). Unable to connect. The max number of 15 configured
user connections are already connected. System administrator can configure to
a higher value with SP_Configure”
- I receive the same error message in many conditions while I am using
the EM (Enterprise Manager) GUI

Environment
========
Windows NT 4.0
SQL 6.5

Troubleshooting (we have done & Analysis)
=====
- Seems that sql server has reached the max allowable number of
connections
- It might be some opened connection those never being closed by some
application.
- This problem also appears when 7.5 installed while 6.5 is also
installed, however I don’t have 7.5 installed
- We tried to perform:
Exec sp_configure ‘user connections’, 25
Go
RECONFIGURE
Go

And then try to restart the sql server

- I was unable to execute the above steps as I was receiving time out
- Unable to stop/restart Sql server, I had to reboot to start sql
server (I was being interrupted with the error message again)
- Check sql configuration parameters from EM, I checked:
1. “conn time out” : reasonable values for Min, Max and running
2. “worker threads”: reasonable values for Min, Max and running
3. “user connections”: reasonable values for Min, Max and running
- Seems no problem with configuration parameters (the major ones
related to the symptoms we have at least)
- Also we performed restar for sql server service through the
rebooting with no impact on the problem
- We tried to truncate the log file of the database as I suspected it
causes a problem, we performed the following procedure:
Backup LOG <your database name> with truncate_only
- Try to restart your sql server, no avail
- We checked scheduled tasks, as you mentioned that this problem
started to appear three weeks ago and I noted that when I restart the sql
server or stop the clients the problem disappears but reoccurs each Sunday,
we found one scheduled task which configured to run in the exact same time (on
Sunday) however you added that restarting your server is no more effective
to temporary solve the problem as before (and this is obvious through our
trials above to restart the server)
- We tried to remove that schedule task and then restart as it might
be the cause of the problem
- I was unable to remove the scheduled task, and I received another
error message related to Sql server!!
- While we were performing the above steps, I have been interrupted
with the same error message while I am using the query analyzer
- The server looks to be in very unstable state, so I need some
recommendations to fix the problem as mentioned bove.


Further work done:

I've tried to change the user connections to 0, which means unlimited connections are going to be accepted by SQL server, I found the error message was no more active for a long period before it
reactivated again at the end but with connections user 25! Through that time
I've received the following messages

"A connection could not be established to fileserver - (DB-Library) SQL
server connection Timed out".

"SQL server connection time out. Do you wish to retry?

"ERROR 10024 (DB Library) SQL server connection time out"

Msg No 10007 Severity 5 State 0. General SQL server error.



Here some more problem clarification that it could help fixing the problem

- The working data base is marked inaccessible and cannot be edited

- The following message appears when restart the server and before login

"The application log file is full".
Sep 17 '07 #1
1 5091
Problem description
==============
- I have 4 clients and 1 server (SQL server)
- 3 clients are Monitoring console 1 client is operation console
- Monitoring console collects some data from the control unit and
store them into the Sql server
- The operation console then retrieve this data from the sql for
reporting and statistics purposes
- I am using ODBC connection
- The problem is that the operation console is not able to connect to
Sql server
- I receive Error message: “A connection could not be established to
fileserver-(SQL server). Unable to connect. The max number of 15 configured
user connections are already connected. System administrator can configure to
a higher value with SP_Configure”
- I receive the same error message in many conditions while I am using
the EM (Enterprise Manager) GUI

Environment
========
Windows NT 4.0
SQL 6.5

Troubleshooting (we have done & Analysis)
=====
- Seems that sql server has reached the max allowable number of
connections
- It might be some opened connection those never being closed by some
application.
- This problem also appears when 7.5 installed while 6.5 is also
installed, however I don’t have 7.5 installed
- We tried to perform:
Exec sp_configure ‘user connections’, 25
Go
RECONFIGURE
Go

And then try to restart the sql server

- I was unable to execute the above steps as I was receiving time out
- Unable to stop/restart Sql server, I had to reboot to start sql
server (I was being interrupted with the error message again)
- Check sql configuration parameters from EM, I checked:
1. “conn time out” : reasonable values for Min, Max and running
2. “worker threads”: reasonable values for Min, Max and running
3. “user connections”: reasonable values for Min, Max and running
- Seems no problem with configuration parameters (the major ones
related to the symptoms we have at least)
- Also we performed restar for sql server service through the
rebooting with no impact on the problem
- We tried to truncate the log file of the database as I suspected it
causes a problem, we performed the following procedure:
Backup LOG <your database name> with truncate_only
- Try to restart your sql server, no avail
- We checked scheduled tasks, as you mentioned that this problem
started to appear three weeks ago and I noted that when I restart the sql
server or stop the clients the problem disappears but reoccurs each Sunday,
we found one scheduled task which configured to run in the exact same time (on
Sunday) however you added that restarting your server is no more effective
to temporary solve the problem as before (and this is obvious through our
trials above to restart the server)
- We tried to remove that schedule task and then restart as it might
be the cause of the problem
- I was unable to remove the scheduled task, and I received another
error message related to Sql server!!
- While we were performing the above steps, I have been interrupted
with the same error message while I am using the query analyzer
- The server looks to be in very unstable state, so I need some
recommendations to fix the problem as mentioned bove.


Further work done:

I've tried to change the user connections to 0, which means unlimited connections are going to be accepted by SQL server, I found the error message was no more active for a long period before it
reactivated again at the end but with connections user 25! Through that time
I've received the following messages

"A connection could not be established to fileserver - (DB-Library) SQL
server connection Timed out".

"SQL server connection time out. Do you wish to retry?

"ERROR 10024 (DB Library) SQL server connection time out"

Msg No 10007 Severity 5 State 0. General SQL server error.



Here some more problem clarification that it could help fixing the problem

- The working data base is marked inaccessible and cannot be edited

- The following message appears when restart the server and before login

"The application log file is full".







heya!
ur sql server is not properly installed that's why u can't connect with others...like u we have 1 server and 4 client computers but it is working properly....if error appears your IP adressing and network setup is not properly!try to reinstall it and see for networking setup properly.......
we are using version 6.5 too..
Sep 18 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Savas Ates | last post by:
"SQL Server does not exist or access denied" sql server error:17 i cant connect sql Server 2000 why?
9
by: Niyazi | last post by:
Hi, I can connect using my PC local SQL Server Enterprise manager to Remote SQL Server. But I cannot connect using my Connection string? strConn = "Data Source=190.168.0.97,1433;Network...
4
by: Brian Henry | last post by:
I an trying to connect to a sql server in asp.net with the sql connection object, and every time i try to open the connection i get this Server Error in '/' Application. Login failed for user...
5
by: Justin Ray | last post by:
I've created an ASP.NET application that runs on my local IIS server. It needs to connect to a SQL Server database on a different machine. The SQL server is setup for "mixed mode" authentication....
3
by: Marcos Beccar Varela | last post by:
Hello, does anyone knows how to make a SQL Server connection from a string not using the "wizard"? I have various reports and I need to make a connection that when the parameters are changed in...
17
by: Danieltbt05 | last post by:
just installed SQL server 2000 and using my client , i can't locate the server. I used SQL query analyzer to search but no servers were found. Error message is as below Server : Msg17,level...
1
by: BobLewiston | last post by:
I’m trying to learn how to connect to an SQL Server database (I’m using the AdventureWorks sample database), but I’m having problems. Here’s the code I’m using: // define connection string for...
10
by: Elaine121 | last post by:
Hi i've been batteling for hours and can't seem to find the problem. When my server runs and I press the connect button the gui freezes until the client gui is terminated.. only then the gui becomes...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.