Welcome Guest Search | Active Topics | Sign In | Register

Length cannot be less than zero Error in DatePicker Options
AlexisVZ
Posted: Thursday, September 6, 2007 7:36:52 AM
Rank: Advanced Member
Groups: Member

Joined: 8/27/2007
Posts: 44
Hello,

From our eventlog I can see that the DatePicker control is occasionnally generating the following error. Do you have any idea about what might cause this error ?

Best Regards,
Alexis


Exception information:
Exception type: ArgumentOutOfRangeException
Exception message: Length cannot be less than zero.
Parameter name: length

Request information:
Request URL: http://www.dolcevita.be/frmHome.aspx
Request path: /frmHome.aspx
User host address: 201.58.216.100
User:
Is authenticated: False
Authentication Type:
Thread account name: HB1638\apDolcevita

Thread information:
Thread ID: 9
Thread account name: HB1638\apDolcevita
Is impersonating: False
Stack trace: at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at EO.Web.Internal.ee.a(String A_0)
at EO.Web.Internal.ee..ctor(HttpRequest A_0)
at EO.Web.Internal.bu.a()
at EO.Web.Internal.c1.a()
at EO.Web.Internal.bu.a(EventHandler A_0, Boolean A_1)
at EO.Web.WebControlBase.OnPreRender(EventArgs e)
at EO.Web.WebControl.a(EventArgs A_0)
at EO.Web.Calendar.b(EventArgs A_0)
at EO.Web.Calendar.a(EventArgs A_0)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:
eo_support
Posted: Thursday, September 6, 2007 7:43:07 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Yes. That occurs when the page is accessed by a web site crawer that pretended to be Mozilla/FireFox but does not specify the version number in their agent string. When our code tries to parse the version number, it throws out this error. It should not occur when the website is accessed by a real browser.
AlexisVZ
Posted: Thursday, September 6, 2007 7:50:22 AM
Rank: Advanced Member
Groups: Member

Joined: 8/27/2007
Posts: 44
Is this the case of Googlebot ? If so, does it mean that the bot will receive an error and will not index the site ?
anyway, it would be nice if you could "catch" this error in a future release, so that these bots have no problem and that we do not receive the errors in the eventlog anymore ... any chance it will be ? When ?
eo_support
Posted: Thursday, September 6, 2007 7:57:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. I don't think it's Googlebot or any big search engines. Our own website is being crawered by those big search englines often and we do not see this error. We first noticed this error a while ago and we already wrapped the code around against that particular crawers. We will look into it and see if we can expand the catch block further.


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.