locked
The package failed to load due to error 0xC0011008 RRS feed

  • Question

  • Hello Everyone,

    I am trying to run a SSIS package using ASP.NETs loadpackage(). when ever the code tries to run the package i get the following error:

    {"The package failed to load due to error 0xC0011008 \"Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.\". This occurs when CPackage::LoadFromXML fails.\r\n"}

    I am extremely new in this field. Please help!

    Thursday, March 17, 2016 12:51 PM

Answers

All replies

  • where is package created server (2005 or 2008 ) ?

    Now where it is running ?

    I have SQL Server 2005 and 2008 installed. I have renamed DTEXEC.exe to DTEXEC_old.exe for the 2005 version and am running against SQL Server 2008. Still no success with Windows forms.

    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/34366c41-211d-4ad9-a495-956bac3ba3df/the-package-failed-to-load-due-to-error-0xc0011008?forum=sqlintegrationservices


    Please click Mark As Answer if my post helped.

    Thursday, March 17, 2016 1:05 PM
  • Hi Haaarsh,

    For the error
    The package failed to load due to error 0xC0011008
    Here is a blog which describe it, the reason is that Old version of the DTEXEC is picked up by SQL Server instead of the new one. That means, the exe shipped with 2005 is picked up when it is expected to use the one shipped with 2008.

    Reference
    https://sqlaj.wordpress.com/2010/01/12/t-sql-tuesday-002-a-puzzling-situation-the-package-failed-to-load-due-to-error-0xc0011008/

    Regards,


    Charlie Liao
    TechNet Community Support

    • Proposed as answer by Charlie Liao Tuesday, April 5, 2016 2:42 PM
    • Marked as answer by Charlie Liao Thursday, April 7, 2016 12:20 PM
    Monday, March 21, 2016 7:15 AM