deploy - doesnt run on other machine

deploy - doesnt run on other machine

Postby pawy » Thu 12 Feb 2009 16:40

Hello

I have a sepparated dll where i offer a service for connection to the entity framework context.
There is a correct license file.

But when i deploy (and i included devart.data & devart.data.mysql) it says:

Unable to find the requested .Net framework data provider. It may not be installed.

the same effect is when i cange the provider part in the connectionstring. could you tell me what i have to do, so that endusers doesnt have to install the connector sepparately (cause they dont have admin-rights...)?
pawy
 
Posts: 1
Joined: Thu 12 Feb 2009 16:23

Postby Shalex » Tue 17 Feb 2009 12:38

If you need not to make "Minimal installation" on the target machine, try placing to your application folder for deployment the Devart.Data.dll, Devart.Data.MySql.dll + Devart.Data.MySql.Entity.dll (for using Entity Framework capabilities). Also place this entry to the config file of your application (if your version of dotConnect for MySQL is different, change the version in the following entry to appropriate):




description="Devart dotConnect for MySQL" type="Devart.Data.MySql.MySqlProviderFactory, Devart.Data.MySql, Version=5.0.20.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />


Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL