Freigeben über


.NET Framework 3.5 OR .Net Framework 3.0 Setup might fail while installing WCF components

The following steps could be tried to diagnose the problem:

Please verify that .Net Framework 2.0 is installed properly. You might want to start with .NET Framework setup verification tool. The .NET Framework setup verification tool is available for download at the following location: https://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%7C_Tools/netfx%7C_setupverifier%7C_new.zip

Step-1
--------

You can try the following steps to locate this type of error in the application event log:

1. Click on the Start menu, choose Run, type eventvwr and click OK
2. Click on the Application log on the left side of the Event Viewer
3. Locate the application event log entries with time stamps that match the time stamps of the custom action listed in the verbose MSI log files
4. Look for errors with the source value set to System.ServiceModel.Install 3.0.0.0 (this is the assembly that is loaded by ServiceModelReg.exe to perform the registration that it needs to do)

Step -2
---------
Check the following registry keys. Please delete them after taking a backup

i. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC Bridge 3.0.0.0\Performance
ii. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceModelEndpoint 3.0.0.0\Performance
iii.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceModelOperation 3.0.0.0\Performance
iv. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceModelService 3.0.0.0\Performance
v. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMSvcHost 3.0.0.0\Performance

Step-3
--------
Command Prompt

1. In the command prompt, type: sc delete “InfoCard Service"
2. Reboot the machine

Step-4
--------
Run the WMI diagnostics and repair tool available at https://www.microsoft.com/downloads/details.aspx?familyid=D7BA3CD6-18D1-4D05-B11E-4C64192AE97D&displaylang=en to repair the WMI service.
A description of the tool is available at https://technet.microsoft.com/en-us/scriptcenter/default.aspx Rerun the .NET Framework 3.0/3.5 setup utility

Step-5
--------
Remove the stale machine.config entries by hand
From a command window run “notepad
%windir%\microsoft.net\framework\v2.0.50727\config\machine.config”
Remove any xml nodes and child nodes that reference System.ServiceModel.dll

Step-6
--------
1. Uninstall IIS.
2. Re-install IIS.
3. Re-run .NET Framework 3.0 setup