Uploading files is sometimes successful.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/3/2009 1:49:05 PM
Gravatar
Total Posts 14

Uploading files is sometimes successful.

Hi Joe, and anyone else that might be able to help:

We’re having issues with uploading files using the shard files module. It’s pretty much hit or miss. Sometimes the file successfully uploads, other times it doesn’t. I’ve had our network guys checking logs and traffic, etc. but we’re unable to pinpoint the problem.

Small files (less than 1 Mb) generally upload without problem, but they sometimes do not upload. Larger files (10 – 50 Mb) aren’t as successful, but they do upload sometimes.

We’re at a loss. If anyone has any information on anything we might be able to try I’m all ears.

Thanks,
Jeff

2/3/2009 2:06:35 PM
Gravatar
Total Posts 18439

Re: Uploading files is sometimes successful.

Hi,

Since you didn't specify, I assume you are using the newest version of mojoPortal 2.2.8.3. If that is not correct please specify.

If you are hosted in Medium Trust, in which case you are not using NeatUpload, you should look for this in comments near the bottom of system.web section of Web.config:

<httpRuntime maxRequestLength="2097151" executionTimeout="360" useFullyQualifiedRedirectUrl="true" />

You should uncomment it.

If you are in Full Trust and are using NeatUpload, then the settings of concern are these:

<neatUpload xmlns="http://www.brettle.com/neatupload/config/2008"
useHttpModule="true"
maxNormalRequestLength="4096"
maxRequestLength="2097151"
multiRequestUploadHandlerUrl="~/NeatUpload/MultiRequestUploadHandler.ashx"
>
</neatUpload>

If the web server is part of a domain, its possible the first setting is pushed down by group policy in which case changing the settings in Web.config will have no effect.

Hope it helps,

Joe

 

2/3/2009 2:17:28 PM
Gravatar
Total Posts 14

Re: Uploading files is sometimes successful.

Thanks for getting back to me Joe.

We're using version 2.2.8.2 MSSQL

We are in full trust using Neatupload.

I have tried changing maxNormalRequestLength="4096" to maxNormalRequestLength="2097151.

The results seem to be the same = it's a coin flip whether or not a file will upload.

I've also tried setting useHttpModule="false". same sporadic results.

I'll ask one of the network guys about the group policy.

thanks, Jeff

2/3/2009 2:23:02 PM
Gravatar
Total Posts 18439

Re: Uploading files is sometimes successful.

If you are in Full Trust, then it should be controlled by the NeatUpload section, in this case maxNormalRequestLength is expected to have no effect, though I'm not sure if it would have an effect if it were pushed down by group policy.

I would focus on the NeatUpload settings.

You might also review the mojoportal log for anything related when an upload fails. Its good to clear the log first to get rid of any old errors, then try to produce the problem, then see if any errors appear in the log. See Administration Menu > System Log

In shared hosting or any hosting with disk space quotas, bumping against the limit can cause failures as well.

Hope it helps,

Joe

2/3/2009 2:31:46 PM
Gravatar
Total Posts 14

Re: Uploading files is sometimes successful.

Joe:

To follow up, the site is not part of a domain. But, there are local security policy settings configured. Do you know of which ones that could cause a problem? I don't believe we're running into disk space issues.

In the meantime I'll check into the mojoportal log.


Thanks,

Jeff
 

2/4/2009 4:22:51 PM
Gravatar
Total Posts 14

Re: Uploading files is sometimes successful.

Hi:
 

After NeatUpload forum and searching system log we still have this issue :(

 

One thing I noticed in the logs is that it references files on my local machine. Might this have something to do with it? If the site is running on the server why would it reference project files that are on my machine in the log?

 

Thanks again for trying to help.

 

Jeff

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