ASP.NET error: request might exceed MaxPostSize - InfoPath Dev
in

InfoPath Dev

ASP.NET error: request might exceed MaxPostSize

Last post 01-05-2007 09:05 AM by toddthompson. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-21-2006 04:19 AM

    • CGlover
    • Top 500 Contributor
    • Joined on 01-21-2006
    • United Kingdom
    • Posts 34

    ASP.NET error: request might exceed MaxPostSize

    I am using IP to upload file attachments to an ASP.NET 1.1 web service, based on the picture uploader code in Patrick, Matthew & Vani's book. I am still on the localhost testing stage and have an intermittent problem.

    I _sometimes_ get this error:

    Connector:Connection failed or server refused connection (request might exceed MaxPostSize). HRESULT=0x800A151E - Connector:Connection failed or server refused connection (request might exceed MaxPostSize). HRESULT=0x800A151E

    I have tried setting the httpRuntime to 8192 in my web.config but to no avail.

    Sometimes I can upload a 2M form, sometimes I cannot upload one of 100k.

    Has anyone else hit this problem?

    Clive Glover
  • 01-23-2006 01:29 AM In reply to

    Re: ASP.NET error: request might exceed MaxPostSize

    Hi Clive,
    I am not aware of this issue, but timeout issues are frequent with SharePoint. How often do you see this?

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 01-23-2006 06:42 AM In reply to

    • CGlover
    • Top 500 Contributor
    • Joined on 01-21-2006
    • United Kingdom
    • Posts 34

    Re: ASP.NET error: request might exceed MaxPostSize

    Patrick,

    It comes and goes - yesterday it was all the time. I am at the early testing stage and this was on my localhost (XP pro). I don't think it is timeout issue though - my form get its web service response almost immediately.

    Today I am testing on our intranet server (W2K server)without problems, before going to our ISP hosted server. I'll keep you posted.

    Thanks for your response.
    Clive Glover
  • 01-23-2006 07:10 AM In reply to

    • CGlover
    • Top 500 Contributor
    • Joined on 01-21-2006
    • United Kingdom
    • Posts 34

    Re: ASP.NET error: request might exceed MaxPostSize

    Patrick,

    Here's a clue from my intranet W2k server. If my form contains 4M of attachments I hit the httpruntime maxrequestlength default limit of 4096k, I get my error message, as I should. If I increase the maxrequestlength to 8192, it works again. Seems to me my original difficulty might be an IIS running on XP issue. Here's hoping...

    Clive
  • 01-23-2006 09:48 PM In reply to

    Re: ASP.NET error: request might exceed MaxPostSize

    Hi Clive,
    Thanks for the educational posts. We don't do many forms of that size. Good luck!

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 01-05-2007 09:05 AM In reply to

    Re: ASP.NET error: request might exceed MaxPostSize

    CGlover, how do you go about changing the maxrequestlength? I am submitting forms with potentially large pictures to my ASP.NET Web Service running on Win2K. Do you set the property value in the WebMethod? If so, what is the syntax of the code?

    Thanks,

    Todd
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.