Skip to content


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 Inactivity Timeout error running integration
SmartConnect ODBC query error - Restricted data type attribute violation
Message #24574 is missing
Your registered version of SmartList Builder does not match the installed version of SmartList Builder.
How to Pay for a Product Renewal or Create a Quote


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
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



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 Partner All Hands Call Popdock promotions release SalesForce SmartConnect 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.