Pure ASP Upload 3 Support Product Page

JScript runtime error '800a138f' object Expected

Asked 27 Jan 2011 02:23:09
2
have this question
27 Jan 2011 02:23:09 Darin Miller posted:
We finally decided post for help after about two days of struggling to resolve this issue.

We are using DW CS4, JS, ASP Classic. We are trying to Upload an image to the server and then Update the current DB profile with the new path and image filename. The Upload takes place without issue even when using the SIP functions. We cannot get the Update to work at all. It bombs out on the Update portion for some reason. We have the Upload code above the Update code and the recordset is session based so the recordset data is not an issue. We have the redirect on the Update function and left toe Upload redirect blank as directed.

The error we get is:
Microsoft JScript runtime error '800a138f'
Object expected
/fms_change_pic.asp, line 129

The actual error line of code in the ASP page is part of the Update behavior and is as follows:
MM_editCmd.Parameters.Append(MM_editCmd.CreateParameter("param1", 202, 1, 150, MM_IIF(UploadFormRequest("ProfileImage", UploadFormRequest("ProfileImage", UploadFormRequest("upload_org_ProfileImage"))); // adVarWChar

Furthermore I would like to add, we tested the Update code and it worked fine before we added the Upload code. Once the Upload code was added to the page, it modified the Update code and we could no longer access the Update code from the Behaviors Panel.

We really need your help getting this issue resolved ASAP because we are at our wits end and it was supposed to be live yesterday.

Replies

Replied 27 Jan 2011 10:32:32
27 Jan 2011 10:32:32 Miroslav Zografski replied:
Hello,

Can you, please, pass the code of the page in question to my e-mail ?
Also try adding to the page firstly the Upload code, SIP and then the Update code.

Regards,
Replied 27 Jan 2011 21:01:45
27 Jan 2011 21:01:45 Darin Miller replied:
QuoteHello,

Can you, please, pass the code of the page in question to my e-mail ?
Also try adding to the page firstly the Upload code, SIP and then the Update code.

Regards,

Email sent. Entire page is attached.

Reply to this topic