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

IIS was not detected on this computer #29

Closed sdabireau closed 4 years ago

sdabireau commented 4 years ago

Hello,

After starting the "Azure App Service Migration Assistant 1.0.2 (also true with 1.0.1) tool to analyse my IIS configuration the following error appears : Error getting site list from iis configuration tool ouput: IIS was not detected on this computer

error

Same behavior with the commandline: iisconfigassistant.exe GetSiteList IIS version 10.0.14393.0 4 sites, 20 AppPools and 300App I am adminitrator of this server.

Investigative information

Please provide the following:

Repro steps

1-Start Tool

Expected behavior

After starting the tool, next step will be select the site for scan

Actual behavior

After starting the tool : Error getting site list from iis configuration tool ouput: IIS was not detected on this computer

Known workarounds

None

wadeh-ms commented 4 years ago

Hello,

We detect IIS by looking at the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\InetStp

In particular, we look at the following two DWORD32 values. If either of them is missing or inaccessible to the Migration Assistant, then it will report that IIS was not detected:

MajorVersion MinorVersion

-Wade

sdabireau commented 4 years ago

Hello Wade, Thanks you for your reply.

it's the two registry keys: MajorVersion: 9 MinorVersion: 0

I confirm that I have access to these two keys through my admin user. Other facts may be without significance, we have IIS10 but majorversion is 9.

wadeh-ms commented 4 years ago

Ok. I can reproduce the error with MajorVersion set to 9.

Please go ahead and change it to 10. Do you have any idea how that value was set to 9? This had to be done either manually, or by some code that is not IIS.

-Wade

From: sdab notifications@github.com Sent: Monday, April 6, 2020 6:58 AM To: Azure/App-Service-Migration-Assistant App-Service-Migration-Assistant@noreply.github.com Cc: Wade Hilmo wadeh@microsoft.com; Comment comment@noreply.github.com Subject: Re: [Azure/App-Service-Migration-Assistant] IIS was not detected on this computer (#29)

Hello Wade, Thanks you for your reply.

it's the two registry keys: MajorVersion: 9 MinorVersion: 0

I confirm that I have access to these two keys through my admin user. Other facts may be without significance, we have IIS10 but majorversion is 9.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FApp-Service-Migration-Assistant%2Fissues%2F29%23issuecomment-609811510&data=02%7C01%7Cwadeh%40microsoft.com%7C8ae6f385b1814d7a539708d7da327f43%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637217782725126879&sdata=VxsLHT6i%2FmV2ddvekpu1O0g61NjIu%2BEj%2BujzalwoYyE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJOMS7K47O2FSVIXIUTTROTRLHNV7ANCNFSM4LX4ZGOA&data=02%7C01%7Cwadeh%40microsoft.com%7C8ae6f385b1814d7a539708d7da327f43%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637217782725136872&sdata=fIqYa5XlOgx7WwOSBK7N1iMIp4cRl4YIbEZxwtzNUMk%3D&reserved=0.

sdabireau commented 4 years ago

Thanks you for your help, the tool scanning (when majoversion set to 10) !