Share via

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 226 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.


1 answer

Sort by: Most helpful
  1. SSingh-MSFT 16,461 Reputation points Moderator
    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.