Magento connector can't load, but it's already loaded. (2 replies)
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).
Added screenshots.
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.