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 (0x800A000D) Type mismatch: 'CInt'
- Article ID:
40 - Date Created
Tuesday, November 16, 2010 - Last Updated
Wednesday, November 17, 2010 - This Article Has been Viewed
3831 times - Short Desc
When you pass an Integer value and you have an invalid character within the value, you will get this error. - Details
When you have a Querystring that consist of variables and which contains an invalid character that suppose to be an Integer (Number), then this error will happen.
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'CInt'
/paging.asp, line 39 - Recreate Issue
To recreate this error
paging.asp?Type=Results&NumPerPage=10&page=1'
Code Example of this error
<A href=" & ScriptName & "?NumPerPage=" & NumPerPage & "&page=1'>
As you can see in the above Querystring, at the end is: page=1'
The single quote does not belong in the String and must be removed.
Removing it from the Querystring itself only corrects it temporarily.
This issue may only be resolved from within the code itself. - Resolve Issue
To correct the issue, check your code for invalid characters.
Examples
#1: <A href=" & ScriptName & "?NumPerPage=" & NumPerPage & "&page=1'>
In the above code, you will notice that after the page=1 there is a single quote.
This is what has caused this paticular issue.
Removing the single Quote from the end will correct the issue.
<A href=" & ScriptName & "?NumPerPage=" & NumPerPage & "&page=1>
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