close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Wrong number of arguments of invalid property assignment

Thread began 1/07/2011 6:42 pm by Fritz Stickers | Last modified 1/26/2011 1:39 pm by Jason Byrnes | 6181 views | 20 replies |

Fritz Stickers

Wrong number of arguments of invalid property assignment

I added a new column in the WA_eCart for a dropdown select menu.
Everything works fine till I "confirm".
Error :
Runtimefout Microsoft VBScript error '800a01c2'
Wrong number of arguments of invalid property assignment: 'WA_generateInsertParams'
/frogstyling/Asp/Confirm.asp, line 838

The WA_Universal_Email works fine and send the entered values correct. But value of the new column doesn't show up in the DB.


What can I do to fix this ?

Attached Files
geertwijns177986.zip
Sign in to reply to this post

Jason ByrnesWebAssist

is the page with the problem in the geertwijns177986.rar file? The other confirm file does not match up with the error you are reporting.


Please send a copy of the problem confirm page in a zip archive, I cannot open rar file types.

Sign in to reply to this post

Fritz Stickers

Yes, it's that "confirm" page with the error.

The .rar is just a copy of the others, ignore it.

Sign in to reply to this post

Jason ByrnesWebAssist

the error does not match to the page you sent.

the error is saying:
Wrong number of arguments of invalid property assignment: 'WA_generateInsertParams'
/frogstyling/Asp/Confirm.asp, line 838

line 838 of the confirm page you sent is:
if (updateFieldValue = "")


this line does not use the WA_generateInsertParams function that the error is reporting the issue with.

the error and the code you sent do not match. This page could not produce that error, at least not at the line number reported in the error, perhaps a change was made to the page after reporting the error, and it is now reporting a different line number?

Sign in to reply to this post

Fritz Stickers

sorry ... it's line 789 of the confirm page in the zipfile.

Attached Files
geertwijns177986.zip
Sign in to reply to this post

Jason ByrnesWebAssist

can you post a screen shot of the error message please.

Sign in to reply to this post

Fritz Stickers

The language is dutch ... translation :
Wrong number of arguments of invalid property assignment: 'WA_generateInsertParams'

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, try changing line 789:

insertParamsObj = WA_generateInsertParams(WA_fieldNames, WA_columns, WA_fieldValues)




to:

insertParamsObj = WA_generateInsertParams(WA_fieldNames, WA_columns, WA_fieldValues, false)
Sign in to reply to this post

Fritz Stickers

I changed it, but then I get another error :

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access-stuurprogramma] Kan geen record toevoegen of wijzigen omdat een gerelateerde record is vereist in de tabel tblUsers.

/frogstyling/Asp/Confirm.asp, line 791

translation :
[Microsoft][ODBC Microsoft Access-driver] Cannot add or change a record because a related record is required in table tblUsers.

insertParamsObj = WA_generateInsertParams(WA_fieldNames, WA_columns, WA_fieldValues, false)
WA_editCmd.CommandText = "insert into " & WA_table & " (" & insertParamsObj(1) & ") values (" & insertParamsObj(2) & ")"
WA_editCmd.Execute()
WA_editCmd.ActiveConnection.Close()
end if



Also the "eCart Store Summary in Database" is gone in the Server Behaviors panel, but it's still in the code.

I checked all links in the db itself and they work fine.

Sign in to reply to this post

Jason ByrnesWebAssist

That error means that you have forced referential integrity on the users table to force an associated record to be inserted at the same time. it suggests that the UserID session you are using in the UserID column is not a valid logged in user.

Sign in to reply to this post
loading

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...