Bad request (invalid verb)

  1. #1

    Bad request (invalid verb)

    Hello,

    I am facing a funny situation here. I changed all my forms and ScriptManagers EnableViewState property to false. I also changed all ajax event types to load. On my localhost all forms are working properly. When I deployed the project on a remote server, for any ajax event I kept getting Bad Request (Invalid Verb) on Firefox alone. Web.config is as should be. After a small search on Mozilla support forum, I came across an article suggesting to turn off all antivirus and firewall protection! Indeed this solved the issue. If I ever come to a final version, I am afraid I would not be able to have any customer do such a thing. And as much as I can see, in my humble opinion, I feel as Firefox being considerably faster JavaScript rather than IE. Any ideas here?

    Wtower

  2. #2

    RE: Bad request (invalid verb)

    Hi Wtower,

    hmmm. strange.


    Can you provide any links to the mozilla articles for reference? Maybe there's a header being passed in the response that it does not like.


    Which version of Firefox?


    Geoffrey McGill
    Founder
  3. #3

    RE: Bad request (invalid verb)


    Hi Geoffrey,

    Strange indeed. After several tests I discovered that this is an issue also for IE and has possibly to do with my antivirus software (ESET). I have sent a formal complain about the issue to the company and I am awaiting for their answer so I will keep you updated. Unfortunately, although the application's performance is drastically increased without viewstate, I will be forced to switch it back on since at least some of my users might have the same software as I do. Below are the links as asked.
    <a href="http://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&amp;comments_thres hold=0&amp;comments_parentId=7801&amp;comments_off set=180&amp;comments_per_page=20&amp;thread_style= commentStyle_plain">
    http://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&amp;comments_thres hold=0&amp;comments_parentId=7801&amp;comments_off set=180&amp;comments_per_page=20&amp;thread_style= commentStyle_plain</a>

    <a href="http://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&amp;comments_thres hold=0&amp;comments_parentId=9556&amp;comments_off set=0&amp;comments_per_page=20&amp;thread_style=co mmentStyle_plain">http://support.mozilla.com/tiki-view...entStyle_plain
    </a>
    The parameters sent are the following:

    SeriesCategoryID    3
    _dc    1252490515523
    submitAjaxEventConfig    {"config":{"__EVENTTARGET":"ScriptManager1","__EVENTARGUMENT":"ButtonUpdate|event|Click","extraParams":{"RecID":500000211,"Detail":"[{\"DocID2\":300101678,\"SeriesID\":3001,\"DocCount\":1678,\"DocID3\":\"909501410\",\"DocDate\":\"2009-09-08T00:00:00\",\"DeliverDate\":\"2009-09-10T00:00:00\",\"CustomerID\":3,\"CustomerDestID\":12,\"PayArrangementID\":60,\"WarehouseID\":12,\"ImportanceID\":2,\"StatusID\":1,\"PurposeID\":2,\"Duration\":4,\"Destination\":\"\",\"Transportation\":\"\",\"Comment\":\"\",\"Transformed\":false,\"Printed\":true,\"UserID\":\"Sophia.Zapantouli\",\"DocTimeStamp\":\"2009-09-08T18:56:21\",\"UpdatesRelevant\":true,\"CopiesLines\":true,\"CopiesValues\":true,\"CopiesExpenses\":true,\"BackOrder\":false,\"SpecialFunc\":true,\"TransformExec\":true}]","DocDate_Time_Detail":"18:53","LinesSer":"[{\"DocID\":500000211,\"LineID\":1,\"SKUID\":104,\"Pieces\":33,\"Q1\":11200,\"Q2\":2621.2,\"Q3\":306.0288,\"Price\":0.152,\"SalesPerc\":0,\"SalesAdd\":0,\"LineValue\":398.42,\"Comment\":null,\"VATperc\":4,\"VAT\":75.7,\"LotID\":102935,\"FromLotID\":null,\"ToDocID\":null},{\"DocID\":500000211,\"LineID\":2,\"SKUID\":104,\"Pieces\":33,\"Q1\":11200,\"Q2\":2621.2,\"Q3\":306.0288,\"Price\":0.152,\"SalesPerc\":0,\"SalesAdd\":0,\"LineValue\":398.42,\"Comment\":null,\"VATperc\":4,\"VAT\":75.7,\"LotID\":102936,\"FromLotID\":null,\"ToDocID\":null},{\"DocID\":500000211,\"LineID\":3,\"SKUID\":104,\"Pieces\":10,\"Q1\":6000,\"Q2\":425.52,\"Q3\":49.68,\"Price\":0.152,\"SalesPerc\":0,\"SalesAdd\":0,\"LineValue\":64.68,\"Comment\":null,\"VATperc\":4,\"VAT\":12.29,\"LotID\":102937,\"FromLotID\":null,\"ToDocID\":null},{\"DocID\":500000211,\"LineID\":5,\"SKUID\":104,\"Pieces\":17,\"Q1\":4000,\"Q2\":482.26,\"Q3\":56.304,\"Price\":0.152,\"SalesPerc\":0,\"SalesAdd\":0,\"LineValue\":73.3,\"Comment\":null,\"VATperc\":4,\"VAT\":13.93,\"LotID\":102937,\"FromLotID\":null,\"ToDocID\":null},{\"DocID\":500000211,\"LineID\":6,\"SKUID\":104,\"Pieces\":28,\"Q1\":4000,\"Q2\":794.3,\"Q3\":92.736,\"Price\":0.152,\"SalesPerc\":0,\"SalesAdd\":0,\"LineValue\":120.73,\"Comment\":null,\"VATperc\":4,\"VAT\":22.94,\"LotID\":102938,\"FromLotID\":null,\"ToDocID\":null}]","LotsSer":"[{\"LotID\":102935,\"LotID2\":null,\"DocID\":500000211,\"LotDate\":null,\"Q2\":null,\"Comment\":null,\"ToDocID\":null},{\"LotID\":102936,\"LotID2\":null,\"DocID\":500000211,\"LotDate\":null,\"Q2\":null,\"Comment\":null,\"ToDocID\":null},{\"LotID\":102937,\"LotID2\":null,\"DocID\":500000211,\"LotDate\":null,\"Q2\":null,\"Comment\":null,\"ToDocID\":null},{\"LotID\":102938,\"LotID2\":null,\"DocID\":500000211,\"LotDate\":null,\"Q2\":null,\"Comment\":null,\"ToDocID\":null}]","DocsSer":"[{\"FromDocID\":500000210,\"ToDocID\":500000211}]","CriteriaSer":"[{\"CriterionID\":1,\"FieldName\":\"DocDate\",\"CriterionTypeID\":11,\"Criterion1\":\"90\",\"Criterion2\":null}]","FilterID":203001}}}
    The headers sent are:
    Response Headers
    Content-Type    text/html
    Date    Wed, 09 Sep 2009 10:01:50 GMT
    Connection    close
    Content-Length    35
    Request Headers
    Host    erp.phoebe.com.gr
    User-Agent    Mozilla/5.0 (Windows; U; Windows NT 5.1; el; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729)
    Accept    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language    el
    Accept-Encoding    gzip,deflate
    Accept-Charset    ISO-8859-7,utf-8;q=0.7,*;q=0.7
    Keep-Alive    300
    Connection    keep-alive
    X-Requested-With    XMLHttpRequest
    X-Coolite    delta=true
    Referer    http://erp.phoebe.com.gr/europrofil/...esCategoryID=3
    Cookie    ASP.NET_SessionId=hnn4hgfqmznsjv55trdd5r45; .ASPXAUTH=B1E770934960A618FAF6F9A5271943D4EADDCED45B0D1357FE8E8FFF5846975C49D6F260120278FE0E0D09307867A04E33C5ECC4084BCF3D9A06A9F2DF5CD4D6F7AC1478ECC889BB74D9CF880D5DDD89
    Best Regards,

    Wtower

  4. #4

    RE: Bad request (invalid verb)

    Hi,

    Please post Request Headers also for invalid request, thanks
  5. #5

    RE: Bad request (invalid verb)


    Hi vladimir,

    Apologies for my post not being clear. The request headers are included in the code region immediately below the response headers.

    Thanks,

    Wtower

  6. #6

    RE: Bad request (invalid verb)

    Hi,

    May be problem related with IIS. Which version IIS do you use?
    Did you see it?
    http://support.microsoft.com/?id=828726
    http://www.kbalertz.com/Feedback.aspx?kbNumber=828726
  7. #7

    RE: Bad request (invalid verb)


    Hello,

    IIS 6.0 on Windows Server 2003 x64. Unfortunately this hotfix is for x86 or ia64 systems so I suppose I cannot test it.

    Wtower

  8. #8

    RE: Bad request (invalid verb)


    Hello,

    Another issue of disabled view state, for your information rather. When a grid with a large number of records is serialized and sent, I receive an error "Request-URI too long".

    Regards,
    Wtower

  9. #9

    RE: Bad request (invalid verb)

    Hi,

    Because by default the Load type using "GET" method, you need to use POST
    grid.save({method:"POST"});

Similar Threads

  1. [CLOSED] Invalid Webresource Request
    By betamax in forum 1.x Legacy Premium Help
    Replies: 17
    Last Post: Jun 27, 2012, 6:09 PM
  2. [CLOSED] Slate Theme - Invalid web resource request error
    By vali1993 in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Oct 20, 2011, 11:30 AM
  3. Replies: 1
    Last Post: Oct 05, 2010, 9:31 AM
  4. ... invalid webresource request. at System
    By mirzasa in forum 1.x Help
    Replies: 3
    Last Post: Feb 02, 2010, 12:50 PM
  5. Set control invalid in code behind
    By leonardobag in forum 1.x Help
    Replies: 0
    Last Post: Oct 08, 2009, 12:54 PM

Posting Permissions