Azure / App-Service-Migration-Assistant

Azure Websites Migration Assistant for Windows is a tool that allows customers to move their existing sites hosted on IIS servers into the cloud on Azure App Service. For more information check out https://appmigration.microsoft.com .
https://appmigration.microsoft.com
MIT License
75 stars 60 forks source link

Config error on Windows 2008 R2 SP1 #2

Closed frehnejc closed 5 years ago

frehnejc commented 5 years ago

Investigative information

Repro steps

  1. Installation successful
  2. Ran tool as an administrator
  3. Selected simple site
  4. Unable to proceed past 3 configuration errors XML excerpt below: { "CheckName": "ConfigError(/)", "Result": false, "Status": "Block", "Title": "Configuration Error", "Description": "Appears if the site contains invalid configuration.", "DisplayMessage": "Error parsing 'webSockets' section (hresult: 80070490), configuration path /", "LearnMoreLink": "" }, { "CheckName": "ConfigError(/)", "Result": false, "Status": "Block", "Title": "Configuration Error", "Description": "Appears if the site contains invalid configuration.", "DisplayMessage": "Unable to read ipSecurity collection (hresult: 80004003), configuration path /", "LearnMoreLink": "" }, { "CheckName": "ConfigError(Views/)", "Result": false, "Status": "Block", "Title": "Configuration Error", "Description": "Appears if the site contains invalid configuration.", "DisplayMessage": "Unable to read ipSecurity collection (hresult: 80004003), configuration path Views/", "LearnMoreLink": "" },

Expected behaviour

After step 4 no errors received using old Migration tool and successful.

Actual behavior

Unable to continue to migrate.

Known workarounds

Unable to configure Websockets as not supported in IIS7.0, as per: https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support

Enabled IPSecurity by following but still error persists: https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/ipsecurity/

wadeh-ms commented 5 years ago

Thanks for the report!

The current release of the new migration tool makes some different checks to assess migration readiness from what the old tool did. And we will be adding more checks over time (and remove some checks, as we are able to support more scenarios).

It is complicated a bit by the fact that some of the configuration parsing depends on schema that has changed a bit over time.

I will investigate these (and look for other cases) where I need to do special handling for specific IIS versions.

Thanks, -Wade

wadeh-ms commented 5 years ago

I wanted to circle back on this and mention that we have an updated version of the tool at https://appmigration.microsoft.com/.

I believe that this issue is addressed in this update. If you could please give it another try and let me know what happens, I would appreciate it.

Thanks, -Wade