Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
AbrahamA
4Penny.net
Points: 7075

9/26/2014 8:45:17 AM

The type initializer for 'Microsoft.Dexterity.Applications.root' threw an exception.

I'm in the habit of documenting every error that I get in Dynamics GP development. The aim is that then next time that the next time that I come across it, I'll have the answer. So, here's today's fun:

While deploying a Dynamics GP addin that had Menus for VSTools as a component, I got the error below

 

The type initializer for 'Microsoft.Dexterity.Applications.root' threw an exception.
Inner Exception:
Specified argument was out of the range of valid values.
Parameter name: productId
GetType: System.ArgumentOutOfRangeException
Source: Microsoft.Dexterity.Bridge
StackTrace: at Microsoft.Dexterity.Bridge.DictionaryRoot.InitCookie()
at Microsoft.Dexterity.Bridge.DictionaryRoot.Init(String path, Int32 productId, Boolean isFormsDictionary, Boolean openForCodeGeneration)
at Microsoft.Dexterity.Bridge.DictionaryRoot..ctor(Int32 productId, Boolean isFormsDictionary)
at Microsoft.Dexterity.Applications.root..cctor()
TargetSite: Void InitCookie()

4Penny.net
Version: GP 2010,GP 2013
Section: Visual Studio Tools for Dynamics GP






Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
site