Questo è l'errore che mi viene restituito, qualcuno sa come risolverlo?
Server Error in '/' Application.
The process cannot access the file 'D:\Inetpub\webs\boxofmemorycom\public\tab\49\add\30\Mamma Liliana Caprini B profilo0001.jpg' because it is being used by another process.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: The process cannot access the file 'D:\Inetpub\webs\boxofmemorycom\public\tab\49\add\30\Mamma Liliana Caprini B profilo0001.jpg' because it is being used by another process.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IOException: The process cannot access the file 'D:\Inetpub\webs\boxofmemorycom\public\tab\49\add\30\Mamma Liliana Caprini B profilo0001.jpg' because it is being used by another process.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7717104
System.IO.File.Delete(String path) +7577272
Memory.user.scheda_allegati.eliminaLinkButton_Click(Object sender, EventArgs e) in C:\Documents and Settings\maria.ABACO\Documenti\Visual Studio 2008\Projects\Memory\Memory\user\scheda_allegati.aspx.cs:225
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Modificato da desy_dm il 14 febbraio 2011 12.07 -