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

By David Youngquist, Senior Support Engineer Friday, January 27, 2017

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 either the C:\Windows\SysWOW64 folder or the C:\Windows\Microsoft.NET\Framework\v4.0.30319 folder of the machine that is hosting the SmartConnect scheduling service.

Posted in: Scripting SmartConnect

Don't Be Greedy:

Written By David Youngquist , Senior Support Engineer

Integrate & Automate without Any Code.


SmartList Data has Never Been Faster.


The Easiest Way to Report on GP Data.