Occasional File Upload Issue for Permitted Users

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.
10/14/2013 10:33:35 AM
Gravatar
Total Posts 29

Occasional File Upload Issue for Permitted Users

  • Version: mojoportal 2.3.9.9
  • Database: PostgreSql 
  • Server: Windows 2008 SP2, IIS 7, .NET 4.0

I have two site users with some editing rights, and SOMETIMES they cannot upload files to the site:

  • One is a member of the Content Administrators role.
    Of course, this role is supposed to have rights to edit all site content, and to upload approved file types for the content.
    She works on a "Snow Leopard" Mac, using both Safari and Firefox.
    She uploads images files under 200 KB in size, in .jpg and .png format, and PDF files under 500 KB in size.
  • The other member is in charge of sending out newsletters only. For his task, I created a "Newsletter Administrators" role. This role I added to the permission "Roles that can browse and upload files," and gave it permission to the Newsletter Editing page.
    He works an a Windows 7 PC, using both IE 10 and Chrome.
    He only uploads PDF files, under 400 KB in size.

Both of these users are normally able to upload their files. They are excellent in trying to upload only to specific folders.
But sometimes, they are both unable to upload these files. It happens to both of them at the same time. When this happens, they get the "Sorry" message on screen. But nothing about an error is displayed in the System Log, nor in the "currentlog.config" file.

When they notify me, I take their very same files and upload them without any issues, using my Admin account.

  • In web.config, the upload size limit setting for the site is set to the mojoPortal default of  <httpRuntime mazRequestLength="2097151" ... />.
    That's 2GB!
  • In IIS 7, the requestLimits.maxAllowedContentLength setting is at it's default, which is 30 MB.

So I see no way it could possibly be a size issue.

I have created a test account. When they have troubles, I set the permissions on the test account to match theirs, and the problem reproduces. Then maybe an hour later, it works fine. And they report that all is well.

Has anybody else run into something this strange? Any suggestions or ideas?

10/14/2013 10:44:07 AM
Gravatar
Total Posts 29

Re: Occasional File Upload Issue for Permitted Users

I forgot to mention, when they are having trouble, and I try it, I am working on a Windows 7 PC. I test it using:

  • Chrome
  • Firefox
  • Opera
  • IE-10
  • ​WinXP virtual machine with IE-8.
  • "Snow Leopard" Mac virtual machine with Safari and Firefox.
  • Samsung Galaxy S3, with Android 4.1.1 browser, Chrome, and Firefox.
  • Apple iPad 5, with Safari and Chrome.

When the users report that they are failing--

  • ALWAYS works with the Admin account, on any machine, with any browser.
  • ALWAYS fails with the "test" account, on any machine, with any browser.
  • Makes NO difference if being done from inside the company's network, or from the outside Internet.

Just weird.

10/14/2013 1:16:50 PM
Gravatar
Total Posts 18439

Re: Occasional File Upload Issue for Permitted Users

Hi,

We've been getting a number of file upload related questions lately so I finally got around to re-writing our article about Supporting Large File Uploads which was out of date since we no longer use NeatUpload.

Hope that helps,

Joe

10/14/2013 3:43:27 PM
Gravatar
Total Posts 29

Re: Occasional File Upload Issue for Permitted Users

I uncommented the "maxAllowedContentLength" setting that your article mentions. But reading MS's article on that, that you reference, the default setting is about 30 MB, so we should not have been affected by this.

Notice in my weird issue, the largest files we're having problems with are less than 500 KB in size.

What's weird about it is that the users can upload files for three days or so, then on the fourth day, they get upload errors. Then wait a few hours, and the problem goes away. I can't find error logs anywhere.

This problem started after we updated to the version without NeatUpload.
Yes, I have used the new web.config, with no references to NeatUpload.

Like I say.... weird.

10/14/2013 4:21:58 PM
Gravatar
Total Posts 18439

Re: Occasional File Upload Issue for Permitted Users

Hi,

I just updated the article Allowing Users to Upload and Browse Files with information that is relevant to these questions. See especially the section about Storage Quotas.

Hope that helps,

Joe

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