I have a C# application where we use eConnect to pull and push data into Great Plains. Recently we have experienced the error above. I have checked that eConnect is running and we can call to connect and close the connection from the program. I have stepped through the code and the issue occurs when I call the form show event. It is saying that the file is not found, I have tried moving the file to the project and changing the reference to it, did not work, changed copy local value from True to False and that has no effect.
System.IO.FileNotFoundException
HResult=0x8007007E
Message=Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found.
Source=AHHGPCapitated
StackTrace:
at AHH.GreatPlainsExtension.frmCapitated.frmCapitated_Load(Object sender, EventArgs e) in H:\WorkSpace\GreatPlains\GP2015\Extensions\AHHGPCapitated\frmCapitated.cs:line 50
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Microsoft.Dexterity.Shell.DexBaseForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)