Closed mrchops1024 closed 4 years ago
Hello @mrchops1024, Thank you for reporting this!
I think I know why this is happening, but to be sure it will really fix the issue you're hitting could you please do the following steps and let us know what the output looks like?
Thank you, Kristina
I received the following error message:
{
"HResult": "80070002",
"DisplayMessage": "Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.",
"TelemetryMessage": "An unhandled exception occurred. HResult=80070002",
"StackTrace": " at iisConfigAssistant.Program.DoGetSiteList(String[] args)\r\n at iisConfigAssistant.Program.Main(String[] args) in D:\\a\\1\\s\\src\\IisConfigurationHelper\\iisConfigAssistant\\Program.cs:line 44"
}
I've had a same one, came from #6
{
"HResult": "80070002",
"DisplayMessage": "Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.",
"TelemetryMessage": "An unhandled exception occurred. HResult=80070002",
"StackTrace": " at iisConfigAssistant.Program.DoGetSiteList(String[] args)\r\n at iisConfigAssistant.Program.Main(String[] args) in D:\\a\\1\\s\\src\\IisConfigurationHelper\\iisConfigAssistant\\Program.cs:line 44"
}
Thank you for getting back to us with those details.
We believe this is happening because the Migration Assistant has a dependency on version 4.7.2 of the .NET Framework and were able to reproduce the behavior for this reason (such as if only 4.6.1 is installed).
Can you please confirm which version(s) of the .NET Framework are installed on your machine (see https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed) and/or install 4.7.2 (possible source: https://support.microsoft.com/en-us/help/4054530/microsoft-net-framework-4-7-2-offline-installer-for-windows) and try running the tool again?
I have opened workitems on our side to better highlight the minimum system requirements on the tool download page and the next release will be display a more informative and actionable error message.
The server had 4.6.2 installed. I've installed 4.7.2 and verified the utility opens now.
Thanks for confirming the fix.
Hi, We have some situations in which we're migrating apps hosted on W2008R2 servers with 4.6.1. I think App Service supports this version of .Net framework. Would it be possible to recompile the assistant so that it is compatible with 4.6.1? Thanks a lot.
(Yes. We are currently working on this for the next release.)
Investigative information
Please provide the following:
Repro steps
Expected behavior
According to screenshots it's supposed to list my existing sites.
Actual behavior
Error:
TypeError: Cannot read property 'split' of undefined
Known workarounds
None.