I am unable to delete directories from the file manager. I receive a the directory is not empty error in event viewer.
Using DNN 7.3.4
AssemblyVersion:7.3.4
PortalID:0
PortalName:New Company Intranet
UserID:6
UserName:smw
ActiveTabID:72
ActiveTabName:File Management
RawURL:/DesktopModules/DigitalAssets/API/ContentService/DeleteItems
AbsoluteURL:/DesktopModules/DigitalAssets/API/ContentService/DeleteItems
AbsoluteURLReferrer:/Admin/File-Management?folderId=1223&view=gridview&pageSize=10
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:948f4059-e63e-414a-ae2a-6110bb14c0e5
InnerException:The directory is not empty.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.IO.__Error.WinIOError
StackTrace:
Message:
System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at DotNetNuke.Services.FileSystem.FolderManager.DeleteFolderInternal(IFolderInfo folder, Boolean isCascadeDeleting)
at DotNetNuke.Services.FileSystem.FolderManager.DeleteFolderRecursive(IFolderInfo folder, ICollection`1 notDeletedSubfolders, Boolean isRecursiveDeletionFolder, Boolean unmap)
at DotNetNuke.Services.FileSystem.FolderManager.DeleteFolder(IFolderInfo folder, ICollection`1 notDeletedSubfolders)
at DotNetNuke.Modules.DigitalAssets.Components.Controllers.DigitalAssetsController.DeleteFolder(IFolderInfo folder, ICollection`1 notDeletedItems)
at DotNetNuke.Modules.DigitalAssets.Components.Controllers.DigitalAssetsController.DeleteItems(IEnumerable`1 items)
at DotNetNuke.Modules.DigitalAssets.Services.ContentServiceController.DeleteItems(DeleteItemsRequest request)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)