Great Plains eConnect Issue,FileNotFoundException ...我错过了什么?

时间:2012-01-23 16:27:18

标签: c#-4.0 dynamics-gp econnect

我正在尝试调用Dynamics Great Plains,并且遇到了非常令人沮丧的错误。

我打电话给代码:

eConnectMethods eConCall = new eConnectMethods();

我立刻抓住了以下内容:

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)

...然后在上面的行中引用我的程序集。

有人可以告诉我eConnect对象正在寻找什么,以及我如何让它工作?

1 个答案:

答案 0 :(得分:2)

我最终从头开始重新启动,我无法重现错误。叹息。