Great Plains eConnect Issue, FileNotFoundException... what am I missing?

600 views Asked by At

I am trying to invoke a call to Dynamics Great Plains, and am getting a very frustrating error.

I call the code:

eConnectMethods eConCall = new eConnectMethods();

and I immediately trap the following:

ERROR
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
   at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)

... and then referencing my assembly at the line above.

Can someone tell me what the eConnect object is looking for, and how I can get it working?

1

There are 1 answers

0
Jeremy Holovacs On BEST ANSWER

I ended up restarting from scratch and I was unable to reproduce the error. Sigh.