Setup .NET 3.0 fails  
Author Message
Jan Meeusen





PostPosted: .NET Framework Setup, Setup .NET 3.0 fails Top

I'm trying to install .NET 3.0, but the installer fails.

I have Win XP SP2, VS 2005 SP1, .NET 1.1 + hotfix, .NET 2.0 + security update.

I already tried the most commonly suggested things: CardInfo (service not found), registry keys (don't exists), IIS (no effect), web.config, SubInACL.exe (no effect)...

Parts of the logging: (can i attach a zip to this post/thread )

dd_wcf_retCA2595.txt

ServiceModelReg [11:50:04:062]: Uninstalling: Machine.config Section Groups and Handlers
ServiceModelReg [11:50:04:078]: Warning: Configuration section system.serviceModel does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [11:50:04:078]: An error occurred while writing the previous entry to the event log:
System.ComponentModel.Win32Exception: The event log file is full
and in the end of the log:
ServiceModelReg [11:50:07:343]: Tool 'C:\WINDOWS\system32\wbem\mofcomp.exe' with parameters '"C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"' exited with code '3'.
ServiceModelReg [11:50:07:343]: Warning: Failure executing "C:\WINDOWS\system32\wbem\mofcomp.exe" with parameters ""C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"": System.ApplicationException: Unexpected result 3 executing C:\WINDOWS\system32\wbem\mofcomp.exe with "C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"
   at System.ServiceModel.Install.InstallHelper.ExecuteWait(String program, String parameters, Int32[] allowedExitCodes)
   at System.ServiceModel.Install.WmiInstallComponent.OnInstall(OutputLevel outputLevel)
ServiceModelReg [11:50:07:343]: An error occurred while writing the previous entry to the event log:
System.ComponentModel.Win32Exception: The event log file is full
   at System.Diagnostics.EventLog.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
   at System.Diagnostics.EventLog.Wri****try(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at System.Diagnostics.EventLog.Wri****try(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at System.Diagnostics.EventLog.Wri****try(String source, String message, EventLogEntryType type)
   at System.ServiceModel.Install.EventLogger.WriteLogEntry(String message, EventLogEntryType entryType)
ServiceModelReg [11:50:07:453]: System.InvalidCastException: Specified cast is not valid.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementScope.Connect()
   at System.ServiceModel.Install.WmiInstallComponent.get_IsInstalled()
   at System.ServiceModel.Install.WmiInstallComponent.ApplyNamespaceDacl(OutputLevel outputLevel)
   at System.ServiceModel.Install.WmiInstallComponent.OnInstall(OutputLevel outputLevel)
   at System.ServiceModel.Install.WmiInstallComponent.Reinstall(OutputLevel outputLevel)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem actionItem, Nullable`1 confirmUninstall)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)
ServiceModelReg [11:50:07:453]: An error occurred while writing the previous entry to the event log:
System.ComponentModel.Win32Exception: The event log file is full
   at System.Diagnostics.EventLog.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
   at System.Diagnostics.EventLog.Wri****try(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at System.Diagnostics.EventLog.Wri****try(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at System.Diagnostics.EventLog.Wri****try(String source, String message, EventLogEntryType type)
   at System.ServiceModel.Install.EventLogger.WriteLogEntry(String message, EventLogEntryType entryType)
=== Verbose logging stopped: 15/01/2007  11:50:07 ===

dd_wcf_retCA7E81.txt

ServiceModelReg [11:50:08:859]: Uninstalling: Machine.config Section Groups and Handlers
ServiceModelReg [11:50:09:265]: Uninstalling: System.Web Build Provider
ServiceModelReg [11:50:09:296]: Uninstalling: System.Web Compilation Assemblies
ServiceModelReg [11:50:09:375]: Uninstalling: HTTP Handlers
ServiceModelReg [11:50:09:515]: Uninstalling: HTTP Modules
ServiceModelReg [11:50:09:546]: Uninstalling: Web Host Script Mappings
ServiceModelReg [11:50:09:562]:  Removing script mapping from location IIS://localhost/W3SVC.
ServiceModelReg [11:50:10:171]: Uninstalling: WMI Classes
ServiceModelReg [11:50:10:250]: System.InvalidCastException: Specified cast is not valid.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementScope.Connect()
   at System.ServiceModel.Install.WmiInstallComponent.get_IsInstalled()
   at System.ServiceModel.Install.WmiInstallComponent.Uninstall(OutputLevel outputLevel)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem actionItem, Nullable`1 confirmUninstall)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
ServiceModelReg [11:50:10:265]: An error occurred while writing the previous entry to the event log:
System.ComponentModel.Win32Exception: The event log file is full

dd_wcf_retMSI4862.txt

        ******* Product: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\IXP0485F.tmp\wcu\wcf\wcf.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (B4:50) [11:49:36:031]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (B4:50) [11:49:36:062]: File will have security applied from OpCode.
MSI (s) (B4:50) [11:49:36:156]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\IXP0485F.tmp\wcu\wcf\wcf.msi' against software restriction policy
MSI (s) (B4:50) [11:49:36:156]: SOFTWARE RESTRICTION POLICY: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\IXP0485F.tmp\wcu\wcf\wcf.msi has a digital signature
MSI (s) (B4:50) [11:49:37:390]: SOFTWARE RESTRICTION POLICY: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\IXP0485F.tmp\wcu\wcf\wcf.msi is permitted to run at the 'unrestricted' authorization level.
MSI (s) (B4:50) [11:49:37:390]: End dialog not enabled
MSI (s) (B4:50) [11:49:37:390]: Original package ==> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\IXP0485F.tmp\wcu\wcf\wcf.msi
MSI (s) (B4:50) [11:49:37:406]: Package we're running from ==> C:\WINDOWS\Installer\b7d121.msi
MSI (s) (B4:50) [11:49:37:406]: APPCOMPAT: looking for appcompat database entry with ProductCode '{491DD792-AD81-429C-9EB4-86DD3D22E333}'.
MSI (s) (B4:50) [11:49:37:406]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (B4:50) [11:49:37:406]: MSCOREE not loaded loading copy from system32
MSI (s) (B4:50) [11:49:37:406]: Machine policy value 'TransformsSecure' is 0
MSI (s) (B4:50) [11:49:37:406]: User policy value 'TransformsAtSource' is 0
MSI (s) (B4:50) [11:49:37:406]: Machine policy value 'DisablePatch' is 0
MSI (s) (B4:50) [11:49:37:406]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (B4:50) [11:49:37:406]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (B4:50) [11:49:37:406]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (B4:50) [11:49:37:406]: APPCOMPAT: looking for appcompat database entry with ProductCode '{491DD792-AD81-429C-9EB4-86DD3D22E333}'.
MSI (s) (B4:50) [11:49:37:406]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (B4:50) [11:49:37:406]: Transforms are not secure.
MSI (s) (B4:50) [11:49:37:406]: Note: 1: 2205 2:  3: Control
MSI (s) (B4:50) [11:49:37:406]: Command Line: REBOOT=ReallySuppress CURRENTDIRECTORY=C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp CLIENTUILEVEL=3 CLIENTPROCESSID=3224
MSI (s) (B4:50) [11:49:37:406]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{A63B31E5-2445-4C91-BD89-4532D7F4D434}'.
MSI (s) (B4:50) [11:49:37:406]: Product Code passed to Engine.Initialize:           ''
MSI (s) (B4:50) [11:49:37:406]: Product Code from property table before transforms: '{491DD792-AD81-429C-9EB4-86DD3D22E333}'
MSI (s) (B4:50) [11:49:37:406]: Product Code from property table after transforms:  '{491DD792-AD81-429C-9EB4-86DD3D22E333}'
MSI (s) (B4:50) [11:49:37:406]: Product not registered: beginning first-time install
MSI (s) (B4:50) [11:49:37:406]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (s) (B4:50) [11:49:37:406]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (B4:50) [11:49:37:406]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (B4:50) [11:49:37:406]: Adding new sources is allowed.
MSI (s) (B4:50) [11:49:37:406]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (s) (B4:50) [11:49:37:406]: Package name extracted from package path: 'wcf.msi'
MSI (s) (B4:50) [11:49:37:406]: Package to be registered: 'wcf.msi'
MSI (s) (B4:50) [11:49:37:406]: Note: 1: 2729

and more notes 2729 and 2360 throughout the log, with in the end a note 1708 and a "MainEngineThread is returning 1603"

 

VSMsiLog48EB.txt

=== Verbose logging started: 15/01/2007  11:50:17  Build type: SHIP UNICODE 3.01.4000.2435  Calling process: C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\setup.exe ===
MSI (c) (98:44) [11:50:17:625]: Resetting cached policy values
MSI (c) (98:44) [11:50:17:625]: Machine policy value 'Debug' is 0
MSI (c) (98:44) [11:50:17:625]: ******* RunEngine:
           ******* Product: C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (98:44) [11:50:17:625]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (98:44) [11:50:17:625]: Grabbed execution mutex.
MSI (c) (98:44) [11:50:17:640]: Cloaking enabled.
MSI (c) (98:44) [11:50:17:640]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (98:44) [11:50:17:640]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B4:AC) [11:50:17:640]: Grabbed execution mutex.
MSI (s) (B4:74) [11:50:17:640]: Resetting cached policy values
MSI (s) (B4:74) [11:50:17:640]: Machine policy value 'Debug' is 0
MSI (s) (B4:74) [11:50:17:640]: ******* RunEngine:
           ******* Product: C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (B4:74) [11:50:17:640]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (B4:74) [11:50:17:671]: File will have security applied from OpCode.
MSI (s) (B4:74) [11:50:17:703]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi' against software restriction policy
MSI (s) (B4:74) [11:50:17:703]: SOFTWARE RESTRICTION POLICY: C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi has a digital signature
MSI (s) (B4:74) [11:50:17:750]: SOFTWARE RESTRICTION POLICY: C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi is permitted to run at the 'unrestricted' authorization level.
MSI (s) (B4:74) [11:50:17:750]: End dialog not enabled
MSI (s) (B4:74) [11:50:17:750]: Original package ==> C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi
MSI (s) (B4:74) [11:50:17:750]: Package we're running from ==> C:\WINDOWS\Installer\b7d125.msi
MSI (s) (B4:74) [11:50:17:750]: APPCOMPAT: looking for appcompat database entry with ProductCode '{9DE9E293-5D7B-4312-88C2-BDFAEC5310AE}'.
MSI (s) (B4:74) [11:50:17:750]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (B4:74) [11:50:17:765]: MSCOREE already loaded, using loaded copy
MSI (s) (B4:74) [11:50:17:765]: Machine policy value 'TransformsSecure' is 0
MSI (s) (B4:74) [11:50:17:765]: User policy value 'TransformsAtSource' is 0
MSI (s) (B4:74) [11:50:17:765]: Machine policy value 'DisablePatch' is 0
MSI (s) (B4:74) [11:50:17:765]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (B4:74) [11:50:17:765]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (B4:74) [11:50:17:765]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (B4:74) [11:50:17:765]: APPCOMPAT: looking for appcompat database entry with ProductCode '{9DE9E293-5D7B-4312-88C2-BDFAEC5310AE}'.
MSI (s) (B4:74) [11:50:17:765]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (B4:74) [11:50:17:765]: Transforms are not secure.
MSI (s) (B4:74) [11:50:17:765]: Note: 1: 2205 2:  3: Control
MSI (s) (B4:74) [11:50:17:765]: Command Line: VSEXTUI=1 REMOVE=ALL VSEXTUI=1 SETUPWINDOW=788068 INSTALLLEVEL=2 REBOOT=ReallySuppress PIDKEY=11111-11111-11111-11111-11111 ALLUSERS=1 REINSTALLMODE=omus ARPINSTALLLOCATION=C:\WINDOWS\Microsoft.NET\Framework\v3.0\ DISABLEROLLBACK=1 FILESINUSETEXT= CURRENTDIRECTORY=C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp CLIENTUILEVEL=3 CLIENTPROCESSID=3224
MSI (s) (B4:74) [11:50:17:765]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{5224AA35-9CA4-4D00-BF29-DDDACF6C36F5}'.
MSI (s) (B4:74) [11:50:17:765]: Product Code passed to Engine.Initialize:           ''
MSI (s) (B4:74) [11:50:17:765]: Product Code from property table before transforms: '{9DE9E293-5D7B-4312-88C2-BDFAEC5310AE}'
MSI (s) (B4:74) [11:50:17:765]: Product Code from property table after transforms:  '{9DE9E293-5D7B-4312-88C2-BDFAEC5310AE}'
MSI (s) (B4:74) [11:50:17:765]: Note: 1: 1708
MSI (s) (B4:74) [11:50:17:765]: Note: 1: 2729
MSI (s) (B4:74) [11:50:17:765]: Note: 1: 2729
MSI (s) (B4:74) [11:50:17:765]: Product: Microsoft .NET Framework 3.0 -- Installation failed.

MSI (s) (B4:74) [11:50:17:765]: MainEngineThread is returning 1605
This action is only valid for products that are currently installed.
C:\Documents and Settings\Administrator\Local Settings\Temp\SIT26689.tmp\vs_setup.msi
MSI (c) (98:44) [11:50:17:890]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (98:44) [11:50:17:890]: MainEngineThread is returning 1605
=== Verbose logging stopped: 15/01/2007  11:50:17 ===

 

I guess this are the interesting parts of the log, but i could be wrong of course. More loggin excerpts on request ;o)

