Image permission problems after moving site

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
10/6/2010 9:49:51 AM
Gravatar
Total Posts 10

Image permission problems after moving site

Joe -

After moving my site from the mojoportal subdirectory to the root, I now seem to have permission issues when uploading images.  It is behaving similar to this thread: http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=3&thread=4590&postid=23420.  The image is successfully uploaded but does not have the correct read permissions to be viewed on the page.

I double checked my App_Data and Data folder.  Both are writable by the user who is the identify on the application pool.  Same app pool as before and same permissions as before.  Just one directory higher.

Is there anything else that could cause NeatUpload not to use the App_Data folder for uploads?  Maybe specifically caused by moving a site from one directory to another?

Thanks for your help!  I definitely owe you that beer.

10/7/2010 9:38:26 AM
Gravatar
Total Posts 18439

Re: Image permission problems after moving site

Moving the site should not impact the ability to upload (assuming it worked before the site was moved) as long as folder permissions are correct. You might try clearing the browser cache in case anything got cached in your browser with the old urls.

It really does not sound like the App_Data folder (or the sub folder used by NeatUpload) is writable. If it is not writable it will cause this problem because the temporary file will be located under Windows temp folder instead of App_Data and this makes permissions funky after it moves the file out of the temp location. You might watch the app_data folder and see if any file is written there during upload.

Hope it helps,

Joe

10/7/2010 10:16:52 AM
Gravatar
Total Posts 10

Re: Image permission problems after moving site

Oddly enough, clearing out the cache seems to have done the trick.  Didn't change anything on the server and all is well now.  Thanks again for the help.

You must sign in to post in the forums. This thread is closed to new posts.