Connecting via network

Use SQL authentication

Server name:

[pcnetworkname]\SQLEXPRESS,portnumber

for example a working string used in the ‘Server name’ box:

MY-PC-NAME\sqlexpress,1051

Check the log of the target PC’s SQL server to confirm the PC name and the port it is listening on

SQL Server Log

You can check the log a PC’s SQL Server:
SQL install folder > MSSQL\LOG\ERRORLOG (ERRORLOG is the file name, no extension)
One of the first few entries will give you the IP, port, and name of the instance – check these are right for what your trying to do. Using the correct port number is a typical issue.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published.