Note that there are some explanatory texts on larger screens.

plurals
  1. POStartindex cannot be less than zero showing instead of 404 page
    primarykey
    data
    text
    <p>I have an Umbraco 4.11.10 site, and am having a huge problem with how it's handling 404 errors. It should give me a 'not found' page, but instead is giving me this error. I don't have any advanced plugins installed, and I can verify it's doing it on at least one other site I know of.</p> <p>Any help would be massively appreciated, I'm really stuck on this and am all out of ideas.</p> <blockquote> <p>Server Error in '/' Application.</p> <p>StartIndex cannot be less than zero. Parameter name: startIndex</p> <p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. </p> <p>Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex</p> <p>Source Error: </p> <p>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</p> <p>Stack Trace: </p> <p>[ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex]<br> System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +10698829<br> System.String.Substring(Int32 startIndex) +12<br> AutoFolders.NotFoundHandler.Execute(String url) +538<br> Umbraco.Web.Routing.LookupByNotFoundHandlers.HandlePageNotFound(PublishedContentRequest docRequest) +1148<br> Umbraco.Web.Routing.LookupByNotFoundHandlers.TrySetDocument(PublishedContentRequest docRequest) +10<br> Umbraco.Web.Routing.PublishedContentRequestBuilder.b_<em>1e(IPublishedContentLookup lookup) +15 System.Linq.Enumerable.Any(IEnumerable<code>1 source, Func</code>2 predicate) +146<br> Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument1() +198 Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument() +195 Umbraco.Web.Routing.PublishedContentRequest.ProcessRequest(HttpContextBase httpContext, UmbracoContext umbracoContext, Action`1 onSuccess) +139<br> Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +339 Umbraco.Web.UmbracoModule.b</em>_7(Object sender, EventArgs e) +80<br> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +69</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload