none
.NET 3.0 setup fails with an IISAdminBase error RRS feed

  • Question

  •  

    Trying to install .NET 3.0 on a Window 2003 SP1 machine. IISAdmin was stopped before the installation was tried. The WCF installation fails with the following 3 error entries in the event log:

     

    System.Runtime.InteropServices.COMException (0x800CC808): Exception from HRESULT: 0x800CC808

    at System.DirectoryServices.DirectoryEntry.CommitChanges()

    at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.UninstallScriptMapFromPath(DirectoryEntry path, OutputLevel outputLevel)

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

    at System.ServiceModel.Install.ServiceModelInstallComponent.Reinstall(OutputLevel outputLevel)

    at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.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)

     

     

    System.Runtime.InteropServices.COMException (0x800CC808): Exception from HRESULT: 0x800CC808

    at System.DirectoryServices.DirectoryEntry.CommitChanges()

    at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.UninstallScriptMapFromPath(DirectoryEntry path, OutputLevel outputLevel)

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

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

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

     

     

    System.Runtime.InteropServices.COMException (0x800CC808): Exception from HRESULT: 0x800CC808

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

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

     

     

    The WCF log in the temp directory is as follows:

     

    === Verbose logging started: 12/3/2007  15:30:54  Calling process: C:\WINNT\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe ===
    ServiceModelReg [15:30:55:688]: Information: The ServiceModelReg tool will take the following actions:
    Removing configuration section system.serviceModel from C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    Removing configuration section system.runtime.serialization from C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    Removing configuration section system.serviceModel.activation from C:\WINNT\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
    Removin...
    ServiceModelReg [15:30:55:688]: Uninstalling: Machine.config Section Groups and Handlers
    ServiceModelReg [15:30:56:407]: Uninstalling: System.Web Build Provider
    ServiceModelReg [15:30:56:501]: Uninstalling: System.Web Compilation Assemblies
    ServiceModelReg [15:30:56:673]: Uninstalling: HTTP Handlers
    ServiceModelReg [15:30:56:798]: Uninstalling: HTTP Modules
    ServiceModelReg [15:30:56:891]: Uninstalling: Protocol node for protocol net.tcp
    ServiceModelReg [15:30:57:001]: Warning: A Protocol node does not exists in the system.web section for protocol net.tcp in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:016]: Uninstalling: TransportConfiguration node for protocol net.tcp
    ServiceModelReg [15:30:57:032]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol net.tcp in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:032]: Uninstalling: Protocol node for protocol net.pipe
    ServiceModelReg [15:30:57:048]: Warning: A Protocol node does not exists in the system.web section for protocol net.pipe in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:048]: Uninstalling: TransportConfiguration node for protocol net.pipe
    ServiceModelReg [15:30:57:063]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol net.pipe in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:079]: Uninstalling: Protocol node for protocol net.msmq
    ServiceModelReg [15:30:57:079]: Warning: A Protocol node does not exists in the system.web section for protocol net.msmq in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:094]: Uninstalling: TransportConfiguration node for protocol net.msmq
    ServiceModelReg [15:30:57:110]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol net.msmq in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:110]: Uninstalling: Protocol node for protocol msmq.formatname
    ServiceModelReg [15:30:57:141]: Warning: A Protocol node does not exists in the system.web section for protocol msmq.formatname in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:141]: Uninstalling: TransportConfiguration node for protocol msmq.formatname
    ServiceModelReg [15:30:57:157]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol msmq.formatname in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [15:30:57:157]: Uninstalling: Web Host Script Mappings
    ServiceModelReg [15:30:57:219]:  Removing script mapping from location IIS://localhost/W3SVC.
    ServiceModelReg [15:30:57:282]: System.Runtime.InteropServices.COMException (0x800CC808): Exception from HRESULT: 0x800CC808
       at System.DirectoryServices.DirectoryEntry.CommitChanges()
       at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.UninstallScriptMapFromPath(DirectoryEntry path, OutputLevel outputLevel)
       at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.Uninstall(OutputLevel outputLevel)
       at Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem actionItem, Nullable`1 confirmUninstall)
       at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
    ServiceModelReg [15:30:57:298]: Uninstalling: WMI Classes
    ServiceModelReg [15:30:58:516]: Warning: WMI classes are not installed.
    ServiceModelReg [15:30:58:516]: Uninstalling: Windows CardSpace (idsvc)
    ServiceModelReg [15:30:58:516]: Warning: Windows CardSpace (idsvc) is not installed.
    ServiceModelReg [15:30:58:532]: Uninstalling: Net.Tcp Port Sharing Service (NetTcpPortSharing)
    ServiceModelReg [15:30:58:532]: Warning: Net.Tcp Port Sharing Service (NetTcpPortSharing) is not installed.
    ServiceModelReg [15:30:58:532]: Uninstalling: HTTP Namespace Reservations
    ServiceModelReg [15:30:58:579]: Warning: HTTP namespace reservations are not installed.
    ServiceModelReg [15:30:58:579]: System.Runtime.InteropServices.COMException (0x800CC808): Exception from HRESULT: 0x800CC808
       at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
       at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)
    === Verbose logging stopped: 12/3/2007  15:30:58 ===

     

    I did a lookup on COMException 0x800CC808L and it points to an IISAdminBase Error:

    MD_ERROR_CANNOT_REMOVE_SECURE_ATTRIBUTE

     

    Any ideas as to what is going wrong? Thanks !

     

    Monday, December 3, 2007 9:33 PM

Answers

  • Finally got .NET 3.0 installed....

     

    MS Tech Support helped out with this. Here are the steps:

     

    1) Unhook asp.net 2.0 from IIS by running "aspnet_regiis -u" from the 2.0.xxxx folder. This will remove all the aspnet_isapi.dll associations from IIS, including the ".svc" mapping which was causing the problem.

    2) Install .NET 3.0. This should now work fine.

    3) Re-hook asp.net 2.0 to IIS by running "aspnet_regiis -i" from the 2.0.xxxx folder.

     

    Backup the IIS metabase at each step... just in case.

     

    Thanks for all those you replied.

    Friday, December 14, 2007 2:44 PM

All replies

  •  

    This is an interesting problem you've run into!

     

    Why was IISAdmin disabled before installing?  Do you get the same error with IISAdmin running? 

     

    If you don't need the web-hosting features of Windows Communication Foundation, then you could uninstall IIS altogether and then run the .Net 3.0 installer (that will cause WCF to skip the Web Host Script Mappings steps).  If you do require web-hosting, re-installing IIS might be a good idea (since you're receiving a very unexpected return value from the IIS metabase).

     

    Hope this helps,

    Nick Doty - MSFT

    Tuesday, December 4, 2007 10:28 PM
  • Thanks for the response Nick.

     

    The release notes with .NET 3.0 had mentioned that sometimes the IIS metabase can be corrupted if v3.0 is installed side by side with v1.1, so I stopped IISAdmin to prevent that from happening.

     

    I've tried running the install with IISAdmin running and I get the same error.  

     

    Uninstalling IIS is not an option since the IIS server has hundreds of sites running. Any other ideas?

     

    Thanks!

    Wednesday, December 5, 2007 2:33 PM
  • Updates..

     

    MSDN describes MD_ERROR_CANNOT_REMOVE_SECURE_ATTRIBUTE as: The METADATA_SECURE attribute cannot be removed from a data item via the GetData method. Use the DeleteData method to remove the secure data.

     

    I did a little googling on that and came across this

    http://www.iisfaq.com/Default.aspx?tabid=2843

     

    The above article hinted towards a metabase corruption. So, I tried running the adsutil script ('csscript adsutil.vbs enum' from the cmd prompt) to enumerate the metabase and it enumerated the sites without any problem.  Also, all the other sites hosted on IIS are still working and the IISAdmin responds (start, stop) without any problems so I think the metabase is not corrupted and that can be ruled out as the root of the problem.

     

    Does anyone have any other suggestions or ideas to try ?? Thanks!

    Thursday, December 6, 2007 4:19 PM
  • I don't understand why you are installing .NET 3.0 in a Win2003 box without SP2 because SP2 fixes many .NET and other issues.  And if you cannot reinstall IIS 6 you could go to the location below in your C drive and run aspnet_regiis, I am not saying it will fix your problem but it helps.  In the meantime see if you can install SP2.

     

    http://technet.microsoft.com/en-us/windowsserver/bb229701.aspx

     

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

    Thursday, December 6, 2007 5:16 PM
    Moderator
  • The .NET 3.0 release notes say that the minimum requirement on a Windows 2003 box is SP1, so I should be able to install v3.0 on SP1. Nevertheless, based on your suggestion I installed SP2. That didn't seem to help the issue. I still get the same errors. I also tried running aspnet_regiis, but again, no luck.

     

    Can anyone from Microsoft throw some light on the MD_ERROR_CANNOT_REMOVE_SECURE_ATTRIBUTE error. Is there any way to find out what the "secure data" is that is causing ServiceModelReg.exe to fail? Is there any verbose mode for ServiceModelReg.exe or the v3.0 installation that can give more info?

    Friday, December 7, 2007 3:14 PM
  • When I told you to run aspnet_regiis I forgot to tell you to run it for .NET 3.0 instead of Asp.net here is the list of known issues and fixes from the .NET 3.0 team and yes you may have to reinstall IIS but there are many other issues you could fix. 

     

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=746013&SiteID=1

     

    Friday, December 7, 2007 3:50 PM
    Moderator
  • Thanks for the detailed information... can you provide the first snippet in the log where this error occurs? The one that corresponds in time to the first event log message (the one with the longest stack trace).

     

    Tnx,

    Dan

    Saturday, December 8, 2007 2:53 AM
    Moderator
  • Dan,

     

    I'm guessing you meant the installation logs. On the latest installation attempt the first event log error occurs at 12/07/07, 08:33:57

     

    Here are the relevent snippets from the dd_dotnetfx3install.txt, dd_wcf_retMSI*.txt and dd_wcf_retCA*.txt. Let me know if you need anything else.

     

     

    dd_dotnetfx3install.txt
    =======================
    [12/07/07,08:32:32] Windows Communication Foundation: Installing MSI C:\DOCUME~1\ADMIN\LOCALS~1\Temp\IXP04471.tmp\wcu\wcf\wcf.msi with command-line:  REBOOT=ReallySuppress
    [12/07/07,08:32:32] Windows Communication Foundation: Enabling MSI log file: C:\DOCUME~1\ADMIN\LOCALS~1\Temp\dd_wcf_retMSI4474.txt
    [12/07/07,08:34:05] InstallReturnValue: GFN_MID Indigo, 0x643
    [12/07/07,08:34:05] Setup.exe: AddGlobalCustomProperty
    [12/07/07,08:34:06] Setup.exe: AddGlobalCustomProperty
    [12/07/07,08:34:06] Windows Communication Foundation: ***ERRORLOG EVENT*** : Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
    [12/07/07,08:34:06] Windows Communication Foundation: CBaseComponent::LaunchWatson() - Obtained CSetupWatson instance
    [12/07/07,08:34:06] Windows Communication Foundation: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty()
    [12/07/07,08:34:06] Windows Communication Foundation: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty()
    [12/07/07,08:34:06] Windows Communication Foundation: CBaseComponent::LaunchWatson() - Creating a PreReq Watson report with manifest: C:\DOCUME~1\ADMIN\LOCALS~1\Temp\MAN3F.tmp
    [12/07/07,08:34:10] Windows Communication Foundation: CBaseComponent::LaunchWatson() - Using manifest: C:\DOCUME~1\ADMIN\LOCALS~1\Temp\MAN3F.tmp
    [12/07/07,08:34:10] Windows Communication Foundation: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty()
    [12/07/07,08:34:10] Windows Communication Foundation: CBaseComponent::LaunchWatson() - Setting the property CustomCoreProp_WatsonManifestReady to use the GenComp Manifest.
    [12/07/07,08:34:10] Setup.exe: AddGlobalCustomProperty
    [12/07/07,08:34:10] Windows Communication Foundation: CBaseComponent::LaunchWatson() - Completed
    [12/07/07,08:34:10] Windows Communication Foundation:  Pending Reboot Table state : Logging start
    [12/07/07,08:34:10] Windows Communication Foundation:    _________________________________________
    [12/07/07,08:34:10] PFR: GFN_MID Indigo, DELETE, , , C:\WINNT\system32\FxsTmp\fxs2B.tmp,   (  ----  ),   (--:--:--)
    [12/07/07,08:34:10] Windows Communication Foundation:  Pending Reboot Table state : Logging end
    [12/07/07,08:34:10] Windows Communication Foundation:    _________________________________________
    [12/07/07,08:34:10] UTILS::RunNGENAction: Started
    [12/07/07,08:34:11] UTILS::RunNGENAction: starting "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\ngen.exe queue pause"

     


    dd_wcf_retMSI4474.txt
    =====================
    MSI (s) (E4:1C) [08:33:15:060]: Created Custom Action Server with PID 5144 (0x1418).
    MSI (s) (E4:54) [08:33:15:138]: Running as a service.
    MSI (s) (E4:54) [08:33:15:153]: Hello, I'm your 32bit Elevated custom action server.
    MSI (s) (E4:20) [08:33:58:308]: User policy value 'DisableRollback' is 0
    MSI (s) (E4:20) [08:33:58:308]: Machine policy value 'DisableRollback' is 0
    Action ended 8:33:58: InstallFinalize. Return value 3.
    MSI (s) (E4:20) [08:33:58:339]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=931611673,LangId=0,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
    MSI (s) (E4:20) [08:33:58:339]: Executing op: DialogInfo(Type=0,Argument=0)
    MSI (s) (E4:20) [08:33:58:339]: Executing op: DialogInfo(Type=1,Argument=Windows Communication Foundation)
    MSI (s) (E4:20) [08:33:58:339]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
    MSI (s) (E4:20) [08:33:58:339]: Executing op: ActionStart(Name=DD_CA_InstallXwsRegExe_X86.3643236F_FC70_11D3_A536_0090278A1BB8,,)
    MSI (s) (E4:20) [08:33:58:339]: Executing op: ProductInfo(ProductKey={491DD792-AD81-429C-9EB4-86DD3D22E333},ProductName=Windows Communication Foundation,PackageName=wcf.msi,Language=0,Version=50336154,Assignment=1,ObsoleteArg=0,,,PackageCode={A63B31E5-2445-4C91-BD89-4532D7F4D434},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0)
    MSI (s) (E4:20) [08:33:58:339]: Executing op: ActionStart(Name=DD_CA_InstallXwsRegExe_RB_X86.3643236F_FC70_11D3_A536_0090278A1BB8,,)
    MSI (s) (E4:20) [08:33:58:339]: Executing op: CustomActionRollback(Action=DD_CA_InstallXwsRegExe_RB_X86.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=1345,Source=BinaryData,Target=QuietExec,CustomActionData=C:\WINNT\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe /u /x /y /v;dummy;C:\WINNT\Microsoft.NET\Framework\v2.0.50727\)
    MSI (s) (E4:A4) [08:33:58:370]: Invoking remote custom action. DLL: C:\WINNT\Installer\MSI70.tmp, Entrypoint: QuietExec
    MSI (s) (E4:20) [08:34:02:277]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3])

     

     

    dd_wcf_retCA649B.txt
    ====================
    === Verbose logging started: 12/7/2007  08:33:44  Calling process: C:\WINNT\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe ===
    ServiceModelReg [08:33:53:636]: Information: The ServiceModelReg tool will take the following actions:
    Reinstalling configuration section system.serviceModel to C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    Reinstalling configuration section system.runtime.serialization to C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    Reinstalling configuration section system.serviceModel.activation to C:\WINNT\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...
    ServiceModelReg [08:33:53:652]: Uninstalling: Machine.config Section Groups and Handlers
    ServiceModelReg [08:33:53:668]: Warning: Configuration section system.serviceModel does not exist in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    ServiceModelReg [08:33:53:683]: Warning: Configuration section system.runtime.serialization does not exist in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    ServiceModelReg [08:33:53:683]: Warning: Configuration section system.serviceModel.activation does not exist in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
    ServiceModelReg [08:33:53:683]: Installing: Machine.config Section Groups and Handlers
    ServiceModelReg [08:33:55:621]: Uninstalling: System.Web Build Provider
    ServiceModelReg [08:33:55:667]: 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 [08:33:55:667]: Installing: System.Web Build Provider
    ServiceModelReg [08:33:55:761]: Uninstalling: System.Web Compilation Assemblies
    ServiceModelReg [08:33:55:824]: Warning: All compilation assembly nodes do not exist in System.Web section group.
    ServiceModelReg [08:33:55:824]: Installing: System.Web Compilation Assemblies
    ServiceModelReg [08:33:56:042]: Uninstalling: HTTP Handlers
    ServiceModelReg [08:33:56:089]: Warning: HttpHandlers node *.svc does not exist in System.Web section group.
    ServiceModelReg [08:33:56:089]: Installing: HTTP Handlers
    ServiceModelReg [08:33:56:261]: Uninstalling: HTTP Modules
    ServiceModelReg [08:33:56:292]: Warning: HttpModules node ServiceModel does not exist in System.Web section group.
    ServiceModelReg [08:33:56:292]: Installing: HTTP Modules
    ServiceModelReg [08:33:56:355]: Uninstalling: Protocol node for protocol net.tcp
    ServiceModelReg [08:33:56:449]: Warning: A Protocol node does not exists in the system.web section for protocol net.tcp in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:449]: Uninstalling: TransportConfiguration node for protocol net.tcp
    ServiceModelReg [08:33:56:589]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol net.tcp in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:605]: Uninstalling: Protocol node for protocol net.pipe
    ServiceModelReg [08:33:56:621]: Warning: A Protocol node does not exists in the system.web section for protocol net.pipe in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:636]: Uninstalling: TransportConfiguration node for protocol net.pipe
    ServiceModelReg [08:33:56:667]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol net.pipe in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:667]: Uninstalling: Protocol node for protocol net.msmq
    ServiceModelReg [08:33:56:699]: Warning: A Protocol node does not exists in the system.web section for protocol net.msmq in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:699]: Uninstalling: TransportConfiguration node for protocol net.msmq
    ServiceModelReg [08:33:56:730]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol net.msmq in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:730]: Uninstalling: Protocol node for protocol msmq.formatname
    ServiceModelReg [08:33:56:746]: Warning: A Protocol node does not exists in the system.web section for protocol msmq.formatname in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:746]: Uninstalling: TransportConfiguration node for protocol msmq.formatname
    ServiceModelReg [08:33:56:792]: Warning: A TransportConfiguration node does not exists in the system.web section for protocol msmq.formatname in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Config\web.config.
    ServiceModelReg [08:33:56:792]: Uninstalling: Web Host Script Mappings
    ServiceModelReg [08:33:56:980]:  Removing script mapping from location IIS://localhost/W3SVC.
    ServiceModelReg [08:33:57:886]: System.Runtime.InteropServices.COMException (0x800CC808): Exception from HRESULT: 0x800CC808
       at System.DirectoryServices.DirectoryEntry.CommitChanges()
       at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.UninstallScriptMapFromPath(DirectoryEntry path, OutputLevel outputLevel)
       at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.Uninstall(OutputLevel outputLevel)
       at System.ServiceModel.Install.ServiceModelInstallComponent.Reinstall(OutputLevel outputLevel)
       at System.ServiceModel.Install.WebHostScriptMappingsInstallComponent.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)
    === Verbose logging stopped: 12/7/2007  08:33:57 ===

    Monday, December 10, 2007 2:40 PM
  • Thanks for the additional info. One more question: is there a .svc script map installed in IIS already?
    Tuesday, December 11, 2007 6:13 PM
    Moderator
  • Another question: do you have encrypted properties in your metabase other than the standard encrypted properties? In particular, is the ScriptMaps property encrypted? You can tell by opening your MBSchema.xml and looking for an Attributes attribute that includes SECURE.
    Tuesday, December 11, 2007 6:24 PM
    Moderator
  • The .svc extension looks to be already registered with IIS. The executable path shows the v2.0.50727 aspnet_isapi.dll. Is that what you meant by ".svc script map installed"?

     

    I also checked the IIS metabase. The "ScriptMaps" property is not marked by the "SECURE" attribute in the MBSchema.xml file, but, I did find a few instances of the "ScriptMaps" property marked with the "SECURE" attribute in Metabase.xml. All of the instances marked with "SECURE" have the following layout:

     

    <Custom
      Name="ScriptMaps"
      ID="6014"
      Value="XXXXX..."
      Type="MULTISZ"
      UserType="IIS_MD_UT_FILE"
      Attributes="INHERIT | SECURE"

     />

     

     

    Tuesday, December 11, 2007 7:33 PM
  • Would you mind sharing your metabase.xml? I've got a thread going internally here on the METADATA_SECURE issue, which I believe is the root cause.

     

    For now, however, to try and unblock your install, my best suggestion would be:

    - If you have any beta or pre-release version of the framework on there, make sure it is uninstalled.

    - Try manually removing the .svc extension from IIS. (Assuming that none of your sites are currently using it, since it's only supported by 3.0.)

     

    P.S. Of course, standard precaution if this is a production sever, always back up your metabase before making any changes.

    Tuesday, December 11, 2007 7:46 PM
    Moderator
  • Dan,

     

    Currently the machine is clean of any beta or pre-release versions of the framework.

     

    On your suggestion, I tried to manually remove the .svc extension. And guess what, it failed, with an error dialog saying "Unexpected error 0x800CC808 occured". The error code is the same as the one I got when installing v3.0.

     

    We have opened a case with Microsoft Support. If you want, I can give you the case number and you can pick it up and we will send you the metabase file, etc as needed. Let me know if you want me to post the case number here or send it via email. Thanks for you help !

    Tuesday, December 11, 2007 8:28 PM
  • Thanks, you can email me the case number at dglick at microsoft. I'm actually in engineering, not support, but if you give my email to the support engineer assigned to your case I can assist them with it.

     

    Regards,

    Dan

    Tuesday, December 11, 2007 9:22 PM
    Moderator
  • Finally got .NET 3.0 installed....

     

    MS Tech Support helped out with this. Here are the steps:

     

    1) Unhook asp.net 2.0 from IIS by running "aspnet_regiis -u" from the 2.0.xxxx folder. This will remove all the aspnet_isapi.dll associations from IIS, including the ".svc" mapping which was causing the problem.

    2) Install .NET 3.0. This should now work fine.

    3) Re-hook asp.net 2.0 to IIS by running "aspnet_regiis -i" from the 2.0.xxxx folder.

     

    Backup the IIS metabase at each step... just in case.

     

    Thanks for all those you replied.

    Friday, December 14, 2007 2:44 PM
  • This can be an issue with the permission with the ServiceModel 3.0.0.0 registry key. Find the below link for more details

    http://codekeep.net/ASPNET/code/snippets/16827/Unable-to-install-NET-Framework-30-35-VS2008-Solution/view.aspx

    Friday, November 6, 2009 5:54 AM