I'm trying to output a list of users membership.GetAllUsers(), but I get an exception:
When establishing a connection to SQL Server error has occurred that is associated with the network or with a specific instance. Server not found or unavailable. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error upon detection of the specified server or instance)
My connection string :
<connectionStrings>
<add name="DefaultConnection"
connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-SDC-20150804171038;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-SDC-20150804171038.mdf"
providerName="System.Data.SqlClient" />
</connectionStrings>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire