Microsoft VBScript compilation error '800a03ee'

Posted on 2008-10-12
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
  • 2
  • 2
LVL 142

Accepted Solution

Guy Hengel [angelIII / a3] earned 500 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 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
if form parameter is null redirect 2 53
ASP VB... 7 99
Automatically log-in a new user through code 1 55
HTML in email body has extra  tick marks 3 64
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: and…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

896 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

13 Experts available now in Live!

Get 1:1 Help Now