Welcome Guest Search | Active Topics | Sign In | Register

error grid Options
Efraim Santana
Posted: Tuesday, August 9, 2011 10:21:26 PM
Rank: Newbie
Groups: Member

Joined: 8/1/2011
Posts: 1
I did a test with version 9.0.18.2

I put two grid.

The first grid loads data for a datareader and does change with javascript.

the second one adds only data via javascript.

when I save the data, displays the following error.

Code: Visual Basic.NET
[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
   System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +7493051
   EO.Web.Internal.StateDataReader.ReadString() +32
   EO.Web.Internal.ka.a(String A_0) +314
   EO.Web.Internal.ka.a(String A_0) +322
   EO.Web.Internal.ka.a(String A_0) +322
   EO.Web.Internal.ax.b(String A_0) +117
   EO.Web.Internal.ax.a(String A_0, String A_1) +732
   EO.Web.Internal.ax.a(String A_0, String A_1, String A_2) +52
   EO.Web.Internal.ax.b(String A_0, String A_1) +7
   EO.Web.Internal.ca.ac() +224
   EO.Web.WebControlBase.LoadViewState(Object savedState) +71
   EO.Web.Grid.a(Object A_0) +13
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +183
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +134
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +221
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +134
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +221
   System.Web.UI.Page.LoadAllState() +312
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1661
eo_support
Posted: Wednesday, August 10, 2011 10:09:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This looks like a bug. Can you create a test page that can reproduce the problem and post the test page? Please make sure the page runs independently and only contains code needed to reproduce the problem. We will look into it as soon as we have that.

Thanks!
Lenny
Posted: Friday, October 14, 2011 2:42:05 PM
Rank: Newbie
Groups: Member

Joined: 10/14/2011
Posts: 1
Hi eo_support.
Resently we downloaded and purchased your product. When i'm running demo, i often see StartIndex cannot be less than zero. Parameter name: startIndex error.
Can you try please recreate it using my steps.
1) Im going: Html to Pdf>Basic>Web Post Back
2)In the Url box, i'm putting this url: http://www.appraisenj.com/webappraise/login.aspx
3)Click on Run Demo
4)Getting StartIndex cannot be less than zero. Parameter name: startIndex

EO.Pdf.HtmlToPdfException: StartIndex cannot be less than zero.
Parameter name: startIndex
at EO.Pdf.HtmlToPdfException.b(Exception A_0)
at EO.Pdf.Internal.j1.g()
at EO.Pdf.HtmlToPdf.a(j1 A_0)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName)
at EOPDFDemo.Demos.HtmlToPdfDemos.Basic.WebPost.RunDemo(String outputFileName, IDemoArgs args) in C:\Program Files\Essential Objects\EO.Pdf 2011.2\Samples\EOPdfDemo\VB\Demos\HtmlToPdf\Basic\WebPost.vb:line 29
at EOPDFDemo.RunDemoForm.timer1_Tick(Object sender, EventArgs e) in C:\Program Files\Essential Objects\EO.Pdf 2011.2\Samples\EOPdfDemo\VB\RunDemoForm.vb:line 32
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at EOPDFDemo.MainForm.RunDemo() in C:\Program Files\Essential Objects\EO.Pdf 2011.2\Samples\EOPdfDemo\VB\MainForm.vb:line 520

Thank you
Quote:
Quote:
eo_support
Posted: Friday, October 14, 2011 3:24:23 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Please download the latest build from our download page. We tried your Url with that build and it seems to run fine.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.