locked
Windows 2008 R2 Web Server upgrade to Windows 2012 Standard

    General discussion

  • Hello,

    I've asked this question on IIS forums but since this is more setup/upgrade issue than IIS problem so I will copy my posts here and hope someone will point me direction where I should look for answer.

    I'm testing in cloned VM upgrade process from Windows 2008 R2 Web Server to Windows 2012 Standard and everything during upgrade looks fine but after Win2012 startup I've noticed that my applicationHost.config file has been replaced with clean one (instead of many websites I see only Default Web SIte) and IIS informs me that there was some incompatibilites. Can someone point me direction where I should look for what has been incompatible? Since this is a clone VM for testing I've done some testing. I've copied old applicationHost.config file from C:\WIndows.old\..... directory and replaced one from Windows 2012, I've enabled World Wide Web Publishing Service (Automatically startup) and changed Windows Process Activaction Service startup status from Disabled to Manual. This allowed me to start IIS with all of my websites configured previously. I had a lot of rewrite.dll errors in event log and I've found this topic:

    http://forums.iis.net/t/1193607.aspx/1?2008R2+to+2012+Upgrade+rewrite+dll+failed+to+load+error+after+upgrade

    After repairing IIS URL Rewrite 2 installation I'm not getting any errors in Event Log -> Applications and websites looks like they are working fine. I don't know if I can make this kind of hack in real production system because I don't know exactly what changes has been made to applicationHost.config file so it would be nice to know where to look for this mentioned incompatibility in IIS 7.5 configuration so whole upgrade process should be done by Win 2012 upgrade installer. Can this be related to error with IIS URL Rewrite 2 module since this is the only one module which caused issues?

    EDIT: I've reverted to pre update snapshot, removed completely IIS URL Rewrite 2 and after upgrading applicationHost.config file is still being replaced so this module is not cause if incompatibility.

    EDIT2: I will try to remove also .NET 1.1 from 2008 and update again. Maybe this is the cause of incompatibility. If anyone know where to look for information what is causing this problem then I will be grateful for posting this information under this thread.

    EDIT3: Removing .NET 1.1 before upgrade process didn't fixed incompatibility issue. There is also one more thing. When opening IIS Manager right after information about incompatibility there is link "Click here to view the latest IIS 7.0 compatibility information" which points to http://technet.microsoft.com/library/cc732976%28WS.10%29.aspx. Shouldn't this link be related to IIS 8 instead of 7?

    I've looked for files with *.log extension in C:\Windows directory with file change date not longer then 1-2 hours ago and I've found C:\Windows\iis.log file and contains this part:
    [07/02/2013 15:20:34] Copied C:\Windows\system32\inetsrv\config\redirection.config to C:\Windows\system32\inetsrv\config\redirection.config.clean.install
    [07/02/2013 15:20:34] Old clean install redirection.config saved
    [07/02/2013 15:20:34] < WARNING! > The redirection.config file was not gathered
    [07/02/2013 15:20:34] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:20:34] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:20:39] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:20:39] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:20:44] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:20:44] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:20:49] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:20:49] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:20:54] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:20:54] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:20:59] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:20:59] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:04] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:21:04] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:09] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:21:09] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:14] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:21:14] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:19] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:21:19] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:24] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config (result=0x80070002)
    [07/02/2013 15:21:24] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:24] < WARNING! > Failed to replace the clean install applicationHost.config with the previous one (result=0x80070002)
    [07/02/2013 15:21:24] < !!FAIL!! > Failed to copy C:\$UPGRADE.~OS\WorkDir_MachineSpecific\Working\srcworking\agentmgr\CCSIAgent\005A9CF5\applicationhost.config to C:\Windows\system32\inetsrv\config\applicationhost.config.upgrade (result=0x80070002)
    [07/02/2013 15:21:24] < !!FAIL!! > Failed CopyFileUtil Routine (result=0x80070002)
    [07/02/2013 15:21:24] < !!FAIL!! > Failed even saving to another name (result=0x80070002)
    [07/02/2013 15:21:24] < WARNING! > PreApply routine for 'config' returned (ignoring failure) (result=0x80070002)
    [07/02/2013 15:21:24] PreApply: Reset Plugin Timer - Apply Handler 5
    [07/02/2013 15:21:24] PreApply routine for 'app_pool' completed successfully
    [07/02/2013 15:21:24] PreApply: Reset Plugin Timer - Apply Handler 6
    [07/02/2013 15:21:24] PreApply routine for 'metabase' completed successfully
    [07/02/2013 15:21:24] PreApply: Reset Plugin Timer - Apply Handler 7
    [07/02/2013 15:21:24] PreApply routine for 'metabaseFtp' completed successfully
    [07/02/2013 15:21:24] Gather: Reset Plugin Timer - Apply
    [07/02/2013 15:21:24] Processing IIS Upgrade Document Version 2.0
    [07/02/2013 15:21:24] *** Windows Path Matched ***
    [07/02/2013 15:21:24] Changed service IISADMIN's start type to 2 to match downlevel
    [07/02/2013 15:21:24] Started service IISADMIN to match downlevel configuration
    [07/02/2013 15:21:24] Restored scm failure settings for IISADMIN
    [07/02/2013 15:21:24] Completed setting WAS SCM settings to match IISAdmin's migrated settings
    [07/02/2013 15:21:24] Restored scm failure settings for W3SVC
    [07/02/2013 15:21:24] Changed service WAS's start type to 3 to match downlevel
    [07/02/2013 15:21:24] Stopped service WAS to match downlevel configuration (unless services were depending on it)
    [07/02/2013 15:21:24] Restored scm failure settings for WAS
    [07/02/2013 15:21:24] Changed service WMSVC's start type to 2 to match downlevel
    [07/02/2013 15:25:36] < !!FAIL!! > Changing services WMSVC config to 2  (result=0x80000008) (will not block upgrade)
    [07/02/2013 15:25:36] Restored scm failure settings for WMSVC
    [07/02/2013 15:25:36] Restored SYSTEM\CurrentControlSet\Services\W3SVC\Parameters [AccessDeniedMessage]
    [07/02/2013 15:25:36] Restored SOFTWARE\Microsoft\InetMgr\Parameters [IncrementalSiteIDCreation]
    [07/02/2013 15:25:36] Abo mapper lazy writer turned off
    [07/02/2013 15:26:19] < !!FAIL!! > Failed to complete input file parsing and processing (result=0xc00ce553)
    [07/02/2013 15:26:19] Disabling W3SVC and WAS because we failed in the upgrade
    [07/02/2013 15:26:19] W3SVC disabled and stopped
    [07/02/2013 15:26:22] WAS disabled and stopped
    [07/02/2013 15:26:22] Wrote service disable reason 4 to HKEY_LOCAL_MACHINE\Software\Microsoft\InetStp\ServiceDisableReason
    [07/02/2013 15:26:22] < !!FAIL!! > ApplyData (result=0xc00ce553)
    [07/02/2013 15:26:22] < !!FAIL!! > PreApply phase (result=0xc00ce553)

    Does anyone have any idea what can be wrong?

    So far I've ended with exporting shared configuration in IIS 7.5, changing all entries with version 7.5.0.0 to 8.0.0.0 and importing this configuration to IIS 8. It works and I will probably stick with this solution.

    Regards

    Tuesday, July 09, 2013 6:30 AM

All replies

  • But your questions are still about IIS and not about Windows Server General Setup.  IIS requires special knowledge, so it is best to continue asking detailed questions like this in the IIS forum.  And, you even posted in the 2012 R2 Preview forum, not the 2012 setup forum.

    .:|:.:|:. tim

    Tuesday, July 30, 2013 11:35 PM
  • I've totally didn'y saw "Preview" when I was posting this thread. Thanks for letting me know.

    Can moderators close or just delete this thread?

    Wednesday, July 31, 2013 7:01 AM