How to fix the error 'running command dataExplorer.restore: s.getOptionsKey is not a function' that popus up while trying to restore a database using Azure Data Studio

Ijaz M 206 Reputation points
2023-10-25T07:11:25.8633333+00:00

This is the error that is displayed as soon as I try to restore a database on Data Studio. TIA!

User's image

Azure Database Migration service
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
100 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 13,991 Reputation points Microsoft Employee
    2023-10-25T08:53:16.63+00:00

    Hi
    Ijaz M
    •,

    Welcome to Microsoft Q&A forum.

    As I understand, you are getting error 'running command dataExplorer.restore: s.getOptionsKey is not a function' when restoring database using Azure Data Studio.

    Could you please let us know if you are following the same steps mentioned here in the documentation https://learn.microsoft.com/lb-lu/azure-data-studio/tutorial-backup-restore-sql-server?view=sql-server-2017 ?

    Also update ADS to latest version and retry.

    Let us know if this helped.

    Thanks.

    0 comments No comments