|
Does this error occur every time the
script runs or only under special conditions? If not every time, have you
figured out what the special conditions are so that you can duplicate the error
on command? I think that the two easiest ways to nail
down your exact problem are these:
Either of these two methods should give
you a much better starting point. I haven’t used SQL Server in a couple
of years, but it looks like one of the elements in your insert doesn’t
jive with the constraints or type-defs of the column into which it’s
going. --Ferg From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric C Sandquist I have an application with a series of data collection and
insertion pages ann in the last 2 weeks started receiving this error in my
Request Error template: Error.Diagnostics: String index out of range: -2 null
<br>The error occurred on line 28. Line 28 of the code consists of the following: <CFINSERT datasource="#Application.DSN#"
tablename="retailattributes" formfields="anchor1, anchor2,
anchor3, trafficcountNS, trafficcountEW, parkingratio, propidnumber, radius1,
population1, HH1, HHincome1, radius2, population2, HH2, HHincome2, radius3,
population3, HH3, HHincome3"> Has anyone else ever gotten an error such as this? It is
just a simple insert, all the other pages work, It is just this one spot... The
database is in SQL 2K. I can't seem to find reference to -2 anywhere
regarding this message type... Eric I am using the free version of SPAMfighter for private users. |
- String index out of range: -2 null <br>The error oc... Eric C Sandquist
- RE: String index out of range: -2 null <br>The... Daniel Elmore
- Re: String index out of range: -2 null <br>The... Matt Woodward
- RE: String index out of range: -2 null <br>The... Ken Ferguson
- RE: String index out of range: -2 null <br>... Eric C Sandquist
- RE: String index out of range: -2 null <b... Dan Blackman