I really hope anyone can help, because i'm stuck for hours now. The "Windows Installer Error Messages" list didn't help me, neither the "known issues list".

 

Thanks in advance!!

John.

 

 

 



.NET Development25  
 
 
Aaron Stebner





PostPosted: .NET Framework Setup, Setup .NET 3.0 fails Top

Hi John,

The exception listed in your log file states that the event log on this system is full and setup was unable to write to it. Can you try to clear your Application, Security and System event logs and then re-run .NET Framework 3.0 setup to see if that will help in this scenario You can do that by doing something like the following:

1. Click on the Start menu, choose Run, type eventvwr and click OK

2. Right-click on the Application event log and choose Clear log...

3. Do the same for the Security and System event logs

4. Close eventvwr and re-run .NET Framework 3.0 setup

Hopefully this will help in this scenario.

Thanks! Aaron


 
 
John Musenee





PostPosted: .NET Framework Setup, Setup .NET 3.0 fails Top

Hello Aaron

Thank you for your answer. I cleaned the 3 logs and ran the setup again. Now i get several warnings & errors, where the first one states that machine.config doesn't contain a "System.ServiceModel" section. I read again the issue-list on http://msdn2.microsoft.com/en-us/windowsvista/bb188202.aspx, where is said to remove any references to System.ServiceModel in machine.config.

