this assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded
Posted by: Didier PELLIGRA
Date: August 08, 2013 04:45AM

Hi,

I'm trying to use powershell scripts to insert data into a mysql DB.

By including this line :
[void][System.Reflection.Assembly]::LoadFrom("C:\VReport\MySQL.Data.dll")

it works fine on windows 2012 servers, but not at all on windows 2008 R2 servers, including a brand new one. I tried installing .net 4 and 4.5 as well as tried with and without installing the connector.

Any idea ?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.