How to Delete *.aspx files from IIS server using asp.net and C#
<p>Hi please help me as i am trying to delete some unnecessary aspx and aspx.cs files from IIS server with code below</p>

<pre><code>File.Delete(Server.MapPath("~/Index.aspx"));
</code></pre>

<p>but it is not working.</p>

<p>It showing Access denied exception.</p>

<p>please help me.</p>
