Custom Connection Manager only works in 32bit- 0xC0011008: Error loading from XML

I have a very basic / stripped connection manager with only one property (SSIS 2012). It works fine in design time (you can open the connection manager editor and change the value), but in runtime it only works in 32bit mode. The runtime-validate-method
does work, but if everything validates OK then in 64bit it throws an error when you run the package:
Exception deserializing the package "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.
The 2 VS projects are .Net 4 class library projects with the Build Platform on "Any CPU"
I only add references to:
Microsoft.SqlServer.ManagedDTS - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.ManagedDTS.dll
Microsoft.SqlServer.Dts.Design - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.Dts.Design\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.Dts.Design.dll
Compiled DLL's are available in GAC and SQL Server connections folder:
I made the sourcecode available via codeplex:
https://ssisconnectionmanager.codeplex.com/SourceControl/latest#myFirstConnectionManager/2012/myFirstConnectionManager/myFirstConnectionManager.cs
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter

AppPrincipal (identity) related? Hint http://serverfault.com/questions/339747/the-package-failed-to-load-due-to-error-0xc0011008-error-loading-from-xml
Arthur My Blog
Hi Arthur,
Looks like something similar (same message, same 64bit issue), will try that tomorrow! But sounds weird that you should tell SSIS which identity to use...
Found the same thread in MSDN:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/47d185d3-c801-45cf-becd-3c2524d98353/the-package-failed-to-load-due-to-error-0xc0011008-error-loading-from-xml?forum=sqlintegrationservices
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter

