Could not load file Assembly 'sapnco.dll' or one of its dependence in MS CRM ISV Folder web. RRS feed

  • Question

  • Hi All,

    I am using sap connector 3.0 to access sap database .net application in MS dynamics crm platform. 

    While I am run and test the Application, It's work properly. But after publishing and deploying in MS dynamics crm platform, It through an error(Could not load file Assembly 'sapnco.dll' or one of its dependence).

    Please see below error details.

    Is this a known bug or do we do something wrong?

    Thanks in advance.


    Sunil Kumar

    New Delhi

    • Edited by Sunil_Tectura Wednesday, October 16, 2013 5:36 AM For more error details
    Wednesday, October 16, 2013 4:50 AM

All replies

  • Did you try loading the sapnco.dll into the GAC? http://msdn.microsoft.com/en-us/library/dkkx7f79.aspx

    Microsoft Certified Technical Specialist
    EmpowerCS (Australia) for all your CRM/SharePoint needs.

    Wednesday, October 16, 2013 5:22 AM
  • The likely problem is that you have not deployed the sapnco.dll (or an assembly that it depends on) in the correct place.

    If your code is created as an IIS application, then you should deploy the assemblies to the bin subdirectory of your folder. If it is not an IIS application, then the assemblies should be deployed in the bin directory in the root of the web site. An alternative option is to install the assemblies in the GAC

    The Fusion Log Viewer tool can help diagnose these issues

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, October 16, 2013 5:26 AM