wehuberconsultingllc.com

wehuberconsultingllc.com random header image

Fixing QuickBooks CoCreateInstance error 80040154

August 26th, 2004 · 12 Comments · QuickBooks

Yesterday I removed a few programs I was not using and ran Spybot to check and clean my PC. Somehow I broke QB 2004 in the process. When I tried to open it I got this message:

an unrecoverable error has occoured exception MSXML could not CoCreateInstance HRESULT=80040154 thrown with error code-2147221164

Function: ADR::Repository DoInitialLoad
File: ..srcRepository.cpp
Line: 81

After some investigation I found out that I was getting a non-serious error with IE about “cannot read properties at this time” and the Windows Update service was failing with a 0x800A01AD. After some research and some failed guesses I fixed the problem by re-registering msxml3.dll with the following command, "regsvr32 msxml3.dll". This must have been inadvertently been un-registered when I uninstalled Salesforce.com’s sync software.

Related posts:

Related posts brought to you by Yet Another Related Posts Plugin.

Tags:

12 responses so far ↓

  • 1 Sean Voisen // Nov 10, 2004 at 9:26 pm

    Thank you, thank you for posting this. I just ran into the same problem - and I too had uninstalled salesforce.com’s sync software. I’ve spent the last 2 hours racking my brain, till I ran across this post.

  • 2 RM // Feb 8, 2005 at 3:21 pm

    A hearty second thanks for this quick fix. I’m not sure what created my error, but this fix worked perfectly after a restart.

  • 3 Rick Harrison // Feb 16, 2005 at 9:29 pm

    Wow! That worked. I also racked my brain for hours on this one. It happened to me once before and I called Quickbooks and paid $100 for a support incident. They sent me to India where I was told to reinstall XML, uninstall and einstall QuickBooks in safe mode. WHen this didn’t work, they told me to do it again. When this didn’t work, they told me to do it again. I told them to give me my money back, which they said they would do (but it didn’t show up on my statement yet). A few days later, I tried it again and it worked. Then it happened to me again, but this time even after the reinstalling five times, including XML4 and XML3 and running two registry cleaning programs in between, it still failed. Your simple fix gets me back in business. Thank you!

  • 4 anjar voorhees // Mar 18, 2005 at 5:16 pm

    Thank you so much….. thanks for sharing your answer to this problem with us. I also called tech. support in QB. But they can’t fix my problem. Then I find your post here and it works. Thanks again.

  • 5 Robert Norsworthy // Mar 22, 2005 at 3:06 pm

    HELP!

    I am number 5 on this error message. I am trying to install QUickbooks 2005 and am getting this same message:

    exception MSXML could not CoCreateInstance HRESULT=80040154 thrown with error code-2147221164 etc. I cannot find the answer on this site you are all referring to can someone e-mail me the remedy! Thanks! Send it to bobnors@sbcglobal.net

    Bob

  • 6 Robert Norsworthy // Mar 22, 2005 at 3:17 pm

    Ahhh I see the answer:

    After some research and some failed guesses I fixed the problem by re-registering msxml3.dll with the following command, “regsvr32 msxml3.dll”. This must have been inadvertently been un-registered when I uninstalled Salesforce.com’s sync software.

    How do I go about re-registering msxml3.dll ?

  • 7 LenC // Apr 28, 2005 at 5:31 pm

    Sounded like a winner but didn’t work for me…….. I’ll keep looking for a solution, Thanks a lot.

  • 8 Tim // May 12, 2005 at 1:23 pm

    Mate I’m in the office late with a customer on the phone and we’re both trying to get quickbooks running… then I find this.

    Love it.

  • 9 joshua // Aug 21, 2006 at 8:26 am

    send me the remedy to error code 80040154

  • 10 Pratty // Oct 17, 2006 at 10:15 pm

    Click on Start, Run, then type “regsvr32 msxml3.dll” without quotes and it will reregiser it.

  • 11 grateful restaurant owner // Jan 3, 2007 at 9:36 pm

    thank you thank you thank you pratty!
    it worked!

  • 12 Wayne // Feb 9, 2007 at 11:12 pm

    Thanks! When updated GoldMineLinks it broke our QuickBooks also. After hours with Intuit tech support (can’t they suggest more the uninstall and reinstall!) I decided to google the exact error message in the log file. regsvr32 msxml4.dll was the magic word.

Leave a Comment