title: Getting error to open the file through service account in asp.net
body: <p>I am using ASP.NET treeview controls and mentioning direct file server path inside the NavigateURL.</p>
  <p>We have a new service account and has mapped with the file server folder and it's ready for accessible (it's working fine).</p>
  <p>When accessing through application, I'm getting this error:</p>
  <blockquote>
  <p>Cannot find &quot;\USA\NYK\EMPDB\EMPDETAILS\EMP00101.drng&quot; Make sure the path or Internet address is correct</p>
  </blockquote>
  <p>The same folder will work when accessing through physical login of service account.</p>
  <p>We did all the settings and configuration followed by many research. but, not able to get the solution..?</p>
  <p>Please advice.</p>
  <pre><code>&lt;asp:TreeView ID=&quot;TreeView1&quot; runat=&quot;server&quot; 
       ExpandDepth=&quot;1&quot; Font-Names=&quot;Trebuchet MS&quot; Font-Size=&quot;15px&quot; 
       ForeColor=&quot;#E98300&quot; Font-Bold=&quot;true&quot;&gt;
      &lt;Nodes&gt;
          &lt;asp:TreeNode Text=&quot;EmpStatus&quot; Value=&quot;EmpStatus&quot;&gt;
              &lt;asp:TreeNode Text=&quot;USEMP&quot; Value=&quot;USEMP&quot;&gt;
                  &lt;asp:TreeNode Text=&quot;EMPUS&quot; Value=&quot;EMPUS&quot; NavigateUrl=&quot;\\USA\NYK\EMPDB\EMPDETAILS\EMP00101.drng&quot; Target=&quot;_blank&quot;&gt;&lt;/asp:TreeNode&gt;
              &lt;/asp:TreeNode&gt;
          &lt;/asp:TreeNode&gt;
      &lt;/Nodes&gt;
  &lt;/asp:TreeView&gt;
  </code></pre>
  <p>Web.config:</p>
  <pre><code>&lt;identity impersonate=&quot;true&quot; 
            userName=&quot;DUENET\DATAPM1010&quot; password =&quot;**&quot;&gt;&lt;/identity&gt;
  </code></pre>
  <p>Full server path : \USA\NYK\EMPDB\EMPDETAILS\EMP00101.drng.</p>
  <p>Application located in one server, and accessing file is located on another file server.</p>