im using FileSystemObject's File object to create an html file and write it to the webserver's disk and then send it as a mail attachment.
Expand|Select|Wrap|Line Numbers
- final_draft="<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd""><html xmlns=""http://www.w3.org/1999/xhtml""><head><meta "&_
- "http-equiv=""Content-Type"" content=""text/html; charset=windows-1256"" />"&strAttachment
- AttachmentFile.write(final_draft)
now this works preety smoothly under Windows XP IIS 5.1 and IIS 6.0 on Windows 2003 server, but once the application was shipped to a Windows 2000 server machine
it started to generate the following error
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument
/customs/edr/donate/attach.asp, line 49
line 49 is
Expand|Select|Wrap|Line Numbers
- AttachmentFile.write(final_draft)
the funnier is that the script engine version on both servers is the same 5.6
appreciate the help
thanks
Regards