Great Plains eConnect 问题、FileNotFoundException...我缺少什么?
我正在尝试调用对 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 对象正在寻找什么,以及如何让它工作吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终从头开始重新启动,但无法重现该错误。叹。
I ended up restarting from scratch and I was unable to reproduce the error. Sigh.