On Tue, 23 Mar 2004 20:11:33 -0500  Douglas Kline wrote:

> Error Occurre d While Processing
> Request</TITLE></HEAD><BODY><HR><H3>Error Occurred While Proc essing
> Request</H3><P> <TABLE BORDER><TR><TD><H4>Error Diagnostic
> Information</H 4><P><P>An error occurred while evaluating the
> expression: <P><PRE> #session.bver# = #RemoveChars(#bv#,5, 60)#
> </PRE></P></P>Error near line 98, column 12.<HR><P>The second
> parameter (StartPo s) of the function RemoveChars(String, StartPos,
> Count), which is now equal to 5 , must be less than or equal to the
> length of the first parameter (String), whic h is now equal to  and
> has length of 0<P> <p>The error occurred while processing an element
> with a general identifier of (CFSET), occupying document position (9
> 8:5) to (98:54).</p><P><P>Date/Time:


I've seen something very similar when the remote site is trying to parse
the HTTP request before passing it to an SQL query and getting it
spectacularly wrong.  Here's an example (snipped & formatted):

   lynx -source http://www.lotuscars.co.uk

   <H3>Error Occurred While Processing Request</H3><P> 
   <TABLE BORDER><TR><TD><H4>Error Diagnostic Information</H4><P>
   ODBC Error Code = 42000 (Syntax error or access violation)<P><P>
   [TCX][MyODBC]You have an error in your SQL syntax near '.5dev.12 
   libwww-FM, 3, 2004)' at line 4<P><P><p>The error occurred while 
   processing an element with a general identifier of (CFQUERY), 
   occupying document position (84:1) to (84:68).</p><P><P>Date/Time:
   03/27/04 10:42:02<BR>Browser: Lynx/2.8.5dev.12 libwww-FM/2.14 
   SSL-MM/1.4.1 OpenSSL/0.9.7b<BR>Remote Address: 62.253.148.188
   <BR>Query String: name=home<P></TD></TR></TABLE><P><HR>

The cure in this particular case was to pass the useragent as
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)". 

:-/


Mike
-- 
Mike Causer                          Email - mailto:[EMAIL PROTECTED]
GPG KeyID 1C2DDA07                       WWW - http://www.mikecauser.org
Flood the fen again! - Wicken Fen enlargement - http://www.wicken.org.uk


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to