halit
halit

Reputation: 1128

using Mysql Connector without installation .Net

I have installed mysql connector to my computer. I use EntityFramework. Provider is MySql.Data.MySqlClient.

MyWeb application works well. But I deployed my project to shared hosting. I got error .

Server Error in '/' Application. Unable to find the requested .Net Framework Data Provider. It may not be installed.

And I cant Install MYsql connector to Shared Hosting. How can I fix this problem. Without installation.

Upvotes: 1

Views: 1889

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364349

You must add provider library to bin directory in your web application and register provider in your web.config.

Upvotes: 3

Related Questions