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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogEdit Blog entry error: System.UnauthorizedAccessExceptionEdit Blog entry error: System.UnauthorizedAccessException
Previous
 
Next
New Post
3/24/2008 1:18 PM
 

I had the "server tag" error a while ago, fixed it. It allows me to add new blog entries now. However, if I try to edit an entry, I get this error:

DotNetNuke.Services.Exceptions.ModuleLoadException: Access to the path '{blah}\Portals\0\Blog\Files\2\91' is denied. ---> System.UnauthorizedAccessException: Access to the path '{blah}\Portals\0\Blog\Files\2\91' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.Modules.Blog.File.FileController.getEntryDir(String pModulPath, EntryInfo pEntry) at DotNetNuke.Modules.Blog.File.FileController.getFileList(String pModulPath, EntryInfo pEntry) at DotNetNuke.Modules.Blog.EditEntry.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

What do I need to do here?

Also, for some reason I can no longer upload photos using the Blog's photo thingy. If I FTP a photo to the right location, I can use that image in my blog, but uploaded gives me a 'general error' and doesn't work :(

Any help?

-shnar

 
New Post
3/24/2008 4:39 PM
 

Hi Bryce,

What version of the Blog module and DNN are you using?  I'm not really certain about some of the older versions of the blog module.  They may have required that the account ASP.NET uses (ASPNET or NetworkService or possibly some custom account if you have your site hosted) have write access to your portal directory (0).  In the latest version of the blog module, you'll need to configure access for file uploads using the FileManager.  Your best bet is to create a role for all your bloggers who should have upload permission and assign this role the appropriate level of access (Edit) to the folders in the root path of your portal where these users should be able to upload files.  

Also, if working with images is important to you or your users, you may want to download metaPost and give it a spin.  Working with images is one of the main reasons we created metaPost.  There's a link in my signature below.  If your ASPNET account (or NetworkService or, again, possible some custom account if you're hosted) doesn't have write permissions, you'll run into the same problem with metaPost when adding blog posts.

HTH,

Don



Don Worthley
Software Architect
Element Eleven

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogEdit Blog entry error: System.UnauthorizedAccessExceptionEdit Blog entry error: System.UnauthorizedAccessException


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