Due to scheduled maintenance, some areas of our site are currently inaccessible. Thank you for your patience.

Please reach out to sales@eonesolutions.com with any questions.

Back

Scheduled map fails after adding an assembly to the SmartConnect script namespace.

Published: Jan 27, 2017
Post Author Written by David Youngquist

SmartConnect has a feature that allows users to add scripting namespaces to enhance the scripting capabilities in any of the coding windows within SmartConnect.  This feature is accessed by going to the Maintenance Tab and then selecting Script Name Spaces.  

When you add a script namespace and manually run the map, the assembly needs to get placed in the main SmartConnect folder.  However when you run the map via the scheduler, it does not look in the SmartConnect folder.  You will get an error in the Windows Event Viewer that says, “SmartConnect Scheduler : Could not run the scheduled map MAPNAME Exception has been thrown by the target of an invocation.”.

In order to run the same map scheduled, the assembly needs to get copied into the following folders on the machine that is hosting the SmartConnect scheduling service.:
C:WindowsSysWOW64
C:WindowsMicrosoft.NETFrameworkv4.0.30319
C:WindowsMicrosoft.NETFramework64v4.0.30319

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.