close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error on DFP/DA Insert page

Thread began 8/28/2009 1:19 pm by jspencer190495 | Last modified 8/31/2009 3:09 pm by Jason Byrnes | 2974 views | 3 replies |

jspencer190495

Error on DFP/DA Insert page

I'm new to Web Assist software, so this may be a simple problem that I'm missing. I built a page to upload a file and insert it into a database following the PDF instructions for doing this. When I try to upload a file, I get this error:

Request object, ASP 0207 (0x80004005)
Cannot use Request.Form collection after calling BinaryRead.
/admin/Files_Insert.asp, line 21

Line 21 has this code:

WA_fieldValuesStr = "" & cStr(WA_DFP_UploadStatus.Item("WA_UploadResult1").serverFileName) & "" & "|" & "" & cStr(cStr(Request.Form("screenname"))) & ""

Any idea what's the problem? I went through the building process twice, thinking that since this was my first try with WebAssist software, maybe I missed or screwed up a step, but I got the same result the second time.

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

When using Digital FDile pro With A DataAssist insert page, you need to rebind all of the form fields in the Insert Record Server Behavior after applying DFP.

double Click the Insert Record Server Behavior and select each Database Column that will get a value. Click the lightning bolt and expand the form collection. Then Select the corresponding form element.

This modify the code for the binding and change it from using the Request.Form Collection to using the WA_UploadObj.Form Collection instead.

Sign in to reply to this post

jspencer190495

Thanks. That fixed the Insert page.

Now I'm getting the same error on the Update page but I must be making the wrong selection because the error is persisting. Is the Update page treated differently for any reason?

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

if you are getting the same error, there is still a Request.Form reference on the update page.

In the error it will tell you the line number where the error is occurring, look at that line number for Request.Form and change it to WA_UploadObj.Form

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...