Type mismatch: 'CInt' with google
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20351
Printed Date: 11 April 2026 at 1:21pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Type mismatch: 'CInt' with google
Posted By: kiklop
Subject: Type mismatch: 'CInt' with google
Date Posted: 19 June 2006 at 9:42am
Not a major issue for me, but i guess i need to report this.
From my log files i saw a pretty common error with google:
Microsoft VBScript runtime
(0x800A000D)
Type mismatch: 'CInt'
Line: 123
browser: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Method: get
page: new_reply_form.asp?TID=247&PN=&TR= (of course TID value is not always the same but is always pointing to missing topic).
When i was testing for this i noticed that if I remove "&PN=&TR=" part from the link i don't get the error.
------------- http://www.dyxum.com" rel="nofollow - dyxum.com
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 19 June 2006 at 10:34am
I've looked into this and I'm not sure why Google is attempting to open this page with null values for the two fields in the querystring, but anyway, here is a solution.
Edit the file new_reply_form.asp in 8.02 with note pad and change the line below:-
Change line 123 to:-
If isNumeric(Request.QueryString("PN")) Then intRecordPositionPageNum = CInt(Request.QueryString("PN")) Else intRecordPositionPageNum = 1
|
And also change line 125 to:-
If isNumeric(Request.QueryString("TR")) Then intTotalRecords = CLng(Request.QueryString("TR")) Else intTotalRecords = 1
|
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: kiklop
Date Posted: 19 June 2006 at 10:45am
Thanks for the quick answer and the solution !!
------------- http://www.dyxum.com" rel="nofollow - dyxum.com
|
|