Forum Discussion

LSPrab's avatar
LSPrab
Regular Visitor
1 year ago
Solved

The database cannot be located; the capacity and/or the database do not exist or are in the wrong

HI   I need some help   I am getting this error    cannot be located; the capacity and/or the database do not exist or are in the wrong state.   Recently i moved the workspace to difference f...
  • v-achippa's avatar
    v-achippa
    1 year ago

    Hi LSPrab,

     

    Since you can run SELECT queries but not DDL/DML commands, the issue is likely related to workspace permissions or data warehouse state.

    • In the Microsoft Fabric Admin Portal verify that the data warehouse is active and not in a read-only or migrating state. If it is still migrating, wait for the process to complete.
    • Ensure you have the required permissions Admin or Contributor, if you have Viewer or Read-Only access, DDL/DML operations won’t work.
    • In addition to this try restarting the data warehouse service, if still not working, try moving the workspace back to the old capacity, wait for complete synchronization, and then reassign it to the new capacity.

    Let me know if any of these steps help resolve the issue or if you are seeing any specific error messages during DDL/DML execution.

     

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

     

    Thanks and regards,

    Anjan Kumar Chippa