473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Unknown connection option in connection string: provider.

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
2 6922
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Marsha | last post by:
Does anyone know how to add a new data provider to Visual Studio - to the Provider list in Server Explorer. I am using Sybase's ADO.NET Data Provider. It has been added to my GAC and appears in...
1
by: Otto Blomqvist | last post by:
Hello ! I'm writing a DB app using Delphi 7. The PostGres Delphi components we are using are PostGreDAC from MicroOLAP, the latest ODBC drivers (from postgre.org)and PostGres 7.2.2. The...
11
by: TomServo | last post by:
I am writing code that needs to run on a variety of Unix systems. I am calling the statvfs and statfs system calls and I need to to convert some of the integers returned to character strings....
0
by: luresh | last post by:
Hi EveryBody : i am using following code ,it is working fine most of the time but some time "Unable to read data from the transport connection: The connection was closed" error occured in the...
2
by: Matik | last post by:
Hi, I'm a little confused. The connection option under File Menu selection is not available! When I've addet it manualy, it's greyed, so I can not access it. What is responsible for this kind...
0
by: parthiv123 | last post by:
In my Application I am using rda.LocalConnectionString = "Provider=Microsoft.SQLServer.OLEDB.CE.2.0;Data Source=" + Global.Config.LocalTempDB; where rda is RDA instance. & getting the following...
0
by: priyanka s | last post by:
i want to make database connection with "ole db provider for sql server" without using the wizard and then want to use dll file function to insert data getting from remote server...is ther any link...
1
by: cyberdwarf | last post by:
Hi, Weird question, but hey!! We have mixed-mode authentication on one of our databases. Is there any way of avoiding the users seeing the "Use trusted connection" option when in the...
3
by: cppman | last post by:
Hello, I am very new to C++ programming. I am trying to read a file with very large strings back to back, no commas or any other seperations between characters in a string and the size of the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.