Oppure

Loading
20/11/10 16:09
steve4891
Ciao a tutti,
pensavo di aver finito ma non è così ahimè..

ho creato un programmino con una connessione a un database SQL server.
il tutto fatto graficamente e in automatico con vb2010 e funziona perfettamente.

però il mio stesso programma su un altro computer non funziona e mi dà 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 connection. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

cosa devo fare per far funzionare il mio programma su qualsiasi computer?
grazie a tutti
aaa
20/11/10 19:20
netarrow
Vai sul SQL Server Configuration Manager (lo trovi sotto start-programmi) e sotto protocols abilita TCP.

Assicurati inoltre che la connection string punti al server correttamente.
aaa