access resources inside the App_Data in asp.net
<p>I have an asp.net application which have the following structure:</p>

<pre><code>App_code
App_Data
   data.mdb
js
css
manager
  App_Data
  App_Code
  web.config
.....
</code></pre>

<p>Now I want to access the <code>data.mdb</code> in <code>manager/web.config</code>.</p>

<p>How to access it?</p>

<hr>

<p>I tried this:</p>

<pre><code>&lt;add key="connstr" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|datadirectory|\data.mdb" /&gt;
</code></pre>

<p>Then I got the error:</p>

<pre><code>'manager/data.mdb' does not exist.
</code></pre>

<p>Then I tried this:<code>Data Source=|datadirectory|\..\App_Data\data.mdb</code>.</p>

<p>I got error: <code>connstr not valid.</code></p>