Info:

The ServiceModelReg tool will take the following actions:

Reinstalling configuration section system.serviceModel to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

Reinstalling configuration section system.runtime.serialization to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

Reinstalling configuration section system.serviceModel.activation to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

Adding configuration entry for BuildProvider:

System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Reinstalling compilation assembly node to System.Web section group:

System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL

Reinstalling compilation assembly node to System.Web section group:

System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL

Reinstalling compilation assembly node to System.Web section group:

System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Reinstalling HttpHandlers node to System.Web section group:

*.svc

Reinstalling HttpModules node to System.Web section group:

ServiceModel

Reinstalling Web Host Script Mapping for extension: .svc

Reinstalling WMI classes.

Reinstalling Windows CardSpace (idsvc).

Reinstalling Net.Tcp Port Sharing Service (NetTcpPortSharing).

Reinstalling HTTP namespace reservations.

Warning:Configuration section system.serviceModel does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

Warning: Configuration section system.runtime.serialization does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

Warning: Configuration section system.serviceModel.activation does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

Warning: A configuration entry for BuildProvider System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 does not exist.

Warning: All compilation assembly nodes do not exist in System.Web section group.

Warning: HttpHandlers node *.svc does not exist in System.Web section group.

Warning: HttpModules node ServiceModel does not exist in System.Web section group.

