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 '800a0005' Invalid procedure call or argument: 'Left'
- Article ID:
116 - Date Created
Saturday, March 12, 2011 - Last Updated
Saturday, March 12, 2011 - This Article Has been Viewed
7126 times - Short Desc
Make sure that you are passing a value before calling the procedure, or you may experiance the 800a0005 Invalid argument error. - Details
When calling a procedure, make sure that the variable that you will be using, matching the variable that you have created for the procedure, if they do not match, then you will receive the following error.
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Left'
/Resets.asp, line 14 - Recreate Issue
To recreate this issue;
<%
stremail = request.form("email")
chEmail = Left(email,InStr(email,"@")-1)
%>
The above will throw the error, reason: We are using the variable: email in our procedure and the variable is named: stremail - Resolve Issue
To resolve this issue.
<%
email = request.form("email")
chEmail = Left(email,InStr(email,"@")-1)
%>
As you can see above, are variable is named: email, and we are using the variable: email in our procedure.
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