Failed to create an editor. the parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Script-Migration -From "PreviousMigration"
the Update Visual Studio Community 2022 From Version 17.8.6 to 17.9.0 is causing Error.
Script-Migration : Error HRESULT E_FAIL has been returned from a call to a COM component.
At line:1 char:1
**SOLUTION:
I've tried to remove all temporary files form system folder for user and framework, but it didn't work for me, then I've downgraded to previous Visual Studio Community 2022 Version 17.8.6, and it works.
I've tried to remove all temporary files form system folder for user and framework, but it didn't work for me, then I've downgraded to previous Visual Studio Community 2022 Version 17.8.6, and it works.
This bug will be fixed in 17.9.1, per the Visual Studio community site:
https://developercommunity.visualstudio.com/t/sql-Files-cannot-be-opened/10584835
I'll update this answer once I verify it is squashed.
Edit: 17.9.1 has been released and script-migration now works for me.