I cant conect to sql server from C#. WhenÃÂ I try to add a new connection I get this error
"A network-related or instance-specificÃÂ error occored 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 configures to allow remote conections.(provider:SQL Network Interfaces, error:26-Error locating Server/Instance Specified)"
When I try to add a new connection using SQL Server Authentication i get this error:
"Faild to generate a user instance of SQL Server. Only an intergrated connection can generate a user instance. The connection will be closed.
Some times i get this error:
"You don't have permission to open this file.
Contact the file owner or an administrator to obtain permission."
I am the owner of the file and the file is on my computer and I am log on as the administrator and the sql server and c# are located on this admin account.
View Complete Post