Saturday, February 25, 2012
Communication Link Failure
I am getting a strange error message when connecting to a single Sql Server
all of the sudden.
From enterprise manager the error is:
A connection could not be established to ServerName.
Reason: Communication link failure
Please verify Sql Server is running and check your Sql Server registration
properties (by right-clicking on the ServerName node) and try again.
From Query Analyzer the error is:
Unable to connect to server ServerName
ODBC: Msg 0, Level 16, State 1
[Microsoft][ODBC Sql Server Driver]Communication link failure
I am running Sql 2000 SP 3. Both my pc and the server are running Windows
2000.
If I use a different pc under the same login I am able to connect to the
server so the problem must be on my individual pc. I can also connect to
other Sql servers from the pc that is giving me problems. I have tried
uninstalling and reinstalling Sql and I get the same error message.
Does anyone have any idea as to the cause of this?Update...
I am able to register the server via IP address but not server name. When I
register by IP I get the same message that says:
SQL Server registration failed because of the connection failure displayed
below. Do you wish to Register anyway?
Communication link failure
If I click Yes I can then expand the server and view the databases as
normal. When I register by server name I get the same error message but I
still get the Communication link failure when expanding the server.
Help please!!!
Communication Link Failure
I am getting a strange error message when connecting to a single Sql Server
all of the sudden.
From enterprise manager the error is:
A connection could not be established to ServerName.
Reason: Communication link failure
Please verify Sql Server is running and check your Sql Server registration
properties (by right-clicking on the ServerName node) and try again.
From Query Analyzer the error is:
Unable to connect to server ServerName
ODBC: Msg 0, Level 16, State 1
[Microsoft][ODBC Sql Server Driver]Communication link failure
I am running Sql 2000 SP 3. Both my pc and the server are running Windows
2000.
If I use a different pc under the same login I am able to connect to the
server so the problem must be on my individual pc. I can also connect to
other Sql servers from the pc that is giving me problems. I have tried
uninstalling and reinstalling Sql and I get the same error message.
Does anyone have any idea as to the cause of this?
Update...
I am able to register the server via IP address but not server name. When I
register by IP I get the same message that says:
SQL Server registration failed because of the connection failure displayed
below. Do you wish to Register anyway?
Communication link failure
If I click Yes I can then expand the server and view the databases as
normal. When I register by server name I get the same error message but I
still get the Communication link failure when expanding the server.
Help please!!!
Friday, February 24, 2012
Common Password
No, there is no such script that ships with SQL Server because we do not recommend setting a common password for all SQL logins.
Thanks
Laurentiu
How to change a user's password through a System SP ? If I only know the administrator's username and password.|||
If you are an administrator and you want to reset a user's password, then you can just execute:
ALTER LOGIN user WITH PASSWORD = 'new_password'
See the ALTER LOGIN topic in BOL for more info on this statement.
Is this what you were looking for?
Laurentiu
|||Thanks Again. Yes you are right but i tried using the Statement and it does not work. I did not find anything related in BOL.Note: I am using MS SQL Server 2000. Thanks|||In SQL Server 2000, you can use sp_password. CREATE LOGIN is new DDL available in SQL Server 2005 only. Here's the equivalent syntax using sp_password:
sp_password NULL, 'new_password', 'user'
You can search for "sp_password" in BOL for SQL Server 2000 for additional info on this.
Thanks
Laurentiu|||Thanks Lots Laurentiu.
Tuesday, February 14, 2012
command to load data from txt file to sql server 2005
Hi guys,
i would like to know the command used to load the data from the txt file to the sql server 2005.
Thanks in advance
Lalitha
Check this thread for suggestions:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1746695&SiteID=1