Starting Neo4j failed: Component was successfully initialized, but failed to start
<p>I was taking a tutorial of Neo4J on Pluralsight and I have to use drwho(doctor who) sample database. I am using Neo4j community edition version 3.0.1. But the sample database(drwho) was made by the old version and I had to set the <strong>dbms.allow_format_migration</strong> property to <strong>&quot;true&quot;</strong>. After doing that, When I tried to start the server it poped up this error</p>
<pre><code>Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@673b0b17' was successfully initialized, but failed to start. Please see attached cause exception.
</code></pre>
<p>When I take a look at the neo4j log which is found at C:\Users\UserName\AppData\Roaming\Neo4j Community Edition\logs\neo4j.log</p>
<p>This is what I found</p>
<pre><code>Error saving DB location
java.nio.file.AccessDeniedException: .dblocation
2016-06-04 09:19:03.259+0000 INFO  [o.n.s.d.LifecycleManagingDatabase] Starting...
2016-06-04 09:19:04.292+0000 INFO  [o.n.b.v.r.Sessions] Bolt enabled on localhost:7687.
2016-06-04 09:19:04.493+0000 INFO  [o.n.k.i.s.p.StoreMigrator] Starting upgrade of database
</code></pre>
<p>What can I do to solve this error?</p>