Sep 19

NCo 3.0 Error: “Cannot get destination XXX — no destination configuration registered”

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.




About The Author

Former Partner and Senior Consultant at DataXstream, Craig Stasila played a key role in developing DataXstream. For current information regarding Craig Stasila please see his Linkedin profile.


  1. Avatar
    October 21, 2012 at 11:35 pm · Reply

    I’ve copy local set to True and still get the error. Can you comment?

  2. Avatar
    Subrat Patel
    January 17, 2013 at 4:52 am · Reply

    I am also facing the same problem as stated above.

  3. Avatar
    January 30, 2013 at 8:11 am · Reply

    Do you have referenced the right library architecture (32/64 bit)?

  4. Avatar
    Venus Chiu
    April 18, 2013 at 4:45 am · Reply

    I’m facing same problem, how can I solve?

  5. Avatar
    April 22, 2013 at 7:38 am · Reply

    Hi, me too. does not seem to be library architecture, fixed that already, because it got me some other error.
    I really need some help on this

  6. Avatar
    September 20, 2013 at 12:28 am · Reply


    In my case GetDestination works ok on a executable file. (myapp.exe.config) When i have to run it from a dll file *mydll.dll.config”, i get the same problem.

    Please help.

  7. Avatar
    September 22, 2017 at 8:51 am · Reply


    I’m facing the same Problem as Markandeya. Is there meanwhile a solution available?
    Please help.

  8. Avatar
    October 31, 2017 at 2:57 am · Reply

    hi Craig Stasila

    the above sapnco copy local is available on project but not available in website apps. The what will be the solution for the website apps

Leave a reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This site uses Akismet to reduce spam. Learn how your comment data is processed.