Closed Sachikp closed 1 year ago
Unfortunately this is failing on a basic call by Microsoft.Web.Administration ("MWA") to get the configurations on the server, effectively below call to GetSection. The MWA dll is shipped with IIS and is used by both the Migration Assistant GUI and the PowerShell scripts to interact with IIS.
$iisInstallPath = [System.Environment]::ExpandEnvironmentVariables("%windir%\system32\inetsrv\Microsoft.Web.Administration.dll");
[System.Reflection.Assembly]::LoadFrom($iisInstallPath) | Out-Null;
$sm = New-Object Microsoft.Web.Administration.ServerManager;
$Config = $sm.GetApplicationHostConfiguration();
$configPathsSection = $Config.GetSection("configPaths")
My understanding is that this type of error could be caused by access issues and/or things like path-too-long (where file paths start to exceed 260 characters) - would either of these scenarios be a possible explanation on this server?
Closing due to lack of activity for over 90 days
We are not able to assess webapps in IIS version 8.5. Tool is giving "system cannot find path specified HRESULT: 0x80070003" error.
Investigative information
Please provide the following:
Repro steps
Provide the steps required to reproduce the problem:
Example:
Expected behavior
Example:
Actual behavior
tool is not able to fetch webapps hosted in IIS server with error "system cannot find path specified HRESULT: 0x80070003".
Example:
due to that error we are not able to assess webapps hosted in IIS.
Known workarounds
Example: we tried to run PowerShell command (IISdiscovery) given in this link https://github.com/Azure/App-Service-Migration-Assistant/wiki/PowerShell-Scripts
![error](https://user-images.githubusercontent.com/102591640/162435107-647c53b3-7ff6-4880-9565-d561136f95cc.png)