<?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: Again: Fail to attach mdf file to sql server, in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501534#M28437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, this error generally indicates some sort of corruption, probably of the database file header. You can try attaching with the sp_attach_single_db or CREATE DATABASE ... FOR ATTACH commands and see if any additional information is provided. Otherwise, restore the database from a backup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Shannon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 21:22:00 GMT</pubDate>
    <dc:creator>ShannonShields</dc:creator>
    <dc:date>2013-04-30T21:22:00Z</dc:date>
    <item>
      <title>Again: Fail to attach mdf file to sql server,</title>
      <link>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501533#M28436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again: Fail to attach mdf file to sql server,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my previous thread, the failure to attach mdf file to the sql server database was due to permission issue,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/79782-Fail-to-attach-mdf-file-in-the-sql-server?p=281670#post281670"&gt;http://forums.arcgis.com/threads/79782-Fail-to-attach-mdf-file-in-the-sql-server?p=281670#post281670&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the new failure is due to that the mdf file is not a primary database file (screenshot below):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23881[/ATTACH], [ATTACH=CONFIG]23882[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what might be the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 18:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501533#M28436</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-04-30T18:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Again: Fail to attach mdf file to sql server,</title>
      <link>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501534#M28437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, this error generally indicates some sort of corruption, probably of the database file header. You can try attaching with the sp_attach_single_db or CREATE DATABASE ... FOR ATTACH commands and see if any additional information is provided. Otherwise, restore the database from a backup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Shannon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 21:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501534#M28437</guid>
      <dc:creator>ShannonShields</dc:creator>
      <dc:date>2013-04-30T21:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Again: Fail to attach mdf file to sql server,</title>
      <link>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501535#M28438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Unfortunately, this error generally indicates some sort of corruption, probably of the database file header. You can try attaching with the sp_attach_single_db or CREATE DATABASE ... FOR ATTACH commands and see if any additional information is provided. Otherwise, restore the database from a backup.&lt;BR /&gt;&lt;BR /&gt;-Shannon&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Shannon for the help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but I couldn�??t figure out how to �??attach with the sp_attach_single_db or CREATE DATABASE�?�.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23894[/ATTACH], [ATTACH=CONFIG]23895[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May you please elaborate a bit more?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I�??m trying to attach my mdf file from the backup itself which is an external hard drive of 2TB. We use the �??AllWay sync�?� software (&lt;/SPAN&gt;&lt;A href="http://allwaysync.com/"&gt;http://allwaysync.com/&lt;/A&gt;&lt;SPAN&gt;) to back up our data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23896[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this mean that our backup is corrupted? And then all our mdf files are corrupted in our backup? How come they work on the original source?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My idea is that the mdf files are difficult to be managed! They are not as flexible as the gdb or mdb, for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 05:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/again-fail-to-attach-mdf-file-to-sql-server/m-p/501535#M28438</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-01T05:13:56Z</dc:date>
    </item>
  </channel>
</rss>

