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
74 stars 60 forks source link

Session 20e69f70-9015-4aaf-bd26-8277a02e59eb. CONNECTION STRING CHECKS #53

Closed fdeenik closed 3 years ago

fdeenik commented 3 years ago

I have run the Azure App Service Migration Assistant om a IIS website. During the assesment the following error occured: Session 20e69f70-9015-4aaf-bd26-8277a02e59eb. CONNECTION STRING CHECKS: Error converting value 22-9-2020 16:51:10 to type 'iisConfigHelper.AnonymousString'. Path 'appSettings[18].value', line 2889, position 48. This seems to be related to the following line in the web.config: <add key="zs-component-servicesRestart" value="2020-09-22T16:51:10" /> Which is part of the <configuration><appSettings> section. If this line is commented out the assistant runs without ant issues.

Investigative information

Repro steps

  1. Start the Azure App Service Migration Assistant
  2. Select the IIS Site
  3. Click: Next
  4. After the assessment the error is shown

Expected behavior

The assessment wizard is expected to complete without errors.

Actual behavior

The assessment wizard shows the following error: We're sorry, there has been an error. To get help, please use the Help > Report Issues menu option and include the following information: Session 88ed3255-8a9b-4e44-9a98-48d1eca0ed7a. CONNECTION STRING CHECKS: Error converting value 22-9-2020 16:51:10 to type 'iisConfigHelper.AnonymousString'. Path 'appSettings[18].value', line 2889, position 48.

Known workarounds

Remove the following line from the web.config: <add key="zs-component-servicesRestart" value="2020-09-22T16:51:10" />

krolson commented 3 years ago

Hi @fdeenik - thank you so much for reporting this issue! This is a bug in the 1.0.6 version of the Migration Assistant. I am glad you were able to find a way to work around it, and will note for others or if you have additional migrations pending that I believe this particular scenario is already unblocked in the Preview (1.0.8 version) of the Migration Assistant, available at https://azure.microsoft.com/en-us/services/app-service/migration-assistant/.

fdeenik commented 3 years ago

Hi @krolson, I can confirm that version 1.0.8 works as expected without the workaround.