Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Blog Module [Le...  Edit Blog entry error: System.UnauthorizedAccessException
Previous Previous
 
Next Next
New Post 3/24/2008 11:18 AM
Unresolved
User is offline Bryce Nielsen
97 posts
10th Ranked


Edit Blog entry error: System.UnauthorizedAccessException 

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 2:39 PM
User is offline Don Worthley
216 posts
www.itcrossing.com
9th Ranked




Re: Edit Blog entry error: System.UnauthorizedAccessException 

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
IT Crossing Logo

Try metaPost today! Adding Web 2.0 Styled Content is Fun and Easy.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Blog Module [Le...  Edit Blog entry error: System.UnauthorizedAccessException
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP