<?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: Unable to open .geodatabase file in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673537#M8456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Runtime cannot open File Geodatabases so the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;test.geodatabase file is created from an MXD that contains any data that you want to work with, so you add your data from a file Geodatabsae to the Map, save it as an MXD then in Share the MXD as Runtime Content which outputs the data to a .Geodatabase file which is a self contained version of your data. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;At least tat is my understanding of it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2016 12:16:51 GMT</pubDate>
    <dc:creator>AnthonyKeogh</dc:creator>
    <dc:date>2016-04-19T12:16:51Z</dc:date>
    <item>
      <title>Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673535#M8454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a .NET Runtime app on Windows 10 in VS 2015.&lt;/P&gt;&lt;P&gt;I have used the Share as ArcGIS runtime content option in ArcMap to create a geodatabase file and I have add it to me code using the Geodatabase.OpenAsync call but I keep getting the error "Unable to open the database file" with no more information:&lt;BR /&gt;Geodatabase geoDatabase = await Geodatabase.OpenAsync("C:/Temp/ArcGIS/_1/data/test.geodatabase");&lt;/P&gt;&lt;P&gt;The code is currently pointing straight at where the geodatabase file was created to make sure its not a file path issue but this still doesn't work and I've no idea what else to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 10:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673535#M8454</guid>
      <dc:creator>AnthonyKeogh</dc:creator>
      <dc:date>2016-04-19T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673536#M8455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I'm not into .NET and all that...&lt;/P&gt;&lt;P&gt;But what sort of geodatabase are you creating?&lt;/P&gt;&lt;P&gt;A file geodatabase is normally called "SomeName.gdb".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 12:11:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673536#M8455</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-04-19T12:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673537#M8456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Runtime cannot open File Geodatabases so the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;test.geodatabase file is created from an MXD that contains any data that you want to work with, so you add your data from a file Geodatabsae to the Map, save it as an MXD then in Share the MXD as Runtime Content which outputs the data to a .Geodatabase file which is a self contained version of your data. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;At least tat is my understanding of it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 12:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673537#M8456</guid>
      <dc:creator>AnthonyKeogh</dc:creator>
      <dc:date>2016-04-19T12:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673538#M8457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, right then... Thanks for your explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 13:37:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673538#M8457</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-04-19T13:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673539#M8458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First thing I would try is to see if you can open the database with something other than code. Since the .geodatabase is just a SQLite database, I would suggest using &lt;A href="http://sqlitebrowser.org/" title="http://sqlitebrowser.org/"&gt;DB Browser for SQLite&lt;/A&gt;. That should let you determine whether or not your database is &lt;/P&gt;&lt;P&gt;corrupted, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then make sure both the database and the folder it's are readable by everyone on windows. If you want to rule out permissions all together, then grant all privileges to all uses on the file and folder. Or you can try running your code as administrator. I had a similar problem after installing a .geodatabase into the C:/Program Files/ folder that was only accessible by the administrator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673539#M8458</guid>
      <dc:creator>KeithGemeinhart1</dc:creator>
      <dc:date>2016-04-19T16:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673540#M8459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;.NET Runtime app on Windows 10 in VS 2015.&lt;/SPAN&gt;" what type of app do you mean: WPF, 8.1 Store or UWP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional files are created on disk when open the geodatabase (xxx.shm and xxx.wal). Perhaps the app does not have write access to that location?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 19:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673540#M8459</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2016-04-25T19:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open .geodatabase file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673541#M8460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to close this off, I never actually found out why this issue occurred, in the end I assumed that something went wrong while setting up my dev VM so I got rid of the first VM and created a new one and everything worked correctly this time with all of the exact same code as before.&lt;/P&gt;&lt;P&gt;So there was definitely something messed up with the VM but I can't say what.&lt;/P&gt;&lt;P&gt;Thanks for the help and your suggestions &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 07:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-open-geodatabase-file/m-p/673541#M8460</guid>
      <dc:creator>AnthonyKeogh</dc:creator>
      <dc:date>2016-05-24T07:49:39Z</dc:date>
    </item>
  </channel>
</rss>

