Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ...DNN 8/9: Error delete portalDNN 8/9: Error delete portal
Previous
 
Next
New Post
2/19/2018 2:17 PM
 

Can't delete portals, error:

2018-02-19 14:55:33,399 [servername][Thread:227][ERROR] Dnn.PersonaBar.Sites.Services.SitesController - System.UnauthorizedAccessException: Access to 'D...wwwroot' denied. ---> System.ComponentModel.Win32Exception: Access is denied— End of inner exception stack trace —

at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode)

at SchwabenCode.QuickIO.Internal.InternalQuickIO.GetFindDataFromPath(QuickIOPathInfo pathInfo)

at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFilesRecursive(String strRoot, String filter)

at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath)

at Dnn.PersonaBar.Sites.Services.SitesController.DeletePortal(Int32 portalId)

 


Checked al the permissions and this can't be the problem... please help?

 

 


Willem Bonekamp - Webdeveloper/Projectmanager - I have been building Web Solutions using DNN from the beginning in 2002

DNN Services: Websites | Design | Skinning | Custom Modules | Hosting | SEO | Mobilty | DNN Nederland
 
New Post
9/19/2018 11:47 AM
 
Willem, dit you find a solution? I am having the same problem

Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
9/19/2018 12:57 PM
 
Thanks Willem

Needed to give the containing folder extra rights (Everyone - full control). This allowed for deletion of the portals.

If you do this make sure to set the rights back afterwards. Not sure why, never seen this issue. Maybe something deep in .net in combination with iis automatic users?

Upgrade from 804 to 921 did not help solving the portal deletion issue

Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
9/24/2018 12:57 PM
 
it should use the application user, otherwise please log an error in GitHub

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 8/9: Error delete portalDNN 8/9: Error delete portal


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out