[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

How do I reconnect to my SQL Server?

Asked by dbabbitt in MS SQL Server

Tags: sql, server, connection

Hi Guys!

Connecting to the remote machine via the Terminal Services client, I ran this batch script on my SQL Server:
      
      %windir%\System32\net.exe stop "SQLServerAgent"
      %windir%\System32\net.exe stop "MSSQLServer"
      %windir%\System32\net.exe start "MSSQLServer"
      %windir%\System32\net.exe start "SQLServerAgent"
      pause
      
Now when I bring up a local web page (that connects to my SQL Server via ODBC) from my local browser, I get this error:
      
      java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect
      at coldfusion.server.j2ee.sql.pool.JDBCPool.requestConnection(JDBCPool.java:677)
      at coldfusion.server.j2ee.sql.pool.JDBCManager.requestConnection(JDBCManager.java:123)
      at coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:138)
      at coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:125)
      at coldfusion.sql.DataSrcImpl.getCachedConnection(DataSrcImpl.java:120)
      at coldfusion.sql.DataSrcImpl.getConnection(DataSrcImpl.java:75)
      at coldfusion.sql.SqlImpl.execute(SqlImpl.java:207)
      ...
      
And now when I try to connect to my SQL Server using my local copy of Enterprise Manager, I get this error:
      
      A connection could not be established to MY_SQL_SERVER.
      
      Reason: SQL Server does not exist or access denied.
      ConnectOpen (Connect())..
      
I have no problem connecting to the remote machine via Terminal Services and running its copy of Enterprise Manager and connecting from there. I have no problem running a web page located on another server (that connects to my SQL Server via ODBC) from my local browser.

Unblocking Server Message Block Protocol (UDP) and exiting and shutting down my personal firewall has no effect. I can even see that MSTSC.EXE has been allowed to connect to my SQL Server via outbound TCP on remote port 3389 and that JAVAW.EXE have been allowed to connect to my SQL Server via outbound TCP on the MS SQL Server remote port.

I have done this before and there is a quick fix, but I can't remember what it is. I assumed it was just starting up the Distributed Transaction Coordinator (MSDTC) Service on the remote machine via the Terminal Services client, but that has no effect either. All three services in the MS SQL Server Manager are running as shown in the icon in the system tray on the remote machine as seen through the Terminal Services client.

How do I reconnect to my SQL Server?

Thanx

Dave
[+][-]04/27/05 08:20 AM, ID: 13877068Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/27/05 08:44 AM, ID: 13877387Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/27/05 09:25 AM, ID: 13877907Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/27/05 10:05 AM, ID: 13878357Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/27/05 12:31 PM, ID: 13879642Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/27/05 12:44 PM, ID: 13879740Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/27/05 12:45 PM, ID: 13879748Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/27/05 12:58 PM, ID: 13879854Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: MS SQL Server
Tags: sql, server, connection
Sign Up Now!
Solution Provided By: Kevin3NF
Participating Experts: 1
Solution Grade: A
 
[+][-]04/28/05 05:22 AM, ID: 13884806Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/28/05 08:05 AM, ID: 13886493Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81