none
.NET 4, Vista, Windows6.0-KB956250-v6001-x86.msu failed with 0x80040154 - Class not registered RRS feed

  • Question

  • Can anyone help, please?  I've spent many hours over the past few weeks trying to get .NET 4 installed so I can install VS 2010.

    [Problem]
    During .NET 4 install, seemingly upon "Client Profile" setup step, this error occurs: failed with 0x80040154 - Class not registered
    Excerpt from log:
    [5/31/2010, 14:24:43]WU Service: EnsureWUServiceIsNotDisabled succeeded
    [5/31/2010, 14:24:43] Action: Performing Action on Exe at C:\cbed0296070b5c68857c24d1\Windows6.0-KB956250-v6001-x86.msu...
    [5/31/2010, 14:24:43]Launching CreateProcess with command line = wusa.exe "C:\cbed0296070b5c68857c24d1\Windows6.0-KB956250-v6001-x86.msu" /quiet /norestart
    [5/31/2010, 14:24:46]Exe (C:\cbed0296070b5c68857c24d1\Windows6.0-KB956250-v6001-x86.msu) failed with 0x80040154 - Class not registered .
    [5/31/2010, 14:24:46]PerformOperation on exe returned exit code 2147746132 (translates to HRESULT = 0x80040154)


    [History/Fixes Attempted]
    I've run the VS 2010 installer and it fails during .NET install every time.
    I've run the web-setup and full install for .NET 4 and it fails with same error.
    I've tried running the Win Update cmd for KB956250, and it still fails.  I've searched for specifics or manual options about KB956250, but can't find any.
    I've removed all .NET frameworks via Programs/Features and tried .NET 4 install before and after installing .NET 3.5 Win Update, but it fails with same error.
    I used a "dependency walker" tool against the .NET 4 setup.exe, which said IEShims.dll could not be found.  I verified the file in 'c:\program files\internet explorer', so I added this folder to system path, but install still failed.
    I tried running the .NET 4 Client Profile installer, but it failed with same error.
    Windows is completely patched and update-to-date.
    I've rebooted several times between different pieces of troubleshooting and re-tries.


    [System Info]
    Microsoft® Windows Vista™ Business, Version 6.0.6002 Service Pack 2 Build 6002
    Installed: IE8, VS 2005, VS 2010, Office 2007
    Monday, May 31, 2010 9:44 PM

Answers

  • Hi T Lux,

    Thank you for your email.

    I've checked the log files that you sent to me and found the following error message:

    [6/1/2010, 9:21:37]Launching CreateProcess with command line = wusa.exe "C:\8368206d78c2d32206896163\Windows6.0-KB956250-v6001-x86.msu" /quiet /norestart
    [6/1/2010, 9:21:43]Exe (C:\8368206d78c2d32206896163\Windows6.0-KB956250-v6001-x86.msu) failed with 0x80040154 - Class not registered .
    [6/1/2010, 9:21:43]PerformOperation on exe returned exit code 2147746132 (translates to HRESULT = 0x80040154)

    Since it is related to upgrade Windows6.0-KB956250-v6001-x86.msu via Windows Update, I also checked WindowsUpdate.log file and noticed:

    2010-06-01 09:21:39:765  368 12a8 COMAPI   - Added scan package service, ServiceID = {0BAF4992-A992-41C5-8ABA-E77AB6C02434} Third party service
    2010-06-01 09:21:39:765  368 12a8 COMAPI -----------  COMAPI: IUpdateServiceManager::RemoveService  -----------
    2010-06-01 09:21:39:766  368 12a8 COMAPI   - ServiceId = {0baf4992-a992-41c5-8aba-e77ab6c02434}
    2010-06-01 09:21:42:026  368 12a8 COMAPI IUpdateService removing volatile scan package service, serviceID = {0BAF4992-A992-41C5-8ABA-E77AB6C02434}
    2010-06-01 09:21:42:029 1176 100 Agent WARNING: WU client fails CClientCallRecorder::RemoveService with error 0x80248014
    2010-06-01 09:21:42:030  368 12a8 COMAPI WARNING: ISusInternal::RemoveService failed, hr=80248014

    2010-06-01 09:21:42:335 1176 710 Report CWERReporter finishing event handling. (00000000)

    For the error "0x80248014", it means "An operation did not complete because the service is not in the data store."

    Frankly speaking, I’m not quite familiar with Windows Update. You might try some command steps to repair Windows Update.
    Please:
    Reset WU components: How do I reset Windows Update components?
    Reinstall WU Agent: How to obtain the latest version of the Windows Update Agent to help manage updates on a computer

    If above things don't help then follow below:

    1.Run cmd.exe with admin rights (right click on cmd.exe as admin) and type:

    sfc /scannow

    2.Run Readiness Tool: Description of the System Update Readiness Tool for Windows Vista, for Windows Server 2008, for Windows 7, and for Windows Server 2008 R2

    If still no avail, I would suggest you to try Windows Update discussion group. I believe that Windows Update experts might be helpful on your concern.

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Thursday, June 10, 2010 2:24 AM
    Wednesday, June 2, 2010 6:43 AM

