Mutiple version of Devert
Posted: Tue 02 Dec 2014 09:58
i am building a web service where the version of Devart.Data.MySql is 7.2.77.0(install in my local machine).The version of Devart.Data.MySql in my server is 6.60.258.0.So when i build the web service locally and publish it in webserver i am getting the error '[A]Devart.Data.MySql.MySqlConnection cannot be cast to Devart.Data.MySql.MySqlConnection. Type A originates from 'Devart.Data.MySql, Version=6.60.258.0, Culture=neutral, PublicKeyToken=09af7300eec23701' in the context 'Default' at location 'C:\Windows\assembly\GAC_MSIL\Devart.Data.MySql\6.60.258.0__09af7300eec23701\Devart.Data.MySql.dll'. Type B originates from 'Devart.Data.MySql, Version=7.2.77.0, Culture=neutral, PublicKeyToken=09af7300eec23701' in the context 'Default' at location 'C:\WebServer\nVision.LIVE\nVision.DataPort.Service\Application Files\nVision.DataPort.Service_1_0_0_0\Devart.Data.MySql.dll'.,InnerException-'.How can i solve it?Is there any solution without installing the same version in server & locally?Please let me know