How to read the xml file being used by another process in asp.net
<p>I'm working on asp.net application.
In my application I'm tryin to read one xml file which is used by some ohter c++ process.
But I'm getting the error like file is being used by another process.</p>

<p>I tried as follows.</p>

<pre><code>FileStream fs = new FileStream(Server.MapPath("./" + webPageXml),FileMode.Open,FileAccess.Read,FileShare.ReadWrite);

                    StreamReader sr = new StreamReader(Server.MapPath("./" + webPageXml));
</code></pre>

<p>Here streamreader is thowing the error at the time of intialization.
pls help me asap</p>
