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 ForumsGalleryGalleryNot sure what we did, but its broke now!Not sure what we did, but its broke now!
Previous
 
Next
New Post
12/12/2006 10:14 AM
 

We had the gallery up and running fine on our site, and then a few weeks ago following a server migration we started having issues.  None of our users can upload pictures, for that matter whenever anyone tries to add galleries, photos, etc... it is writing the entry into the DB but it is not writing it into file structure.  This is the error I am receiving while logged in as host...any ideas?

 

Error: Add New Photo is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Access to the path 'c:\hosting\webhost4life\member\switchblade\res\Portals\0\Gallery/Album/22\' is denied. ---> System.UnauthorizedAccessException: Access to the path 'c:\hosting\webhost4life\member\switchblade\res\Portals\0\Gallery/Album/22\' 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 System.IO.Directory.CreateDirectory(String path) at DnnForge.SimpleGallery.EditPhoto.CheckDirectory() at DnnForge.SimpleGallery.EditPhoto.UploadFile(Stream& stream, String name) at DnnForge.SimpleGallery.EditPhoto.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
12/12/2006 11:17 PM
 
It hard to tell for sure the issue, but it appears that you don't have write access to your directory anymore.  You will need to contact your server admin and make sure that the ASP.NET worker process has write access to your directories.
 
New Post
12/13/2006 5:46 AM
 

It probably did start as a permissions problem though simply setting them now might not be sufficient to fix it.

You will need to set Network_Service=RWXD on your DNN folder and files. These permissions can be lost when the files are moved to a new server or restored from a backup.

You can do this via your control panel on Webhost4life, but you might find it times out if you have a lot of files. Scroll down when it has finished and if it shows a time-out error then ask the helpdesk to do it for you, explaining that it has timed out.

Rob

 
New Post
12/13/2006 10:21 AM
 
The write permissions was the issue.  Apparently the permissions were messed up following the server move.  Thanks for the help.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryNot sure what we did, but its broke now!Not sure what we did, but its broke now!


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