NVS wrote:
MY config file has source as servername\sqlexpress
and initial catlog=lansweeper32 user id=lssqluser32;password="
The error is network related or instance-specific error occurred while establishing a connection to sql server. The server was not found or was not accessible veriffy that the instance name is correct and that sql server is configured to allow remote connection error 26- error locating server/instance specified
should source be the server\sqlexpress and the catlog is the database name?
I can connect to the DB with the GUI.
Could you upload your config file please, that's easier.
typical connectionstring :
Persist Security Info=False;Data Source=
myserver\sqlexpress;Initial Catalog=
Lansweeper32;User ID=
lssqluser32;Password=
1234SQL Server : myserver\sqlexpress
Database name : Lansweeper32
Username : lssqluser32
Password 1234