<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: The database cannot be located; the capacity and/or the database do not exist or are in the wrong in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417452#M2540</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="934554" data-lia-user-login="LSPrab" class="lia-mention lia-mention-user"&gt;LSPrab&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check if you can connect to dw using ssms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if yes&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC [XMLA_Endpoint_URL].ProcessDatabase Full&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 09:30:37 GMT</pubDate>
    <dc:creator>nilendraFabric</dc:creator>
    <dc:date>2025-02-19T09:30:37Z</dc:date>
    <item>
      <title>The database cannot be located; the capacity and/or the database do not exist or are in the wrong</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417290#M2537</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cannot be located; the capacity and/or the database do not exist or are in the wrong state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently i moved the workspace to difference fabric capacity since then i am getting this error in my data warehouse, when i try to run a query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prab&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 08:21:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417290#M2537</guid>
      <dc:creator>LSPrab</dc:creator>
      <dc:date>2025-02-19T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: The database cannot be located; the capacity and/or the database do not exist or are in the wrong</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417452#M2540</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="934554" data-lia-user-login="LSPrab" class="lia-mention lia-mention-user"&gt;LSPrab&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check if you can connect to dw using ssms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if yes&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC [XMLA_Endpoint_URL].ProcessDatabase Full&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 09:30:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417452#M2540</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-02-19T09:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: The database cannot be located; the capacity and/or the database do not exist or are in the wrong</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417706#M2542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="934554" data-lia-user-login="LSPrab" class="lia-mention lia-mention-user"&gt;LSPrab&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After moving the workspace to a different Fabric capacity, the data warehouse may not be correctly linked to the new capacity, or the database is in an inactive/migrating state.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Check if the database is assigned to the new capacity, go to Fabric Admin Portal --&amp;gt; Capacities --&amp;gt; Select the new capacity. Check if the workspace and data warehouse are listed under this capacity. If missing, move the workspace back to the old capacity and retry moving it again.&lt;/LI&gt;
&lt;LI&gt;After moving the workspace, permissions may not have transferred correctly. Verify if you have Admin or Contributor access.&lt;/LI&gt;
&lt;LI&gt;If the issue persists, move the workspace back to the old capacity, wait for full migration, and then reassign it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Let me know if this helps to resolve the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 11:53:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417706#M2542</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-02-19T11:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: The database cannot be located; the capacity and/or the database do not exist or are in the wrong</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417759#M2543</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="913195" data-lia-user-login="nilendraFabric" class="lia-mention lia-mention-user"&gt;nilendraFabric&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error while i am trying to do DDL / DML (Create / Drop / Update), but there is no error when i do the select statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prab&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 12:33:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4417759#M2543</guid>
      <dc:creator>LSPrab</dc:creator>
      <dc:date>2025-02-19T12:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: The database cannot be located; the capacity and/or the database do not exist or are in the wrong</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4419538#M2555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="934554" data-lia-user-login="LSPrab" class="lia-mention lia-mention-user"&gt;LSPrab&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you can run SELECT queries but not DDL/DML commands, the issue is likely related to workspace permissions or data warehouse state.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;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.&lt;/LI&gt;
&lt;LI&gt;Ensure you have the required permissions Admin or Contributor, if you have Viewer or Read-Only access, DDL/DML operations won’t work.&lt;/LI&gt;
&lt;LI&gt;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.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 11:00:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4419538#M2555</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-02-20T11:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: The database cannot be located; the capacity and/or the database do not exist or are in the wrong</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4419633#M2558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support.&amp;nbsp; The problem is resolved, it is due to permission issues i faced the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prab&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 11:54:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/The-database-cannot-be-located-the-capacity-and-or-the-database/m-p/4419633#M2558</guid>
      <dc:creator>LSPrab</dc:creator>
      <dc:date>2025-02-20T11:54:07Z</dc:date>
    </item>
  </channel>
</rss>

