Zorro codes .NET

Saturday, August 05, 2006

Uninstalling WinFX Beta 2 bits....

So I wanted to install WinFX on my Team Foundation Build server to it could build one of my WinFX projects. Ofcourse I first tried to install the version I thought I had on my workstation (WinFX Beta 2). But that didn't seem to work, so I decided to upgrade both my workstation and build server to the latest .NET 3.0 July CTP Release.

Uninstalling on my workstation went smooth, but uninstalling on my build server didn't go so well.

In the uninstall log left by the uninstallation tool it said the following:

=== Verbose logging started: 5-8-2006 09:31:03 Calling process: C:\WINDOWS\WinFX\v3.0\Windows Communication Foundation\ServiceModelReg.exe ===
ServiceModelReg [09:31:04:341]: Information: The ServiceModelReg tool will take the following actions:
Removing configuration section system.serviceModel from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Removing configuration section system.runtime.serialization from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Removing configuration section system.serviceModel.activation from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Removing configuration entry for BuildProvider:
System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Removing compilation assembly node from System.Web section group:
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
Removing compilation assembly node from System.Web section group:
System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
R...
ServiceModelReg [09:31:04:351]: Uninstalling: Machine.config Section Groups and Handlers
ServiceModelReg [09:31:04:361]: Warning: Configuration section system.serviceModel does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [09:31:04:371]: Warning: Configuration section system.runtime.serialization does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [09:31:04:371]: Warning: Configuration section system.serviceModel.activation does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [09:31:04:371]: Uninstalling: Xws System.Web Build Provider
ServiceModelReg [09:31:04:481]: Warning: A configuration entry for BuildProvider System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 does not exist.
ServiceModelReg [09:31:04:481]: Uninstalling: Xws System.Web Compilation Assemblies
ServiceModelReg [09:31:04:491]: Warning: All Xws compilation assembly nodes do not exist in System.Web section group.
ServiceModelReg [09:31:04:501]: Uninstalling: Xws Http Handlers
ServiceModelReg [09:31:04:521]: Warning: HttpHandlers node *.svc does not exist in System.Web section group.
ServiceModelReg [09:31:04:521]: Uninstalling: Xws Http Modules
ServiceModelReg [09:31:04:531]: Warning: HttpModules node ServiceModel does not exist in System.Web section group.
ServiceModelReg [09:31:04:541]: Uninstalling: Xws Web Host Script Mappings
ServiceModelReg [09:31:04:741]: Error: System.FormatException: Input string was not in a correct format.


If you have a log file similar, try the following:

In a cmd line go to the following folder: "C:\Windows\WinFx\v3.0\Windows Comunication Foundation", then run "ServiceModelReg.exe -ua". This should manually uninstall the stuck services.

0 Comments:

Post a Comment

<< Home