HELP ARTICLE

eOne.SmartConnect.UI.dll: Exception has been thrown by the target of an invocation.


Receiving an error, “eOne.SmartConnect.UI.dll: Exception has been thrown by the target of an invocation. InnerException: The type initializer for ‘eOne.SmartConnect.UI.GPAddIn’ threw an exception.” when launching Microsoft Dynamics GP 10.0



This is caused by having this dll in the AddIns folder without having the SmartConnect dictionary loaded. This can be resolved by several different methods.

1. If you intentionally removed the SmartConnect dictionary from the Great Plains folder, you need to rename the add in files as well. Go into the C:\Program Files\Microsoft Dynamics\GP\AddIns folder and rename all the eOne.SmartConnect*.dll files to eOne.SmartConnect*.old

2. If your Dynamics.set file has the incorrect number products in it, you will receive this error as well. Locate the Dynamics.set file. By default, the Dynamics.set file is located in the following folder: C:\Program Files\Microsoft Dynamics\GP

Use Notepad to open the Dynamics.set file. Note the first number in the file. This number is the number of products that you have installed. For example, if the number is 20, the Dynamics.set file indicates that 20 products are installed. Count all the products that are listed in the Dynamics.set file. Make sure that the number of products is the same as the number at the top of the Dynamics.set file. If the number of products is greater than or less that what was listed at the top of the Dynamics.set file, you need to adjust the top number to reflect the actual number of products installed.

RECENT POSTS


Use the REST Connector to parse nested Value Arrays
SmartConnect email task fails with error: An invalid character was found in the email header
Does SmartConnect import into Avalara Avatax software
Could not initialize a collection when launching SmartConnect
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key when you open a SmartConnect map.

POPULAR POSTS


SSL Security error using OLEDB Connection
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

ARCHIVES

open all | close all

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.