AllExperts > Experts 
Search      

Active Server Pages Programming (ASP)

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Srini Nagarajan
Expertise
I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience
Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.
 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > Error in page!

Topic: Active Server Pages Programming (ASP)



Expert: Srini Nagarajan
Date: 5/18/2005
Subject: Error in page!

Question
Hello!

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!

Answer
Hi

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

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.