Uploaded Blog Images Not Displaying

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/30/2011 4:01:54 AM
Gravatar
Total Posts 2

Uploaded Blog Images Not Displaying

Hi,

Current installation details:

mojoPortal Version 2.3.6.7 MSSQL
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone GMT Daylight Time
Server Local Time (GMT 1) 9/30/2011 9:55:47 AM
Greenwich Mean Time (GMT/UTC) 9/30/2011 8:55:47 AM

Have made a blog post and uploaded images to it. The images appear to upload to the path /Data/Sites/1/xxxx.png no problems, and appear in the blog editor and when previewing.

The problem is viewing the blog post/images when logged out; the image doesn't appear. When trying to view the image URL directly I'm redirected to xxx.com/login.aspx?ReturnUrl=%2fData%2fSites%2f1%2fkindlefire01.jpg (looks like an ASP.net Membership redirect...?)

Any idea how to stop this from happening so that blog images are displayed to regular users?

Thanks in advance,
Chris

10/2/2011 1:37:26 PM
Gravatar
Total Posts 18439

Re: Uploaded Blog Images Not Displaying

This seems like some IIS configuration issue. I would make sure the site is configured for windows and anonymous authentication and I would check the permissions on the files.

Hope that helps,

Joe

10/3/2011 12:44:56 AM
Gravatar
Total Posts 2

Re: Uploaded Blog Images Not Displaying

Hi Joe,

Thanks for pointing me in the right direction. The problem is also very similar to the one reported here:

http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=2&thread=5333&pagenumber=1

In short, it was fixed by setting the IIS Application Pool identity Mojoportal is running under to Network Service. After doing this all uploaded files were given the correct permissions to display to all users.

Also, for the previously uploaded images, "Read" and "Read & Execute" permissions were applied for the "IIS_IUSRS" account.

Cheers,
Chris

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