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 143

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 143

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding Datediff to staistics page 2 62
sql to convert to date IF entry is in date format 4 94
Call a function within the ASP code 4 19
Designing forms 3 19
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

830 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