Forum guidelines
  • Home
  • »
  • Reporting
  • »
  • Unable to find the requested .Net Framework Data Provider
AuthorQuestion
Unable to find the requested .Net Framework Data Provider
Posted on: 06 Feb 2011
Hi,

I am using the following connection string to connect:

<add name="MySql" connectionString="Data Source=YourServerName;
Database=YourDataBase;User ID=YourUserID;Password=YourPassword;"
providerName="MySql.Data.MySqlClient" />

But, I am getting the following error message while I am trying to connect MySQL through .NET.

Unable to find the requested .Net Framework Data Provider.

Can someone help me to sort out the issue?

Regards,

Naim Khan

Naeem Khan (Software Developer)
AuthorReply
Re: Unable to find the requested .Net Framework Data Provider
Posted on: 06 Feb 2011  

hi
don't write MySql provider name
you can write System.Data.OleDb   or System.Data.ODBC
i think this is helpful u.

Re: Unable to find the requested .Net Framework Data Provider
Posted on: 07 Feb 2011  

Naim,

Best and simple way to find a connection string.

Drag and drop a DropDownlist, Select/Click on DataSource, Select the DB, Bind Columns and Finish.

Now you will get the actual Connection String.

Mark as Answer, on the posts reply's that helped you !!!.
Re: Unable to find the requested .Net Framework Data Provider
Posted on: 07 Feb 2011  
thanks for reply but my Connection String is right i need data provide to connect my form .. so if you have solution for that then just give me..

Naeem Khan (Software Developer)
Re: Unable to find the requested .Net Framework Data Provider
Posted on: 07 Feb 2011  

Naim,

You are giving order or another way of requesting :).

Refer following links.

1, 2, 3

Mark as Answer, on the posts reply's that helped you !!!.

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.