Hi onpnt,
I mean client side javascript,server side is VBscript.
The error message is:
CInt(afieldnum)-->type mismatch,
because the afieldnum is empty.
I used javascript to collect data for this field.
When code try to display the field:
Response.Write CInt(afieldnum)
The program crashed.
Betty
...the case in my windows XP and 2000. Then suddenly I found 8 of 10 have this log text:
---UserAgent Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
*MSIE version could be different in this line, most of them is 5.22 and some are 5.0 and 5.23
I don't know the exact meaning of the line, it...
Hi trollacious,
Can you test this link:
http://www.travelinsuranceservices.com/select2006/selectQuote2_step1_test.asp
on your Mac system.
Thank you.
Betty
...the case in my windows XP and 2000. Then suddenly I found 8 of 10 have this log text:
---UserAgent Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
*MSIE version could be different in this line, most of them is 5.22 and some are 5.0 and 5.23
I don't know the exact meaning of the line, it...
Hi everyone,
I tried to check before set an object is nothing so I did the following:
If Not isNULL(Executor) then
Executor.Close 'error here
set Executor=nothing
End If
or
If Not isObject(Executor) then
Executor.Close 'error here
set Executor=nothing
End If
But it always give me the...
Hi everyone,
if I have code like this in page1.asp:
If a=b then
'do something
Else
response.redirect("page2.asp")\
End if
set cmdTemp=Nothing
conn.close
set conn=nothing
Does that mean if the line response.redirect statement get executed, the last three lines of code in page1.asp will...
Hi DNG,
Thanks for the reply.
What I am trying to do is
1----if countRS.EOF then
2---- do something
3----else
4----- If CInt(CountRS.fields("submitCount"))<4 then
5----- do same thing as line 2
6----- End if
7----- End if
That's why I am trying to merge the code into one...
Hi everyone,
can I do the following:
If countRS.EOF or ( (Not CountRS.EOF) and ( CInt(CountRS.fields("submitCount"))<4 ) ) then
do something here
End if
What I am trying to do is merge the following code:
if countRS.EOF then
do something
End
If ( (Not CountRS.EOF) and (...
Hi everyone,
Our asp pages depend on a lot on javascript in order to display the error message to customer from client side, not
server side. But I feel some problems on our site come from javascript.
Recently I always find that some non duplicable error on our eCommerce site. Most of these are...
...data and error details on our web site in order to proactively to monitor what's going on for eCommerce site.
Today, I got one message like this:
* Line, Column:447, -1
* Description: [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionWrite (send()).
The line 447 is actually like...
Thanks all of you for your response.
I am still bewildered by the puzzle. When I programmed,
I already tested many, many times(more than one hundred), only one time, I got this error and I just cannot figure out
the problem. Now the code is in production, I got this error again from my error...
Hi DNG,
Thaks for your pointing that out.
Is there any typical reason, for request("variablename") not getting any value, if in my program, I already make sure the variable will have a value to be passed.
Betty
...But very intertesting thing is: one out of one hundred there is an error message stated that:
COM Error #: -2146828275 (800A000D)
* Category: Microsoft VBScript runtime
Line, Column:108, -1
Description: Type mismatch: 'CInt'
It's pointing to the line as follow...
Hi all,
In my error log:
I have record:
UserAgent Mozilla/4.0 (compatible; MSIE 5.5; AOL 9.0; Windows 98; Win 9x 4.90)
What browser they are using, AOL?
if it is like this:
UserAgent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
then they using IE?
I am just...
Hi all,
Thanks for all your guys input. I gave up using HTTP_REFERER. I just added a coulpe fields with values to indicate where does the page come from.
It worked out.
I believe Sheco's comment is right. I should not depend on this variable in my program.
Betty
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.