By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,335 Members | 1,310 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,335 IT Pros & Developers. It's quick & easy.

Unknown connection option in connection string: provider.

P: n/a
I set up SQL Server in Computer A, and running a c# application from
computer B. When I attempt to create an SqlConnection object an error
is raised. The message is "Unknown connection option in connection
string: provider." The connection string is standard and do not think
it's the problem because I am using the connection string created by a
Data Connection object I created using Visual Studio .Net. Can anyone
help, Thank you...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If you are creating an SqlConnection, option "Provider" is neither needed
nor supported. It is used for OleDbConnection.

HTH,

Eliyahu

"Jose Betances" <an*******@devdex.com> wrote in message
news:OB**************@TK2MSFTNGP11.phx.gbl...
I set up SQL Server in Computer A, and running a c# application from
computer B. When I attempt to create an SqlConnection object an error
is raised. The message is "Unknown connection option in connection
string: provider." The connection string is standard and do not think
it's the problem because I am using the connection string created by a
Data Connection object I created using Visual Studio .Net. Can anyone
help, Thank you...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #2

P: n/a
Hi Jose,

Take a look at
http://www.able-consulting.com/dotne..._Providers.htm here you
will find several examples of connection strings to differents DB, as you
can see the Provider is not needed, in fact the provider is known already,
it's MSSQL :).

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jose Betances" <an*******@devdex.com> wrote in message
news:OB**************@TK2MSFTNGP11.phx.gbl...
I set up SQL Server in Computer A, and running a c# application from
computer B. When I attempt to create an SqlConnection object an error
is raised. The message is "Unknown connection option in connection
string: provider." The connection string is standard and do not think
it's the problem because I am using the connection string created by a
Data Connection object I created using Visual Studio .Net. Can anyone
help, Thank you...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.