If you have installed the AppFabric beta 1, and want to install VS 2010 RC, note that you have to uninstall AppFabric BETA 1 before installing of VS RC bits.
This is NOT documented in installation documentation of VS 2010 BETA 1. AppFabric BETA 1 is buld with dependency to .NET 40 BETA 1 which is build 4 v4.0.21006. The new version of .NET 4.0 is build v4.0.30128.
When uninstalling AppFabric setup looks for the old version of .NET 40 BETA 1 which is renamed as old_4 v4.0.21006. The exact dependency of AppFabric Beta 1 is a dependency on the presence on these .NET Framework 4 configuration files:
1. %SystemRoot%\Microsoft.NET\Framework[64]\v4.0.21006\config\machine.config
2. %SystemRoot%\Microsoft.NET\Framework[64]\v4.0.21006\config\web.config
To be sure that this cause the setup to fail uninstall process grab out the log file %systemroot%:\Windows\Logs\CBS\CBS.LOG
You will find there following:
Info: Loading configuration: C:\Windows\Microsoft.NET\Framework64\v4.0.21006\config\machine.config
Error: Failed to load configuration.
Error: Xml parse error 0x800c0006: The system cannot locate the object specified.
Solution:
To avoid this problem, uninstall AppFabric Beta 1 before uninstalling .NET Framework 4 v4.0.21006. Assuming that you are reading this you probably already uninstalled .NET BETA 1 :(
So, to work around this problem if .NET Framework 4 v4.0.21006 was already removed, create the machine.config and web.config files in the old .NET Framework 4 location by copying from new .NET Framework 4 location. I simply have copied all existing config of v4.0.30128 to .4 v4.0.21006.
After that unsinstall AppFabric and restart the machine.
Then open applicationHost.config file of IIS 7 and remove following attrubutes from all apps which have it defined: "serviceAutoStartMode" and "previouslyEnabledProtocols
These attributes are in ther if you have used “Always Running” feature of AppFabric.
Thanks to AppFabric team which helped me solving this issue. Filed under.
Posted
Feb 19 2010, 06:59 PM
by
Damir Dobric