Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Connecting to SQL Server 2005 Remotely

Posted on 2015-01-16
6
Medium Priority
?
228 Views
Last Modified: 2015-01-16
Hi All,

Hopefully it a quick simple solution.

I have an instance of SQL Server 2005 running on the server as localhost/SQLEXPRESS2005.

I've enable remote connections ont he database and enabled TCP/IP on the configuration.

I've downloaded Port Query and run

TCP port 1433 (ms-sql-s service): NOT LISTENING
portqry.exe -n <server ip> -e 1433 -p TCP exits with return code 0x00000001.

The browser servies is running and windows firewall is currnetly off.

ANy ideas on what going one here?
0
Comment
Question by:flynny
6 Comments
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40553130
You need to check in which port that instance is listening.
0
 
LVL 17

Accepted Solution

by:
Barry Cunney earned 2000 total points
ID: 40553139
Hi flynny
Please confirm that the MSSQLServer service is running - use either Windows Services Console or SQL Server Configuration Manager
 SQL Server Configuration Manager will give you the Process ID if it is running.
You can also look in Task Manager for an entry for 'sqlservr.exe'

If it is running and you can get the Process ID, then you can use netstat command
netstat -ano | find "<process id>"

This will help you confirm if the MSSQLSERVER service is running or not and the process id and port details
0
 
LVL 20

Expert Comment

by:Rikin Shah
ID: 40553141
Hi,

Is it something like the domains are different?
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40553145
In the same window you've configured the TCP/IP, right-click on TCP/IP and go to Properties then IP Addresses tab. You would confirm by TCP Port field which one the instance is using.
0
 

Author Comment

by:flynny
ID: 40553147
Barry,

First of all many thanks for your quick response.

- Please confirm that the MSSQLServer service is running - use either Windows Services Console or SQL Server

Thanks for your help, for some reason the SQL Server Agent Service had stopped running.

Once Again I appreciate you help.
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40553151
have an instance of SQL Server 2005 running on the server as localhost/SQLEXPRESS2005.
for some reason the SQL Server Agent Service had stopped running.

Strange, since SQLExpress Edition doesn't has SQL Agent service.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question