developers.de
daenet's .NET Community

Uninstalling of AppFabric Beta 1

Damir Dobric Posts

 

Damir@Phone    



My upcoming sessions:

AppFabric Applications at
NRW Conf 2011
09.Sept.2011 Wuppertal

HTML5 widgets in WP7+
Monodroid
Mobility Day
21.Sept.2011 - Zagreb

AppFabric and WCF sessions at
Advanced Developer Conference
26.-27. Oktober 2011 in Frankenthal

AppFabric Applications, queues, topics and more at
Prio Conference
02. - 03. November 2011 in Meistersingerhalle Nürnberg

AppFabric Applications deep dive hosted by
.NET User Group Frankfurt
17.Nov.2011 18.30-22.30 Microsoft - Bad Homburg 

 

 

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
Filed under: , ,

Comments

Craig McLuckie (Microsoft) wrote re: Uninstalling of AppFabric Beta 1
on 02-23-2010 18:16

Thanks for making this post Damir - this is good data.  As an FYI we are currently looking into ways to make our customers aware of this before they upgrade to .NET 4 RC and to make the removal of AppFabric more systematic for customers who have hit this.

rickgaribay.net wrote Windows Server AppFabric Beta 2 Now Available
on 03-01-2010 20:59

Windows Server AppFabric Beta 2 Now Available

Roman Kiss wrote re: Uninstalling of AppFabric Beta 1
on 03-02-2010 0:10

Thanks Damir.

Roman

Damir Dobric Posts wrote AppFabric BETA 2: The Platform for the Cloud Era
on 03-02-2010 23:34

If you are still asking yourself, what is the AppFabric , take a look on these few key features described

DamirDobric wrote AppFabric BETA 2: The Platform for the Cloud Era
on 03-03-2010 0:13

If you are still asking yourself, what is the AppFabric , take a look on these few key features described

Eyal wrote re: Uninstalling of AppFabric Beta 1
on 03-04-2010 1:38

Doesn't work :-( what can I do?

I have win 7  Ultimate 64x.

Damir Dobric wrote re: Uninstalling of AppFabric Beta 1
on 03-04-2010 9:35

To answer this question I would need a bit more information :)

Did you take a look in CBS.log file?

chooksy wrote re: Uninstalling of AppFabric Beta 1
on 03-30-2010 12:28

Thanks for the info, solved the problem!

thomas sabo wrote re: Uninstalling of AppFabric Beta 1
on 05-27-2010 18:44

very nice post!!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
daenet GmbH