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 compilation (0x800A03F2) Expected identifier
- Article ID:
87 - Date Created
Friday, December 31, 2010 - Last Updated
Friday, December 31, 2010 - This Article Has been Viewed
2877 times - Short Desc
When using Parameters Queries alot in your projects, you may do a lot of copy and pasting, and this will sometime cause problems like this. - Details
When using Parameters Queries, you may do a lot of copy and pasting to same time when working with a lot of Queries. Sometimes you might copy out to many characters, and when this happens, you will get the error below.
Microsoft VBScript compilation (0x800A03F2)
Expected identifier
/page.asp, line 45, column 10
sqlRunAds..Parameters.Append sqlRunAds..CreateParameter("@MType", adInteger, adParamInput, , Mys)
---------^ - Recreate Issue
To recreate this issue:
<%
sqlRunAds..Parameters.Append sqlRunAds..CreateParameter("@MType", adInteger, adParamInput, , Mys)
%>
Looking at the code above, you can see sqlRunAds..Parameters We have 2 periods instead of 1 period. - Resolve Issue
To correct this error.
<%
sqlRunAds.Parameters.Append sqlRunAds..CreateParameter("@MType", adInteger, adParamInput, , Mys)
%>
In the above line, we have removed the extra . (period) from the sqlRunAds.Parameters.
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 16826