Umbraco CMS - startindex cannot be less than zero error is showing instead of 404 error page

I am running into an issue with an Umbraco website.
If I miskey the URL on a top level page, e.g. mysite.com/wrongpage I get an asp error.
If I miskey it on a subpage, even if the top level page is incorrect too, I get my correct 404 error e.g. mysite.com/wrongpage/wrongpage2
At this point I'm trying to find out whether it's a bug in Umbraco 4.11.10 or if this error is caused by something obvious. I'm completely stuck and not particularly technical (I'm not a developer).
If anyone could help explain what this error means, and/or if there's any way to correct or bypass it I would really appreciate the help.
The full contents of the error are: 
Server Error in '/' Application.
StartIndex cannot be less than zero.
Parameter name: startIndex
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. 
Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
Source Error: 
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.
Stack Trace: 
[ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +10698829
System.String.Substring(Int32 startIndex) +12
AutoFolders.NotFoundHandler.Execute(String url) +538
Umbraco.Web.Routing.LookupByNotFoundHandlers.HandlePageNotFound(PublishedContentRequest docRequest) +1148
Umbraco.Web.Routing.LookupByNotFoundHandlers.TrySetDocument(PublishedContentRequest docRequest) +10
Umbraco.Web.Routing.PublishedContentRequestBuilder.<LookupDocument1>b__1e(IPublishedContentLookup lookup) +15
System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +146
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
Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +339
Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +80
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Hi Aaronb9,
Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at
http://forums.asp.net/. It is appropriate and more experts will assist you.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Java.sql.SQLException: Invalid precision value. Cannot be less than zero

    Hi,
    In my portlet application have several jsf tables which bind to several oracle tables. I have tested the portlet in pluto and tried to deploy it on liferay. However, I get an exception stating:
    java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    What could this exception mean? Has anyone else encountered this?
    Marc
    P.S. The trace is shown below:
    Feb 6, 2007 12:34:56 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.RuntimeException: java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Cach
    edRowSetDataProvider.java:343)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(Ca
    chedRowSetDataProvider.java:300)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(Cache
    dRowSetDataProvider.java:624)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.
    java:806)
    at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableR
    owGroup.java:429)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowCount(TableRowGroup
    .java:749)
    at com.sun.rave.web.ui.component.Table.getRowCount(Table.java:307)
    at com.sun.rave.web.ui.renderer.TableRenderer.renderTitle(TableRenderer.
    java:400)
    at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(TableRenderer.
    java:123)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
    a:683)

    I've dug deeper into this problem and am able reproduce the error in the Pluto server. To reproduce this error, I modified my Oracle jdbc driver from the JSC embedded driver (smoracle.jar) to the Oracle native driver (ojdbc14.jar). Now, I am getting the exception in my Sun Application Server:
    What is the difference between ojdbc14.jar and smoracle.jar that could cause this problem? What can I do so that I can fix this problem for ojdbc14.jar?
    Thanks,
    Marc
    P.S.
    The problem is with the clob column (DOR_NOTE_TX). The stack trace is:
    [#|2007-02-06T09:00:53.663-0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=16;|
    Reader executing query ps=0 SELECT DOR_NOTE_DT, DOR_NOTE_TX FROM DOR.DOR_NOTE_DATA WHERE DOR_NOTE_CD='SECURITY' AND TO_CHAR(DOR_Note_Dt, 'mm/dd/yyyy') = '02/05/2007'
    No Params|#]
    [#|2007-02-06T09:00:53.679-0800|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.sql.SQLException: Invalid precision value. Cannot be less than zero
    Message was edited by:
    marcnikko

  • How to report only quantities less than zero on a calculated field

    I do not understand why my text will not work when it comes to reporting only 'Missing POs' less than zero, I assume it is because I am using 'int' on some fields?
    Any advice?
    SELECT
    t0.father as 'Parent Code',
    t2.itemname as 'Parent Description',
    t2.frgnname as 'Parent Status',
    t0.code as 'Child Code',
    t1.itemname as 'Child Description',
    t1.frgnname as 'Child Status',
    t0.comment as 'Master',
    cast(t3.onhand as int) as 'Child Uncommitted Stock',
    cast(t3.iscommited as int) as 'Child Committed Stock',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Child Free Stock',
    cast(t3.onorder as int) as 'Purchase Orders',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) + cast(t3.onorder as int) as 'Missing POs'
    FROM
    itt1 t0
    inner join oitm t1 on t0.code = t1.itemcode
    inner join oitm t2 on t0.father = t2.itemcode
    LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
    Where T3.WHSCODE Like '[%0]%' and 'Missing POs' < 0
    ORDER BY
    'Missing POs' asc, t0.father, t0.code
    Many thanks,
    Robin (I will be awarding points on all my outstanding questions shorlty - management time pressure at mo!)

    Try this:
    SELECT
    t0.father as 'Parent Code',
    t2.itemname as 'Parent Description',
    t2.frgnname as 'Parent Status',
    t0.code as 'Child Code',
    t1.itemname as 'Child Description',
    t1.frgnname as 'Child Status',
    t0.comment as 'Master',
    cast(t3.onhand as int) as 'Child Uncommitted Stock',
    cast(t3.iscommited as int) as 'Child Committed Stock',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Child Free Stock',
    cast(t3.onorder as int) as 'Purchase Orders',
    (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int) as 'Missing POs'
    FROM
    itt1 t0
    inner join oitm t1 on t0.code = t1.itemcode
    inner join oitm t2 on t0.father = t2.itemcode
    LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
    Where T3.WHSCODE Like '%0%' and (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int) < 0
    ORDER BY
    (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int),t0.father, t0.code

  • I have reached my 5 computer max and reset less than 12 months ago - I am getting an error to say I cannot delete the accounts until 9 September - is there anyway around this?

    i have reached my 5 computer max and reset less than 12 months ago - I am getting an error to say I cannot delete the accounts until 9 September - is there anyway around this?

    Have you had a Look Here...
    Aurthorise / Deaurthorise About
    http://support.apple.com/kb/HT1420

  • Excise invoice quantity cannot be less than the quantity received

    Hi,
    I have done MIGO with part 1 entry but while doing J1IEX, I am getting an error message 4F109 : Excise invoice quantity cannot be less than the quantity received.
    Please note that we have done MIGO with 5000 qty. and doing J1IEX with short 3000 qty.
    Regards.

    Hi,
    For this case of "Part I" selected during GR, you need to create Excise invoice thro J1IEX ->  Capture Excise Invoice -> Good receipt (use the material document number), which will complete the part II posting. Then you can proceed with MIRO.
    With regards,
    Jeeva.

  • [E2010SP3] [EWS2.0] [C#][Windows] - Multi-threaded EWS App is encountering ArgumentOutOfRange - Count cannot be less then zero

    Hi,
           I have a multi-threaded EWS app that is pushing email, appointments, and contacts to Exchange2010SP3. Each thread is using a separate instance ExchangeService and is working with a different mailbox on each thread. We are seeing that
    when 4 or more threads are running we are starting to see ArgumentOutOfRange [Count cannot be less then zero] exceptions in the EWS library. These errors appear to be happening sporadically.
    Here is an example of one of stack traces:
    Stack Trace -- 
    at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count) 
    at System.IO.StreamWriter.Write(String value) 
    at System.IO.TextWriter.SyncTextWriter.Write(String value) 
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.BuildEwsHttpWebRequest() 
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request) 
    at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalBindToItems(IEnumerable`1 itemIds, PropertySet propertySet, ServiceErrorHandling errorHandling) at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToItem[TItem](ItemId itemId, PropertySet
    propertySet) at Quest.Apollo.MigrationProviders.Interfaces.GenericRetryAction.InternalRetry[T](RetryMethod`1 retryMethod) in c:\Builds\272\Apollo\1.6.0 Nightly\Sources\Apollo.MigrationProviders.Interfaces\GenericRetryAction.cs:line 111 at Quest.Apollo.MigrationProviders.Interfaces.GenericRetryAction.Retry[T](RetryMethod`1
    retryMethod, Boolean disableRetry) in c:\Builds\272\Apollo\1.6.0 Nightly\Sources\Apollo.MigrationProviders.Interfaces\GenericRetryAction.cs:line 135 
    These exceptions are occurring on various EWS operations, but mostly on FindItems and Bind operations. They only seem to occur against Exchange 2010 servers at least that's what I've seen so far. These issues appear to resemble some kind of race condition.
    I did some searches on EWS, Race Condition, SyncTextWriter and I came across an interesting issue while searching on SyncTextWriter and Race Condition. I'm curious if this is what is causing this error to occur in the EWS library:
    http://connect.microsoft.com/VisualStudio/feedback/details/249253/synchronized-textwriter-not-synchronizing-properly
     The post indicates that SyncTextWriter was only designed to synchronize multiple threads against the same instance and that it was not designed to synchronize multiple threads against multiple instances SyncTextWriter. I've noticed that in all instances
    of this error I've seen the stack traces always end up inside of SyncTextWriter. Is this a bug in the EWS libraries use of SyncTextWriter? Note: the above article does post workarounds for this issue. Can't tell if the EWS library is using any of these workarounds
    or is avoiding this issue in some other way.
    I know Microsoft doesn't claim that the EWS library is thread safe. However, I've seen many posts that seem to indicate that if a separate instances of the exchange service are used for each thread it works fine. Futhermore, we've run this app many times against
    Office 365 and haven't seen this issue. It appears to only happen against Exchange 2010, but that maybe due to better throughput to the Exchange 2010 server compared to the Office 365 servers. Any help or insight would be greatly appreciated.
                 Thanks,
                      Steve
     

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Change font colour to red if value less than zero

    Please forgive as I am not sure if this should go to the SQL or Application Thread..
    My questions is regarding SQL in Application Express
    I want to display my field (ADJ (INCL GST) in a red colour if its value is less than zero
    here is SQL code
    select "TW_BILL_ADJ_DATA"."CUSTOMER" as "CUSTOMER",
    "TW_BILL_ADJ_DATA"."ORIGINATER" as "ORIGINATOR",
    CASE WHEN (CREDITDEBIT) = 'Credit' THEN (0 - ADJUSTMENT_INCL_GST) ELSE ADJUSTMENT_INCL_GST END "ADJ (INCL GST)"
    from TW_BILL_ADJ_DATA

    Thankyou for the example above, after much searching I have also found another way to perform the same task
    select     "BILL_DATA"."BILLING_CODE",
    CASE WHEN (CREDITDEBIT) = 'Credit' then
              '<span style="color:Red;">'
              || TO_CHAR (0 - "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             else
              '<span style="color:Green;">'
              || TO_CHAR ( "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             end "Adj (incl GST)"
    from TW_TABLE
    -----------------------------------------------------------------------------------

  • E2136 ySubscriptXOffset is less than zero -11

    Hallo,
    Every (or mostly) italic fonts generated by the FDK give the the
    following error code from the MS Fontvalidator.
    E2136 ySubscriptXOffset is less than zero -11
    Is this a real problem?
    Andreas

    We believe this is a bug inthe Font Validator, and have reported it to Microsoft. There are perfectly good reasons to have automatic subscript to shift stuff to the left with an italic font.
    T

  • How to export all Artboards for different mobile resolutions? e.g. My artboards are 1080 x 1920 px, I want them all to 216 x 384px... ( I m using export .png by adjust ppi, but cannot set less than 72ppi)

    e.g. My artboards are 1080 x 1920 px, I want them all to 216 x 384px...
    ( I am using export .png by adjust ppi, but cannot set less than 72ppi)

    Sorry to hear that. There is an enhanced version on Adobe Exchange that may be more "bug free".
    https://creative.adobe.com/addons/products/2955#.VNQ6Asbdkqg
    You might want to test is on a smaller file and see if it will export the PNGs at the proper resolution. My quick test showed that it did.
    You can delete the "Layer" export and get JUST the Artboards by choosing "Export Layers>None". You may have already tried that.
    You might also break your file into 2 or more files and see if it works with fewer artboards.
    I have had good success with the free version. Perhaps the paid version will solve the issue.

  • Control account balance isn't less than zero

    Dear buddies:
    I wanna control  that account balance isn't less than zero when entering G/L document. I remember there is a warnning message for bank account, but I forgot how to configurate it!
    Please you help me, thanks!
       sherky

    Hello
    Not sure what customizing you refer to but you can do this control trough a validation at complete document level.
    Regards
    Javier

  • Cost estimate less than zero

    hi
    i have a scenario
    where i get the free of cost material form customer
    i add the conversion,the scarp generated m
    if i use the scrap generated as credit the cost estimate is negative
    but i should bcz this is a sfg and it fits into aonther FG and the customer do concder the scrap generated credit during pricing
    but at the sfg level the cost estimate is negative.how to do this .

    maintain the Activity rates "zero" in KP26 for respective Cost center and Activity type.
    Material cost comes from Material master.....there we need to have zero price
    and try to run the CK11N, you have the chance to get the zero cost estimated.
    No idea how it works....do some R & D in DEV
    Thanks

  • Inbound delivery qty cannot be less than previously GR-posted qty

    Kindly suggest what could be the reason for appearing the subject line error message while doing GR-MIGO w.r.t inbound delivery.
    Regards

    we have not created any TO,we are using shipment snd shipment cost document processing......w.r.t inbound delivery.
    then we are doing GR w.r.t inbound delivery using migo, but for information to all VL32N is also throwing errosr message.
    scenario PO qty 200 TS(thousand)
    Inbound qty        200 TS
    1st GR done        96 TS
    Now while doing second time GR w.r.t same inbound for the remaining qty i.e. 104 TS the system throwing message VLA-320,desc is written over the subject line.
    material SKU is EA and order unit TS, conversion maintained 1 TS = 1000 EA.
    why promting that message when there are open qty of 104 TS yet to GR.

  • New error for me after less than a day of trying solution for 1418 error

    Now I get the error of -69. That a corrupted file apparently is mucking up the works. I tried what the solution offered, I can't catch the file name because it doesn't show any file names while syncing.
    I've cleared the entire library, cleaned up my folders and got rid of anything that isn't iPod format friendly.
    I've made an appointment at the Genius bar tomorrow, but this is just aggravating to have a piece of hardware bricked by Apples own software. Has anyone found a solution to the "File not found" or "Error 1417, 1718, 1428" issue so many people seem to be posting on?

    Please call Apple at 1-800-275-2273. They were very nice to me on the phone and ask them to look into this. The more reports they receive, the better chance we have that Apple will stand behind the iPod and help us out.

  • I cannot log into facebook. I get the following message: 404 Error - Not Found The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request,

    I am not able to go to the facebook site. www.facebook.com is not working. I get the following error message. 404 Error - Not Found
    The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:
    * You have used the proper case; requests ARE case-sensitive!
    * You have entered the URL correctly. (i.e. proper directory/filename)
    * You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
    * You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
    * The user/file still exists on this server.
    I also get redirected to "Busca Google" when typing www.facebook.com in the address bar.
    == URL of affected sites ==
    http://facebook.com; buscagoogle.com

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • I cannot reply to or compose emailsin my verizon email account, 404 error. Worksfine on IE.

    Same problem!
    solutions presented seem cumbersome, there should be a simple fix.
    I just migrated to firefox from IE. Looks as I might have to go back to IE to use email!
    Not what I intended when moving to firefox after rave reviews...they just left one thing out.....

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Click the menu button [[Image:New Fx Menu]] and click History button, and then Clear Recent History... .
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

Maybe you are looking for

  • I cannot play cd or dvd on my disc drive

    It is Macbook pro 13-inch with 4GB 1333MHz DDR3, OS X 10.9.4 (13E28), bought in late 2011. Today I have some DVD and CD of my coursebook and want to play it on my Macbook pro, but I could not even insert it into the drive first. Then I go to System P

  • Error when retrieving oracle clobs

    Here's the sql statement that we are running: SELECT dbms_lob.substr(sql_statement,dbms_lob.getlength(sql_statement),1) sql_statement FROM query WHERE query_tk = [Param.1] If the sql_statement is > 4000 chars, we are getting this error: Fatal Error A

  • Mountain Lion extremly slow on Macbook Pro

    Upgraded from Snow Leopard to OS X Mountain Lion yesterday and Having god awful performance issues.  the wheel of death is always running. After Upgrading everything runs so slow. every app is very slow. I have deleted apps I dont need, Ran a disk Ut

  • Gamers Club Not Applying to Online Purchase

    This evening I went online to purchase a PS4 game and my GCU discount isn't being applied. I purchased my GCU subscription during the deal you had when Mortal Kombat X was released. I brought the card I received in the mail to the store and they info

  • Help with elements 6 - tools

    I have been working with both elements 5 and CS4 without any problems.  Yesterday I purchased a wacom tablet and elements 6 was part of the package.  I loaded it and tried to start to edit some photos.  I am unable to get the clone tool, healing tool