Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to delete directories in digital asset managerUnable to delete directories in digital asset manager
Previous
 
Next
New Post
5/4/2015 3:16 PM
 

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)
 
New Post
5/4/2015 6:28 PM
 
check that you have modify permissions on the root folder on down (and that no files are read-only)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to delete directories in digital asset managerUnable to delete directories in digital asset manager


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out