IOException thrown by the Project Manager when removing a pr

Posted by Community Admin on 04-Aug-2018 11:36

IOException thrown by the Project Manager when removing a project and its files

All Replies

Posted by Community Admin on 25-Apr-2011 00:00

I had just created a project and when I removed it from the Project Manager I got the following exceptions:

---------------------------
Unhandled exception
---------------------------
=>IOException
The directory is not empty.
---------------------------
OK   
---------------------------


I looked at the directory, and it was actually empty...
Here's the log:

=====[ 2011/04/25 12:35:55 ]=====
=>IOException
The directory is not empty.


Stack trace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
   at Sitefinity.ProjectManager.UI.MainForm.RemoveProjects(IProject[] projects)
   at Sitefinity.ProjectManager.UI.MainForm.RemoveProjects()
   at Sitefinity.ProjectManager.UI.MainForm.commadsToolstrip_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Posted by Community Admin on 28-Apr-2011 00:00

Hello Michiel,

Is it possible that when you have tried to remove the project while it was still running in the integrated server? If this is the case the integrated server should put a lock on some of the project files to prevent them from being deleted while it is still running.

All the best,
Radoslav Georgiev
the Telerik team


This thread is closed