Warning: A Web Host Script Mapping does not exist for extension .svc.

Warning: Failure executing "C:\WINDOWS\system32\wbem\mofcomp.exe" with parameters ""C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"": System.ApplicationException: Unexpected result 3 executing C:\WINDOWS\system32\wbem\mofcomp.exe with "C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"

at System.ServiceModel.Install.InstallHelper.ExecuteWait(String program, String parameters, Int32[] allowedExitCodes)

at System.ServiceModel.Install.WmiInstallComponent.OnInstall(OutputLevel outputLevel)

ERROR: System.InvalidCastException: Specified cast is not valid.

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

at System.Management.ManagementScope.InitializeGuts(Object o)

at System.Management.ManagementScope.Initialize()

at System.Management.ManagementScope.Connect()

at System.ServiceModel.Install.WmiInstallComponent.get_IsInstalled()

at System.ServiceModel.Install.WmiInstallComponent.ApplyNamespaceDacl(OutputLevel outputLevel)

Info: 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

Removing compilation assembly node from System.Web section group:

System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Removing HttpHandlers node from System.Web section group:

*.svc

Removing HttpModules node from System.Web section group:

ServiceModel

Removing Web Host Script Mapping for extension: .svc

Removing WMI classes.

Removing Windows CardSpace (idsvc).

Removing Net.Tcp Port Sharing Service (NetTcpPortSharing).

Removing HTTP namespace reservations.

ERROR: System.InvalidCastException: Specified cast is not valid.

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

at System.Management.ManagementScope.InitializeGuts(Object o)

at System.Management.ManagementScope.Initialize()

at System.Management.ManagementScope.Connect()

at System.ServiceModel.Install.WmiInstallComponent.get_IsInstalled()

at System.ServiceModel.Install.WmiInstallComponent.Uninstall(OutputLevel outputLevel)

at Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem actionItem, Nullable`1 confirmUninstall)

at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)

Warning: Windows CardSpace (idsvc) is not installed.

Warning: Net.Tcp Port Sharing Service (NetTcpPortSharing) is not installed.

Warning: HTTP namespace reservations are not installed.

ERROR:System.InvalidCastException: Specified cast is not valid.

at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)

at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)


 
 
Vadim Meleshuk





PostPosted: .NET Framework Setup, Setup .NET 3.0 fails Top

It seems that your system is in bad state.
To diagnose WMI-related issues, use WmiDiag tool:
http://www.microsoft.com/downloads/details.aspx familyid=D7BA3CD6-18D1-4D05-B11E-4C64192AE97D&displaylang=en
http://www.microsoft.com/technet/scriptcenter/topics/help/wmidiag.mspx


 
 
John Musenee





PostPosted: .NET Framework Setup, Setup .NET 3.0 fails Top

Thank you for your reply.

However, i just completely cloned another ones machine to mine, and now it works.