![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am developping an app with ASP .NET, and C# and I have a problem : My app creates a temporary file, and when I need to erase this file, I get an error message about this file beeing used by another process, so i am unable to erase it. Is there a solution for me to free this file from IIS and then erase it properly ? Thank you for your help. -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net |
#3
| |||
| |||
|
|
Stop the aspnet_wp.exe process and then try it. Also, make sure that in your app, you are closing the file properly, so it does not become locked. "ByB" <email (AT) email (DOT) com> wrote in message news:mn.22927d52a59994d4.26808 (AT) email (DOT) com... Hello, I am developping an app with ASP .NET, and C# and I have a problem : My app creates a temporary file, and when I need to erase this file, I get an error message about this file beeing used by another process, so i am unable to erase it. Is there a solution for me to free this file from IIS and then erase it properly ? Thank you for your help. -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net |
#4
| |||
| |||
|
|
Thank you, but my concern is about deleting this file from my app, when I do not need it anymore, so I cannot stop aspnet_wp.exe process each time I have to delete a file (BTW, this file is just a JPG temporary file created by my app, not a system or DLL file created by ASP or IIS) Scott M. a utilisé son clavier pour écrire : Stop the aspnet_wp.exe process and then try it. Also, make sure that in your app, you are closing the file properly, so it does not become locked. "ByB" <email (AT) email (DOT) com> wrote in message news:mn.22927d52a59994d4.26808 (AT) email (DOT) com... Hello, I am developping an app with ASP .NET, and C# and I have a problem : My app creates a temporary file, and when I need to erase this file, I get an error message about this file beeing used by another process, so i am unable to erase it. Is there a solution for me to free this file from IIS and then erase it properly ? Thank you for your help. -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net |
#5
| |||
| |||
|
|
Thank you, but my concern is about deleting this file from my app, when I do not need it anymore, so I cannot stop aspnet_wp.exe process each time I have to delete a file (BTW, this file is just a JPG temporary file created by my app, not a system or DLL file created by ASP or IIS) Scott M. a utilisé son clavier pour écrire : Stop the aspnet_wp.exe process and then try it. Also, make sure that in your app, you are closing the file properly, so it does not become locked. "ByB" <email (AT) email (DOT) com> wrote in message news:mn.22927d52a59994d4.26808 (AT) email (DOT) com... Hello, I am developping an app with ASP .NET, and C# and I have a problem : My app creates a temporary file, and when I need to erase this file, I get an error message about this file beeing used by another process, so i am unable to erase it. Is there a solution for me to free this file from IIS and then erase it properly ? Thank you for your help. -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |