.NET Framework Bookmark and Share   
 index > .NET Framework Setup > Can't install WCF HTTP Activation
 

Can't install WCF HTTP Activation

I'm using Vista 64-Bit and want to activate the "WCF HTTP Activation" feature (Control Panel / Programs / Programs and Features / Turn Windows Features On or Off / .NET 3.0).

After a couple of minutes an error occurs. The CBS.log shows an Error code: 0x80004005
I am administrator of this machine and tried to deactivate UAC but no success :-(

What's wrong?




2009-08-12 10:34:11, Error CSI 0000036e (F) Done with generic command 71 (0x00000047); CreateProcess returned 0, CPAW returned S_OK
Process exit code 2147500037 (0x80004005) resulted in success? FALSE
Process output: [l:538 [538]"SMConfigInstaller[Warning]: CFileHelper::CopyFileWithRetry failed to copy to C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. GetLastError returned 0x3. Trying again...

SMConfigInstaller[Error]: CFileHelper::CopyTempFilesToConfig failed to copy to C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. GetLastError returned 0x3

SMConfigInstaller[Error]: _fileHelper->CopyConfigFilesToTempLocation failed. Error code: 0x80004005

SMConfigInstaller[Error]: Installation failed with error: 0x80004005

"][gle=0x80004005]
2009-08-12 10:34:11, Info CSI 0000036f@2009/8/12:08:34:11.939 CSI Advanced installer perf trace:
CSIPERF:AIDONE;{81a34a10-4256-436a-89d6-794b97ca407c};WCF-HTTP-Activation, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral;5210380
2009-08-12 10:34:11, Error CSI 00000370 (F) Failed execution of queue item Installer: Generic Command ({81a34a10-4256-436a-89d6-794b97ca407c}) with HRESULT HRESULT_FROM_WIN32(14109). Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable (2)[gle=0x80004005]
2009-08-12 10:34:28, Info CSI 00000371 End executing advanced installer (sequence 274)
Completion status: HRESULT_FROM_WIN32(ERROR_ADVANCED_INSTALLER_FAILED)
FloAtFokus
Thanx for your help but it didn't work.

I killed Vista and will now install Windows 7. Hopefully Win 7 allows WCF activation :-o
FloAtFokus2
Hi FloAtFokus,

Based on the error message:

Process output: [l:538 [538]"SMConfigInstaller[Warning]: CFileHelper::CopyFileWithRetry failed to copy to C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. GetLastError returned 0x3. Trying again...
SMConfigInstaller[Error]: CFileHelper::CopyTempFilesToConfig failed to copy to C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. GetLastError returned 0x3
SMConfigInstaller[Error]: _fileHelper->CopyConfigFilesToTempLocation failed. Error code: 0x80004005

Can you please check if C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config exists on your machine?

Best regards,
Yichun Chen


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.
  • Thursday, August 13, 2009 10:02 AMFloAtFokus Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sure,
    C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config
    exists.

    File date is today (5 minutes ago). I can open the file in a normal text editor. No problems with that.

    I tried to change the rights in the registry file but no success
  • YiChun Chen
    I removed .NET 2.0 (however, the directory C:\Windows\Microsoft.NET\Framework\v2.0.50727\ does still exist). But when I try to activate WCF HTTP activation its always the same error...


    SMConfigInstaller[Error]: CFileHelper::CopyTempFilesToConfig failed to copy to C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. GetLastError returned 0x3

    SMConfigInstaller[Error]: _fileHelper->CopyConfigFilesToTempLocation failed. Error code: 0x80004005

    SMConfigInstaller[Error]: Installation failed with error: 0x80004005
    FloAtFokus
    Hi FloAtFokus,

    .NET Framework 2.0 is included as OS component in Vista.

    Could you please try to follow the steps mentioned in the following blog to repair the .NET Framework 2.0 and 3.0 on Windows Vista?
    See: http://blogs.msdn.com/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx

    Best regards,
    Yichun Chen

    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.
    YiChun Chen
    Thanx, but alreaedy tried sfc /scannow.
    No effect on the error message
    FloAtFokus
    Thanx for your help but it didn't work.

    I killed Vista and will now install Windows 7. Hopefully Win 7 allows WCF activation :-o
  • Friday, August 14, 2009 2:53 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi FloAtFokus,

    I will mark your reply as answer. :)

    If you have any concern about WCF activation on Windows 7, please feel free to let me know.

    Best regards,
    Yichun Chen

    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.
  • FloAtFokus2
    How's installing Win7 a solution? And btw.. it isn't. Installed the public RC, and it's the same.. cannot activate WCF HTTP Activation... again! Both seem related (in my case) to installing the Visual Studio 2010 Beta PRIOR to enabling the WCF HTTP Activation. Meh. Uninstalling all VS 2010 Components & .Net 4 beta entries did NOT fix the problem though. Great.
    Jörg Battermann
    Had the same issue. Removed .Net 4.0 and replaced the SMConfigInstaller.EXE (File Version 4.0.20420.1) in the c:\windows\microsoft.net\framework64\v3.0\Windows Communication Foundation\ directory with one from a machine that didn't have .Net 4.0 loaded on it (File Version 3.0.4506.2123). After that the WCF HTTP Activation feature installed properly.



    • Proposed As Answer byJimbo2010 Sunday, September 13, 2009 3:00 AM
    •  
  • Sunday, September 13, 2009 11:04 AMJörg Battermann Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Now that's an answer.. thanks!!
  • Jimbo2010
    Could anyone (Jimbo2010?) maybe send me that particular file? My other system is affected, too and I can't repair my system ('sfc /scannow' didn't help either)... :-/
    Jörg Battermann

    You can use google to search for other answers

    Custom Search

    More Threads

    • .NET 3.0 install fails
    • Framework Client Profile Problem
    • What to Install?
    • How to get .net 1.1.4322
    • VS2005 doesn't recognize .NET Framework 3.0 installation
    • Datawindow.net and deployment
    • What happened to EventLogMessages.dll in .net 3.5?
    • .NET 3.5 Quickstart
    • .NET framework Issues
    • additional