File permission while saving a html to server
<p>I have  a problem , I want to save a html file in directory using asp.net .
But when i try to do so , 
I got a security exception as follow . </p>

<pre><code>7/10/2012 12:03:54 AM,http://www.teddytank.com/admin/AddNewsLetter.aspx?  
      nid=3,System.IO.IOException: The process cannot access the     
file   'D:\hosting\7837152\html\ne\newsletter06_07_2012_T_37.html' because it is being 
used by    another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.Delete()
at Admin_AddNewsLetter.Submit_Click(Object sender, EventArgs e)
7/10/2012 12:04:45 AM,http://www.teddytank.com/admin/AddNewsLetter.aspx?      
nid=3,System.IO.IOException: The process cannot access the file '
 D:\hosting\7837152\html\ne\newsletter06_07_2012_T_37.html' because it is being used by
another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.Delete()
at Admin_AddNewsLetter.Submit_Click(Object sender, EventArgs e) 
</code></pre>

<p>Please help. thanx in advance.</p>
