« Previous Next »

Thread: Big Problem: Cannot Migrate from IIS6 - IIS7

Last post 09-09-2008 12:12 AM by ninatang. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 09-08-2008, 10:27 PM

    • pfuser
    • Not Ranked
    • Joined on 09-04-2008, 11:40 PM
    • Posts 11

    Big Problem: Cannot Migrate from IIS6 - IIS7

    Hi,

    I have posted before about this problem but have not had a satisfactory reply.
    Apparently there is a bug in msdeploy which gives me this error. At the moment I have 1000's of sites to migrate from iis6 to iis7 and cannot do so. Alot of time and money has already been invested into infrastructure and ms software to migrate these sites and we are unable to do so without manually doing it one by one. Obviously ths is not an acceptable solution. I have tried editing the iis6 metabase and removing the AnonymousUserPass but this just throws an error in the event log.

    According to your staff this bug is fixed for the next release but when is it going to be made available? Could you at least post a beta 2 version to fix this issue. I'm not the only one facing this issue.

    Informational: Source metaProperty (AuthFlags) missing from destination parent (/lm/w3svc/3/Root).  Add pending
    Informational: Source metaProperty (/lm/w3svc/3/Root/AuthFlags) replaced with changed attributes () due to rule EnvironmentVariableNormalize
    Action: Adding child metaProperty (/lm/w3svc/3/Root/AuthFlags)
    Informational: Source metaProperty (AnonymousUserPass) missing from destination parent (/lm/w3svc/3/Root).  Add pending
    Informational: Source metaProperty (/lm/w3svc/3/Root/AnonymousUserPass) replaced with changed attributes () due to rule EnvironmentVariableNormalize
    Fatal: Object reference not set to an instance of an object. 
     

     

  • 09-08-2008, 11:55 PM In reply to

    • ninatang
    • Top 150 Contributor
    • Joined on 07-14-2004, 12:41 PM
    • Posts 46

    Re: Big Problem: Cannot Migrate from IIS6 - IIS7

    I believe the other people facing this issue have been able to work around it by removing AnonymousUserPass, as you tried. If removing it doesn't work, can you instead try to set the AnonymousUserName?

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 09-09-2008, 12:12 AM In reply to

    • ninatang
    • Top 150 Contributor
    • Joined on 07-14-2004, 12:41 PM
    • Posts 46

    Re: Big Problem: Cannot Migrate from IIS6 - IIS7

    If you can't modify your metabase, there's another option for you that involves using skip rules. It's really easy to write a skip rule if you don't care about ANY anonymous credentials and are ok with skipping them in a migration. You'd add this at the command line:

     -skip:objectName=metaProperty,absolutePath=AnonymousUserPass

    If you need to move some passwords, you will have to be more specific with the absolutePath, which is a regular expression. You can also set these skip rules in configuration if you don't want to type them all out at the command line. For more information about writing skip rules, see this blog entry. I tested the skip rule out and it does solve the problem.

    Sorry all I can give are workarounds. Hope this helps!

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (3 items)
Microsoft Communities