Server Error 500 Maximum Request Length Exceeded

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Server Error 500 Maximum Request Length Exceeded

Post by cs » Wed Oct 08, 2008 5:37 am

Since upgrading to 1.1.3 yesterday we can no longer attach files above a certain size to Items.

2Mb is fine, but 12Mb is not. Previously we have uploaded much larger files without issue.

What setting was changed when we upgraded to 1.1.3?

The following error is recorded in the Fortress log:

2008-10-08 12:14:37.829 JohnUser.mydomain.local (10.0.0.196)-JohnUser : Server error 500 Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Server Error 500 Maximum Request Length Exceeded

Post by Beth » Wed Oct 08, 2008 9:16 am

Look in the Advanced Settings on you Fortress admin web page. The default setting for the IIS file upload limit is 102400 kb (100 mb). Is that still the case?

If not, you can change it there. If you still can't upload after that, then perform an iisreset (Start - Run - type 'iisreset') to make IIS load the settings again.

.
Beth Kieler
SourceGear Technical Support

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Re: Server Error 500 Maximum Request Length Exceeded

Post by cs » Wed Oct 08, 2008 9:24 am

The setting is at 1048576. I did an iisreset with no effect.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Server Error 500 Maximum Request Length Exceeded

Post by Beth » Wed Oct 08, 2008 3:51 pm

I need more documentation to find what happened. Could you send an email to support at sourcegear.com (attn: Beth) and include a link to this thread? I'd like you to attach to that email your web.config and your Vault Server Log.
Beth Kieler
SourceGear Technical Support

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Re: Server Error 500 Maximum Request Length Exceeded

Post by cs » Tue Oct 21, 2008 3:51 am

Files sent on 13 Oct.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Server Error 500 Maximum Request Length Exceeded

Post by Beth » Tue Oct 21, 2008 12:28 pm

I replied back on October 13th. Did you not receive my email? Could you check your email filters and blocks? The support emails sometimes seem to get marked as spam.

If you can come up with my response email, I think we should continue offline. I will send the email again in a few minutes.
Beth Kieler
SourceGear Technical Support

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Re: Server Error 500 Maximum Request Length Exceeded

Post by cs » Wed Oct 22, 2008 5:30 am

Updating the maxRequestLength in the web.config file fixed the issue.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Server Error 500 Maximum Request Length Exceeded

Post by Beth » Wed Oct 22, 2008 3:33 pm

Thanks for the update.
HS: 213800
Beth Kieler
SourceGear Technical Support

Post Reply