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
SQL e Web Services
giovedì 30 marzo 2006 - 22.11
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
roberta123
Profilo
| Newbie
23
messaggi | Data Invio:
gio 30 mar 2006 - 22:11
Salve
,
utilizzando VS.Net 2005 Pro e Sql Express per realizzare un Web Services. Per test avrei bisogno di crearmi un db chiamato clienti, ho provato aggiungendolo in App_Data e poi creando la stringa di connessione nel file .cs
SqlConnection conness =new SqlConnection("server=localhost;"+"user id=sa;password=;initial catalog=clienti");
Ho creato il WebMethod per visualizzare il DataSet ma quando premo su Invoke generato dal .asmx ho un messaggio d'errore:
Sql.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connectiong to SQL Server 2005, this failure may be caused by the fact that under default settings SQL Server does not allow remote connections. (provider:Named Pips Provider, error:40 - Could not open a connection to SQL Server)
at System.Data.SqlClient..... varie e System.Data.ProviderBase.....varie e System.Data.SqlClient.SqlConnection.Open() e Service...ctor() in percorso dove si trova il .cs
Che è successo?
roberta123
Profilo
| Newbie
23
messaggi | Data Invio:
ven 31 mar 2006 - 08:55
Scusa poi spiegarti meglio quando ti riferisci ad autenticazione mista.
Grazie
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 !