Home Page
Articoli
Tips & Tricks
News
Forum
Archivio Forum
Blogs
Sondaggi
Rss
Video
Utenti
Chi Siamo
Contattaci
Username:
Password:
Login
Registrati ora!
Recupera Password
Home Page
Stanze Forum
SQL Server 2000/2005/2008, Express, Access, MySQL, Oracle
An error has occurred while establishing a connection
lunedì 08 maggio 2006 - 11.35
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
marcodothell
Profilo
| Newbie
3
messaggi | Data Invio:
lun 8 mag 2006 - 11:35
Ho installato il sql server express 2005 in una machina che fa da server. L'installazione è tutto ok però quando provo a collegarmi al databse sql da remoto mi da il seguente errore:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Non so cosa devo modificare nei settaggi. Spero che qualcuno mi possa aiutare.
lbenaglia
Profilo
| Guru
5.625
messaggi | Data Invio:
lun 8 mag 2006 - 12:03
>An error has occurred while establishing a connection to the
>server. When connecting to SQL Server 2005, this failure may
>be caused by the fact that under the default settings SQL Server
>does not allow remote connections. (provider: SQL Network Interfaces,
>error: 26 - Error Locating Server/Instance Specified)
>
>Non so cosa devo modificare nei settaggi. Spero che qualcuno
>mi possa aiutare.
Ciao marcodothell,
l'errore è chiarissimo e ti spiega che di default non sono abilitati i protocolli di rete per accedere da un computer differente da quello che ospita l'istanza.
Abilita il protocollo TCP/IP eseguendo il SQL Server Configuration Manager selezionando il nodo SQL Server 2005 Network Configuration, Protocols for MSSQLSERVER, tasto DX su TCP/IP, Enable.
Nel caso in cui abbia definito una named instance, ti suggerisco di assegnare una porta TCP statica in modo da configurarla sui firewall del server e dei client.
Per fare questo esegui un doppio click su TCT/IP, tab IP Address, assegna una porta a TCP Port e rimuovi l'eventuale porta dinamica in TCP Dynamic ports.
Al termine riavvia il servizio MSSQLServer.
Ciao!
--
Lorenzo Benaglia
Microsoft MVP - SQL Server
http://blogs.dotnethell.it/lorenzo/
http://italy.mvps.org
Torna su
Stanze Forum
Elenco Threads
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?
Dopo esserti registrato potrai chiedere
aiuto sul nostro
Forum
oppure aiutare gli altri
Consulta le
Stanze
disponibili.
Registrati ora !