Similar Messages

  • SSIS packages deployment error- The package failed to load due to error 0xC0011008 Error loading from XML

    I am trying to deploy SSIS packages to file system using manifest file. These packages are upgraded from SSDT 2005 to SSDT 2010. Also I have changed the protection level from 'EncryptSensitiveWithPassword' to 'DontSaveSensitive' to upgrade it.
    I coun't complete the deployment and the error details shown below.
    TITLE: Package Installation Wizard
    Package "Packagename.dtsx" could not be loaded. 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.
    Package ""Packagename.dtsx" could not be loaded. 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.
    ADDITIONAL INFORMATION:
    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.
    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.
    BUTTONS:
    OK
    Please give a solution.
    Sreekanth Mohan

    Check this
    blog post as it gives complete information about error.
    It looks like its still using SQL 2005 DTEXEC.exe instead of latest version.
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • The package failed to load due to error 0xC0011008 "Error loading from XML....." This occurs when CPackage::LoadFromXML fails

    Source environment: Win 7 Enterprise SP1 64bit - SQL Server 2008 R2 SP1 Developer Edition (10.50.2550.0 )
    Target environment: Win 2008 R2 Standard SP1 64bit - SQL Server 2008 R2 SP1 Standard Edition (10.50.2500.0
    I want to deploy a package with the deployment manifest, but I'm getting an error (during deployment):
    Package "D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Packages\Migration\Students.dtsx" could not be loaded.
    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.
    I already remove a fuzzy lookup since this isn't part of the Standard edition, but still getting the error above.
    Package Example:
    If I just copy the package and try to run it I get this (0xC0010014):
    Any suggestions?

    Hi SSISJoost,
    After installing some update such as MS09-62 (KB970896), the "DTS.dll" and "MsDtsSrvrUtil.dll" may be unregistered. In this issue, the error may occur if the two DLL files are not registered. Here, please register both the 32 bit and 64 bit versions of the
    DTS.dll and MsDtsSrvrUtil.dll files, and check the issue again.
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Adobe Connect Session only works after 5:00 pm

    I have a bizzare situation where my adobe connect session only works after 5:00 pm. I have two other users who tried this and the session just hangs and then there is an error . But when both of us try after 5:00 it works fine. We are using IE 8.0. Also this will work fine in firefox at any time of the day. We have to roll this out to 2,000 users and need to get this working during the day.
    Thanks
    Aurangzeb Nisar

    So there is a troubleshooting error that occurse.
    Then I go through the adobe connect test results and it fails at adobe connection test.
    So here is more details:
    Now I can get it to work when I use the content outside the Saba LMS that I am using.
    But when I use it through the LMS then I get an connect error.
    "Adobe connect connection test" Unable to connect . This only happens through IE 8.0
    When using firefox through Saba LMS it works fine.

  • SMO Connection Manager Not Working

    I'm using SSDT 2012 to create SMO Connection Manager for transferring server objects. However the connection is not working, it always returns error message something like "server is not found". I tried to connect multiple servers, with both
    Windows and SQL authentications, none of them works. I found the SMO.dll is already installed in the specific folder on my development machine. What would be the reason of this error? Thanks.
    -------Edited----------------------------------------------------
    Added the error message below. I can connect the server using OLEDB or ADO.NET. So my question is, is there a service, protocol or port .... to get SMO Server ready for responding?

    I see you used to connect to the local machine with the "." notation.
    In this case shared memory is used, thus make sure this option is allowed.
    I'd try connecting using the IP or the full name.
    Arthur My Blog

  • I have bought a docking station and my iphone works fine but my ipod mini seems to fit on the connection but only works intermittently. Is it a different connection or is there a problem with the ipod?

    I have bought a docking station and my iphone works fine but my ipod mini seems to fit on the connection but only works intermittently. Is it a different connection or is there a problem with the ipod?

    I think that is happening is that the microphone is on during this recording.  If you play the music through the iPhone speakers, it will record this sound, albeit at very poor quality.  If you say anything (or laugh uproariously as I did while watching the app in action, then that, too, get recorded.
    I am still looking for the solution we all want, which is to save the audio in reasonable quality.
    Anyone out there with some ideas?
    Cheers,
    Rob

  • Password Manager only works on some websites - Chrome

    I've recently started trying to use Password Manager again, but it only works with some websites, and none of the important ones for me (where security is most important, such as banking).  On these websites I see no functionality at all: no pop-ups, no storing, no autoloading.
    Password Manager ver. 4.70 build 2.
    Chrome Extension ver. 4.60.3
    Any ideas?

    Nobody else has this problem? Pw Manager works fine with this site and many others, but is useless with major banks and other more security-sensitive sites.

  • Desktop Manager not working with Windows 7 - Error message received Not Responding

    Hello
    The issue of not connecting with desktop manager started in May 2012. When I plug phone into computer I can see files. USB works fine as I am also able to use all ports with other usb items. I downloaded the latest download manager again today January 14, 2013 and again the desktop manager says non responsive and program will not start. I have windows 7 and the desktop manager did work in April 2012 with this computer (windows 7). Help with a solution would be great.

    Hi and Welcome to the Community!
    I suggest this thread:
    http://supportforums.blackberry.com/t5/Desktop-Software-for-PC/Cleanly-quot-Starting-Over-quot-with-...
    It starts with a process for cleanly starting over, and there is some discussion, and there is also a post (15) with links to older Desktop Software versions, if those are needed. Note that this is not, by any means, guaranteed to work...but it has worked for many to resolve issues they are having.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR:

    Dear All,
    Couple of days ago I changed my database mode to archive.
    Database server is 1-gR2 on Linux.
    Today i have got this error:
    ORA-00257: archiver error. Connect internal only, until freed.
    Kindly help me to strat DB again. How to get rid of this error.
    Thanks, Imran

    This is not a tempory solution, but the way how You should proceed.
    You should regulary backup up database and archive logs and delete the latter in order to prevent such problems.
    I would sugest to monitor how fast archive logs are generating and then implement regular archive log backup and deletion. For some site it would be enough to backup and delete once per week, for some there will be need to backup several times per day.

  • HT5113 Course Manager only works in Safari; it's broken in Firefox and Chrome. Is this intentional?

    Course Manager is not working in Firefox or Chrome. Is this intentional on Apple's part?

    While trying to use Course Manager from Chrome, a message appears that says only Chrome or Safari can be used.  I'm in Chrome, so that's out, despite the message that it works.  That leaves only Safari, which Apple hasn't updated for Windows since May of 2012, despite many known vulnerabilities.
    Looks like I need to keep a Mac on hand, thanks Apple.

  • [SOLVED] Network manager only works as root

    Hello everyone,
    I am brand new to arch and have been quite impressed over the past few days over all it has to offer.  Everything has been running quite smoothly and I am now in the process of setting up wireless.  I installed network manager and was able to connect to a wireless network as root.  For my regular user, however, I am running into some issues.  First one was that the nm-applet could not be opened in fluxbox.  I received the following error:
    ** (nm-applet:1576): WARNING **: <WARN> request_name(): Could not acquire the NetworkManagerUserSettings service.
    Error: (9) Connection ":1.27" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file
    I "fixed" this by adding the following to /etc/dbus-1/system.d/nm-applet.conf.  Original credit goes to the user in this thread (I only slightly modified his code): https://bbs.archlinux.org/viewtopic.php?id=63576
    <!-- hack -->
    <policy user="myusername">
    <allow own="org.freedesktop.NetworkManagerUserSettings"/>
    <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
    <allow send_interface="org.freedesktop.NetworkManagerUserSettings"/>
    <deny send_interface="org.freedesktop.NetworkManagerSetting.Secrets"/>
    </policy>
    <!-- end of hack -->
    Now the applet shows up for my regular user, the problem being that it doesn't connect to the wireless networks (only wired).  Whenever I try to connect to wireless, nothing happens (the symbol doesn't change in any way, i.e. the green spheres should start circling); I am still able to succesfully connect to wireless using root.  Does anyone know what the source of this issue may be?  Thank you very much in advance.
    Last edited by Ipozya (2011-01-20 04:49:55)

    Solved: Had to install consolekit and add "ck-launch-session" to my .xinitrc file when starting fluxbox.
    Edit: Please note that this also allowed me to remove the previous change to nm-applet.conf (no longer necessary)!
    Last edited by Ipozya (2011-01-20 04:54:20)

  • Bridge CS4 color management only works with GPU active

    When I turn hardware acceleration off (by selecting software rendering in Bridge advanced preferences) Bridge color management disappears and on my wide gamut display I get cartoon color thumbnails indicating that CM isn't working. With GPU rendering on and Bridge restarted, CM works as it should.
    It seems that Photoshop requires hardware acceleration with the "color compensation" option checked under the Performance/Enable OpenGL Drawing/Advanced settings preference.
    Is color management now only functional with OpenGL acceleration enabled? I can find no help documentation for the advanced OpenGL Drawing settings. What a huge can of hardware worms this is turning out to be.

    I wouldn't think that Bridge needed the GPU for CM, yet bypassing the GPU turns off CM in this installation.
    I'm still confused about what you indicate in the Photoshop CS4 thread on OpenGL.
    Chris Cox, "A few questions about OpenGl acceleration" #14, 11 Nov 2008 7:31 pm
    I interpret your comment as suggesting that disabling color compensation in the PS CS4 GPU debugging features should disable CM in Photoshop, but it doesn't, it just makes it unreliable in displaying images post profile conversion in my tests. I'm probably missing some nuance here.

  • Firewire camera connection weirdness: only works if plugged in through ext.

    Trying to capture footage from my camcorder into FCP (or iMovie) but I don't get a connection. Swapped cables, restarted, reset PRAM and logged in under a different user acct but the only thing that works is to plug the camera into an external FW CD burner. Then it connects.
    I've had FW weirdness once before where the FW800 didn't work any more. As soon as I tried to replicate it at the genius bar (iMac 24) it worked fine (after logging in as a new admin user).
    Any clues?

    Also: I tried two camcorders (Canon GL2), and everything worked just fine last week, with no apparent changes except for the upgrade of iMovie to the latest version (but if I use iMovie I use version 6 anyway).

  • [SOLVED] Custom udev rule only working when triggered manually

    I have the following rule created for a USB gamecube controller adapter:
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0666"
    This rule only takes effect when I run udevadm trigger AFTER my device is plugged in. If I then unplug the device, and plug it back in, my device no longer works. My device also doesn't work on boot. I have to plug my device in and then trigger the rules manually.
    Any ideas why this is happening? I don't want to have to run udevadm trigger every time I turn my computer on.
    Last edited by Exershio (2015-04-15 23:01:19)

    I tried reloading the configuration but it doesn't affect the issue. As for monitoring udev, this appears when I plug the device in:
    KERNEL[3439.476646] add /devices/pci0000:00/0000:00:12.0/usb4/4-5 (usb)
    KERNEL[3439.478441] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0 (usb)
    KERNEL[3439.486155] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/0003:057E:0337.0009 (hid)
    KERNEL[3439.492319] add /class/usbmisc (class)
    KERNEL[3439.492497] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/usbmisc/hiddev0 (usbmisc)
    KERNEL[3439.492602] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/0003:057E:0337.0009/hidraw/hidraw0 (hidraw)
    UDEV [3439.493842] add /class/usbmisc (class)
    UDEV [3439.494832] add /devices/pci0000:00/0000:00:12.0/usb4/4-5 (usb)
    UDEV [3439.496365] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0 (usb)
    UDEV [3439.498256] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/usbmisc/hiddev0 (usbmisc)
    UDEV [3439.498378] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/0003:057E:0337.0009 (hid)
    UDEV [3439.499567] add /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/0003:057E:0337.0009/hidraw/hidraw0 (hidraw)
    So it seems udev is detecting the GC adapter being plugged in, but it doesn't apply permissions 0666 to it until I manually run udevadm trigger.
    See what happens below, directly after plugging it in:
    $ ls -l /dev/bus/usb/004/005
    crw-rw-r-- 1 root root 189, 388 Apr 15 16:59 /dev/bus/usb/004/005
    $ sudo udevadm trigger
    $ ls -l /dev/bus/usb/004/005
    crw-rw-rw- 1 root root 189, 388 Apr 15 17:03 /dev/bus/usb/004/005
    Okay this is weird. So I appended my udev rule with GROUP="users" to see if that would help, and after reloading the rules, this happens after my device is plugged in:
    $ ls -l /dev/bus/usb/004/005
    crw-rw-r-- 1 root users 189, 393 Apr 15 17:32 /dev/bus/usb/004/005
    $ sudo udevadm trigger
    $ ls -l /dev/bus/usb/004/005
    crw-rw-rw- 1 root users 189, 393 Apr 15 17:34 /dev/bus/usb/004/005
    So it appears the device is taking on GROUP="users" immediately after being plugged in, but it wont set MODE="0666" until after running udevadm trigger
    Anyone have any ideas?
    Last edited by Exershio (2015-04-15 21:38:15)

  • Can't download Apps through 3G connection. Only works through Wi-Fi

    Ever since I got my 3GS I have not been able to download updates to my Apps through 3G. It starts to download and the progress bar goes half-way then the progress bar starts again and keeps going in that loop.
    However, downloading updates through Wi-Fi works fine. This is driving me nuts! I have logged out of my iTunes account and logged back in; it makes no difference.
    Does anybody have an answer to this?

    Reset the phone fixed the problem.

Maybe you are looking for