Keyword not supported: 'provider'.

J

John A Grandy

Sql Server 2005 SP3 , .NET 2.0 , Visual Studio 2005

For the following connection string :

string connectionString = "Data Source=localhost;Initial
Catalog=Database1;Integrated Security=SSPI;Provider=SQLNCLI.1;";

I am attempting to establish a SqlConnection object

SqlConnection connection = new SqlConnection(connectionString);

This used to work fine, but now I receive error :

"Keyword not supported: 'provider'."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top