admin管理员组

文章数量:1635850

  • SEPTEMBER 19, 2012
  • CRAIG STASILA
  • 6 COMMENTS
  • SAP CONSULTANTS BLOG, SAP INTERFACE BLOG, SAP TECHNICAL
  • .NET CONNECTOR, ERROR, NCO, NCO 3.0, SAP, SAP .NET CONNECTOR, VB.NET

I have received a few inquires about users getting the following error when they try to execute the NCo Samples provided by DataXstream:

Cannot get destination XXX — no destination configuration registered

This error is caused because the .NET Framework is unable to locate the sapnco assembly file.

To fix this issue, you simply need to copy the assembly files to the directory where the executable is located.  You can have Visual Studio do this for you during project build by highlighting the referenced assembly and changing the property “Copy Local” to true:

Change the property for both assembly sapnco and sapnco_utils.  When you rebuild your solution, the files will be copied to the executable directory and will be able to be referenced by the .NET Framework.

本文标签: ErrorNCodestinationregisteredconfiguration