Active Server Pages Programming (ASP)/Error in page!
Expert: Srini Nagarajan - 5/18/2005
QuestionHello!
My name is Assaf and I have a problem with my ASP page. I have a page called sendmail.asp and a page called upload.asp. In the sendmail.asp, whenI click on my "send Mail" button, the following error message appears:
Cannot use Request.Form collection after calling BinaryRead
It has to do with the fact that in my sendmail.asp I have request.form() all over the page and at the beginning of the page I am calling the upload.asp witt the following code:
<!-- #include file="upload.asp" -->
What can be done in order to work around that error.
Thank you in advance,
Assaf!
AnswerHi
I am Back!... Sorry for the delay in reply. I had a long business trip to Florida (did'nt goto any park! :( )
You can't use the upload and Request.form at the same time... If you use the SA fileupload use UPL.Form("xx") to read the field values, using that you can send emails.
Happy Programming!
-srini