When setting up a system that requires access to SQL 2008 on a remote computer and stored on another computer in the same domain, I encountered the following error:
The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
When I installed SQL Server, I was sure that I configured the system that way. How to fix this problem?
SQL- , , . , SQL Server " ". ( ) :
, , , . , Windows Local Services SQL Server: MSSQLSERVER SQLEXPRESS (. ).
, SQLEXPRESS , MSSQLSERVER . , SQL Server.
, ...
, , , /ip, :
--SQL, {}
, , , ; SERVER\namedinstance. . , Enter SERVER\namedinstance. MS, , , , SERVER\SERVER\namedinstance...! ( ), , ( ) - .
, , , ( SQL Server - ). , IP.
, , - -, , , SQL Server .
, SQL Server, :
-Open SQL Server Configuration Manager - In the left pane, click "SQL Server Network Configuration" and then "Protocols for [Instance Name, Probably SQLEXPRESS]" -Then click TCP / IP again and you will see the port used. Mine was specified in the dynamic IPAll / TCP port. -In SQL Server Management Studio, add the port name to the connection string as follows:
if you connected to:
MYSERVER\SQLEXPRESS
port is indicated as
MYSERVER,2071\SQLEXPRESS
Source: https://habr.com/ru/post/1719057/More articles:EJB lookup вызывает ошибку: org.omg.CORBA.MARSHAL: vmcid: младший код SUN: 257 завершено: возможно - ejbAssigning an object to a method call - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1719054/import-users-to-aspnet-membership-from-a-file&usg=ALkJrhgX8bQbWzcVOue0lYpki74jyPIjsAAssociate a Silverlight list with the result of another combobox - data-bindingWhat is the correct term for a URL parameter without a request? - urlUIView. How to place a preview under parental supervision - iphoneSeveral dependent projects in continuous integration tools - continuous-integrationEmacs multi-line offer - multilineПодавить тег привязкиhref при использовании jquery - javascriptJavascript performance? - Put events in html tag or link them? - performanceAll Articles