Back to forum list… Back to Issues and Problems...

Magento connector can't load, but it's already loaded. (2 replies)

Randy
7 years ago
Randy 7 years ago

I am getting an error about IMan being unable to load a .DLL even though it is loaded.  This may be related to previous issues we've had with 4.5 connectors.

1. Place new Magento Connector on palette, and open it.

2. IMan will populate a list of systems in the "Select System" dropdown, and the "Export Entity" dropdown is also populated correctly.  Additionally, the Options list below "Export Entity" is also created correctly.

3. Try to process the data.

4. Get error "The assembly file [ECInternet.Connectors.Magento.dll] could not be loaded from [C:\IMan\Addins]"

Notes:  This connector is actually the 4.5 version (ECInternet.Connectors45.Magento.dll).  That is the only version in \Addins\ (meaning there is NOT ECInternet.Connectors.Magento.dll).  This was a new Magento Reader which was placed, so it's not reading old values in an existing .xml file.

Randy
7 years ago
Randy 7 years ago

OK, figured it out:

When you create a system connector, it stores the current name of the DLL in the database, so if it's for a 4.5 Magento Connector, you will get "ECInternet.Connectors45.Magento" as the value in SYSTEM.ASSEMBLY, and if it's the non-4.5 version of the connector, it would see "ECInternet.Connectors.Magento".

If you try to load a system connector which is set to use "ECInternet.Connectors.Magento", and you are currently using the 4.5 version of the connector, you will see the above error.

I'm guessing that whatever calls into PullMetaExtender doesn't care that the connector isn't the same "version" (since it loads the meta-data), but whatever calls into PullDataInterop DOES care, since IMan does not process any data.

To add addition confusion, this is all hidden from the user when they are in the System Connectors screen.  They do not see the name of the .DLL used, so the "System Type" dropdown is set to the same value for both a working system connector (has SYSTEM.ASSEMBLY value matching existing connector) and a non-working system connector (has SYSTEM.ASSEMBLY value different than existing connector).

Randy
7 years ago
Randy 7 years ago

Added screenshots.

https://www.realisable.co.uk/wp-content/uploads/2017/05/firefox_2017-05-15_14-35-50.png
https://www.realisable.co.uk/wp-content/uploads/2017/05/Ssms_2017-05-15_14-37-31.png
https://www.realisable.co.uk/wp-content/uploads/2017/05/firefox_2017-05-15_14-35-26.png

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close