Hi Guys,
I see this error every couple of days in my error log. No custom code around this area so just wondering if anyone can advise on the cause?
Also does able commerce log any more verbose (or can be configured to) information such as requested URL, input values on the exceptioning method etc?
I don't use the mobile site, its currently set to disabled -> so just wondering why this code would even be executing?
Thanks,
An error has occured at http://www.curvecables.asia/
Exception: Index and length must refer to a location within the string. Parameter name: length Stack Trace: at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at CommerceBuilder.Services.MobileDetection.IsMobileDevice(String userAgent) at CommerceBuilder.Services.MobileDetection.GetBrowserCapabilities(HttpRequest request) at System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request) at System.Web.HttpRequest.get_Browser() at System.Web.Security.CookielessHelperClass.UseCookieless(HttpContext context, Boolean doRedirect, HttpCookieMode cookieMode) at System.Web.Security.FormsAuthenticationModule.ExtractTicketFromCookie(HttpContext context, String name, Boolean& cookielessTicket) at System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e) at System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Frequent Error from MobileDetection.IsMobileDevice
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: Frequent Error from MobileDetection.IsMobileDevice
Which version of AC Gold are you at?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Frequent Error from MobileDetection.IsMobileDevice
If you want to have more verbose logging without having to look at server logs or Able logs, you can install Elmah on the website. We have done that on some sites.
http://code.google.com/p/elmah/
http://code.google.com/p/elmah/
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Frequent Error from MobileDetection.IsMobileDevice
Hi, my version of Able commerce gold is == VERSION: 7.0.8.5410 - known issue perhaps?
Any further info there would be appreciated, thanks.
- Will take a look at this elmah application (thanks for the tip).
Cheers,
Any further info there would be appreciated, thanks.
- Will take a look at this elmah application (thanks for the tip).
Cheers,