how to remove security settings from a connection string in vb.net
Posted
by
teju
on Stack Overflow
See other posts from Stack Overflow
or by teju
Published on 2012-09-22T03:30:18Z
Indexed on
2012/09/22
3:37 UTC
Read the original article
Hit count: 134
hi i am trying to add data to the database that was created by some one but when am trying to insert or delete or update the exception is raising and entire project is not working properly and the error i am facing is
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. 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. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
so now what should i do to resolve this error and my connection string is written as
Dim CON As New SqlConnection("Integrated Security=SSPI;
Persist Security Info=False;Initial Catalog=DIGITALGAMES;
Data Source=TEJUS-PC\SQLEXPRESS")
is there any problem with my connection string ??
© Stack Overflow or respective owner