Getting an error message on submit

Posted on 2004-11-16
Last Modified: 2007-12-19
Has anyone seen this before?

Request object: 006~ASP 0207~Cannot use Request.Form~Cannot use Request.Form collection after calling BinaryRead."

I have a simple if statement throwing this error:

if Request.form("submitted") <> "" then
   response.write "Thanks for submitting"
end if
Question by:sl1nger
    LVL 19

    Expert Comment

    Are you using ASPUpload?
    LVL 19

    Accepted Solution

    If so, then this might be useful to you...

    From this link:

    After you use the Pure ASP Upload you can't use the Request.Form collection. You should use instead UploadFormRequest(..)

    So for example,instead of writing:

    Now you should write:


    Author Comment

    ok. I am using an upload.  I wrote in the uploadformrequest and the new error is "variable undefined".
    LVL 19

    Assisted Solution

    More good info on it here:

    Author Comment

    I actually have 3 different forms in the page.  The first is the upload and later I call the other form to remove items from a list.  Could the read connection be closed and allow my page to function normally?  Or I wonder how I could use UploadFormRequest...

    Author Comment

    As for the last web link... It puts me closer w/ objFileUp.Form("submitted"); however, my remove form that calls submitted is actually named frmRemove.

    Author Comment

    ok, I think if I just change my form enctype from form-data.  It may work.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    Insert Array using Asp into Access DB 51 48
    Leverage browser caching 2 39
    Update field in order 21 93
    Import csv files to MS SQL 5 34
    Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
    Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now