Wednesday, March 21, 2012

Index out of range.....what is this??

I am getting an error:
"Index was out of range. Must be non-negative and less than the size of the
collection. Parameter name: index"
when I run my report on the server. It works fine when it is run locally.
Does anyone know what this message means? Have I screwed up something?
Thanks,
CraigI found this reference,
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=214062&SiteID=1
Hope that helps!
"Craig" wrote:
> I am getting an error:
> "Index was out of range. Must be non-negative and less than the size of the
> collection. Parameter name: index"
> when I run my report on the server. It works fine when it is run locally.
> Does anyone know what this message means? Have I screwed up something?
> Thanks,
> Craig
>
>|||Yeah this kind of was the problem. I had a rogue line that was on the edge
of the report. Once I removed that line the exception disappeared. It must
have tried to print that line on the next page.
"daw" <daw@.discussions.microsoft.com> wrote in message
news:C3E2873F-B9A1-4089-B4B0-DB2B0AD94A21@.microsoft.com...
>I found this reference,
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=214062&SiteID=1
> Hope that helps!
> "Craig" wrote:
>> I am getting an error:
>> "Index was out of range. Must be non-negative and less than the size of
>> the
>> collection. Parameter name: index"
>> when I run my report on the server. It works fine when it is run
>> locally.
>> Does anyone know what this message means? Have I screwed up something?
>> Thanks,
>> Craig
>>

No comments:

Post a Comment