Microsoft VBScript compilation error '800a03ee'

Posted on 2008-10-12
Medium Priority
Last Modified: 2010-04-21

tfm_downloadStream.LoadFromFile Server.Mappath("uploadedimg/<%=(Recdelforfree.Fields.Item("zippypip").Value)%>")

This is what I have but I end up getting this error with the line of code. can any one let me know what i might be doing wrong.

Microsoft VBScript compilation error '800a03ee'

Expected ')'

/free_img_dl.asp, line 35

tfm_downloadStream.LoadFromFile Server.Mappath("uploadedimg/<%=(Recdelforfree.Fields.Item("zippypip").Value)


Question by:thatelvis
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 2000 total points
ID: 22696987
this should work better:
tfm_downloadStream.LoadFromFile Server.Mappath("uploadedimg/" & Recdelforfree.Fields.Item("zippypip").Value)

Open in new window


Author Comment

ID: 22697065
thank you angel I still get one more error

Response.AddHeader "Content-Disposition", "attachment; filename= Recdelforfree.Fields.Item("zippypip").Value

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/free_img_dl.asp, line 40

Response.AddHeader "Content-Disposition", "attachment; filename= Recdelforfree.Fields.Item("zippypip").Value
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 22697077

Response.AddHeader "Content-Disposition", "attachment; filename=" &  Recdelforfree.Fields.Item("zippypip").Value

Author Closing Comment

ID: 31505425
Your a gentleman have a  great sunday cheers.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

719 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