Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 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: 1358 times Back

Copyright © 2004-2007 Janet Systems Ltd.

 Print   

For DotNetNuke modules and skins take a look at:

Snowcovered

DotNetNuke Website design and hosting from £15.00 per month. More...

Looking for a website design company in the Thames Valley, call us on 01628 566178

DotNetNuke Modules
DotNetNuke Modules availalble from Janet Systems

DotNetNuke Skins
DotNetNukeSkins.gif

from Janet Systems

Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Saturday, May 17, 2008