All replies

  • Hi T Lux,

    Based on your description, .NET Framework installation was blocked when it tried to upgrade Windows6.0-KB956250-v6001-x86.msu via Windows Update with the error code "0x80040154".

    To install .NET Framework 4.0, you could try the following steps for further troubleshooting.

    1. Download .NET Framework 4.0 Standalone installer
        Note: You can try some download manager software to help downloading.

    2. Use Cleanup tool to clear the failed installation of .NET Framework 4.0

    3. Run the installer to install .NET 4.0 with Administrator Privilege
        Note: Right-click the installer >> "Run as Administrator"

    If the problem still exists, could you please follow the following steps to collect the log files?

    - Try to clean your "%temp%" folder (Start Menu >> Run >> Type "%temp%")
    - Install VS2010
      (The installer must be run with administrator privileges - Right-click the installer >> "Run as Administrator")
    - Collect the logs from "%temp%" folder
       Collect tool: http://www.microsoft.com/downloads/details.aspx?FamilyID=e0da314f-6216-4a18-bc6b-7d29cf83af20&displaylang=en
    - Send vslogs.cab file to me (v-yicche@microsoft.com). I'm willing to help you to check the log files.
      Note: Please attach the link of this post in the mail.

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, June 1, 2010 8:05 AM
  • Hi Yichun,

    I followed the steps (ran the cleanup tool and cleared temp folder), but .NET 4 and VS install still fail with the same error.
    I've emailed you the vslogs.cab.

    Thanks for your help.
    Tuesday, June 1, 2010 5:41 PM
  • Hi T Lux,

    Thank you for your email.

    I've checked the log files that you sent to me and found the following error message:

    [6/1/2010, 9:21:37]Launching CreateProcess with command line = wusa.exe "C:\8368206d78c2d32206896163\Windows6.0-KB956250-v6001-x86.msu" /quiet /norestart
    [6/1/2010, 9:21:43]Exe (C:\8368206d78c2d32206896163\Windows6.0-KB956250-v6001-x86.msu) failed with 0x80040154 - Class not registered .
    [6/1/2010, 9:21:43]PerformOperation on exe returned exit code 2147746132 (translates to HRESULT = 0x80040154)

    Since it is related to upgrade Windows6.0-KB956250-v6001-x86.msu via Windows Update, I also checked WindowsUpdate.log file and noticed:

    2010-06-01 09:21:39:765  368 12a8 COMAPI   - Added scan package service, ServiceID = {0BAF4992-A992-41C5-8ABA-E77AB6C02434} Third party service
    2010-06-01 09:21:39:765  368 12a8 COMAPI -----------  COMAPI: IUpdateServiceManager::RemoveService  -----------
    2010-06-01 09:21:39:766  368 12a8 COMAPI   - ServiceId = {0baf4992-a992-41c5-8aba-e77ab6c02434}
    2010-06-01 09:21:42:026  368 12a8 COMAPI IUpdateService removing volatile scan package service, serviceID = {0BAF4992-A992-41C5-8ABA-E77AB6C02434}
    2010-06-01 09:21:42:029 1176 100 Agent WARNING: WU client fails CClientCallRecorder::RemoveService with error 0x80248014
    2010-06-01 09:21:42:030  368 12a8 COMAPI WARNING: ISusInternal::RemoveService failed, hr=80248014

    2010-06-01 09:21:42:335 1176 710 Report CWERReporter finishing event handling. (00000000)

    For the error "0x80248014", it means "An operation did not complete because the service is not in the data store."

    Frankly speaking, I’m not quite familiar with Windows Update. You might try some command steps to repair Windows Update.
    Please:
    Reset WU components: How do I reset Windows Update components?
    Reinstall WU Agent: How to obtain the latest version of the Windows Update Agent to help manage updates on a computer

    If above things don't help then follow below:

    1.Run cmd.exe with admin rights (right click on cmd.exe as admin) and type:

    sfc /scannow

    2.Run Readiness Tool: Description of the System Update Readiness Tool for Windows Vista, for Windows Server 2008, for Windows 7, and for Windows Server 2008 R2

    If still no avail, I would suggest you to try Windows Update discussion group. I believe that Windows Update experts might be helpful on your concern.

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Thursday, June 10, 2010 2:24 AM
    Wednesday, June 2, 2010 6:43 AM
  • Hi T Lux,

    I'm writing to follow up the post. Does the above suggestion work?

    Please feel free to let me know if you need any help.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Edited by YiChun Chen Tuesday, June 8, 2010 3:34 AM typo
    Monday, June 7, 2010 9:35 AM
  • Hi T Lux,

    I've marked my reply as answer. If you have any concern, you can unmark my reply and let me know.

    Have a nice week!

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Wednesday, June 9, 2010 2:32 AM
  • Hi,

    After all attempts, .NET 4.0 still fails and readiness tool fails with same "class not registered" error.  Yikes.

     

    Steps taken:

    1) Installed all current updates today (6/24) successfully and rebooted.

    2) Reset win update components successfully and rebooted.

    3) Ran sfc /scannow.  Result: Verification 100% complete. Windows Resource Protection did not find any integrity violations.

    4) Tried to run readiness tool, but it fails with "class not registered" error.

     

    I will try Win Update group.  Thx.

    Thursday, June 24, 2010 6:25 PM
  • Hi T Lux,

    It's my pleasure!

    Hope your problem will be solved ASAP.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Friday, June 25, 2010 5:26 AM