CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Microsoft VBScript runtime error '800a01c2' Wrong number of arguments or invalid property assignment: '[object]'
- Article ID:
101 - Date Created
Friday, February 11, 2011 - This Article Has been Viewed
3870 times - Short Desc
When logging out of a site, you might encounter the 800a01c2 error if the object is not set properly. - Details
When trying to logout of the site, you may encounter the following error if your are using cookies or sessions and you are not properly deleting the object.
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: '[object]'
/logout.asp, line 19 - Recreate Issue
To recreate this issue.
The following code is used to Request the object, not to Delete the object<%
Request.Cookies("cookie")("name") = ""
%> - Resolve Issue
To resolve this issue.
The below code will Delete the cookie.<%
Response.Cookies("cookie")("name") = ""
%>
As you can tell, we have changed the [Request.cookie] to [Response.cookie]
This is the proper way to delete you cookie.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825