spacer
Janet Systems DotNetNuke Websites, Hosting, Custom Servers

Get Adobe Flash player Install latest flash player if you can't see this gallery.


Spotlight

Get Adobe Flash player Install latest flash player if you can't see this gallery.

  

For DotNetNuke modules and skins take a look at:

Snowcovered

DotNetNuke Articles

Reecently whilst doing some administration work on one of my sets of portals I wanted to delete an old web site, which had been moved to a different portal set. Unfortunately, whilst issuing the delete command for the portal I received the following error.

 

Error: Edit Portals is currently unavailable.
DotNetNuke.ModuleLoadException: Invalid File or Directory attributes value. ---> System.ArgumentException: Invalid File or Directory attributes value. at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Globals.DeleteFolderRecursive(String strRoot) at DotNetNuke.Globals.DeleteFolderRecursive(String strRoot) at DotNetNuke.SiteSettings.Delete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---


 

I have found that this error is the result of directories within the portal structure which DNN is not expecting.  In my particular example this was a version 1 DotNetNuke portal, which had been converted into a version 2.1.2. My solution to the problem was to delete all sub-directories within the portal.  When the delete command is then issued the portal is deleted correctly.

NAT September 2005 (Revised)

  This article viewed: 1675 times Back

Copyright © 2004-2008 Janet Systems Ltd.

Print