Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Johnson 1 post 21 karma points
    Jun 30, 2013 @ 10:11
    John Johnson
    0

    Error opening cshtml scripting file in backend.

    I recently migrated a "staging" version of a website using 4.7.2 to a "live" version by changing the host headers in IIS to reflect the live website. The old "live" version thus became outdated and has gone away. Well, I do not know if that had anything to do with the error I am getting, but I thought I would include it.

    Now, when I try to open a cshtml scripting file within the backend to edit it, I get an error. The error is pasted below. I have tried searching relentlessly for an answer and I am unable to find one. Now, the frontend of the website appears to be functioning as it should.

    Does anyone have any idea on what to do here?

    Thanks in advance,
    John

     

    Server Error in '/' Application.

    Index was outside the bounds of the array.

     

    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.IndexOutOfRangeException: Index was outside the bounds of the array.

    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:

    [IndexOutOfRangeException: Index was outside the bounds of the array.]
       System.Collections.Generic.Enumerator.MoveNext() +75
       umbraco.cms.businesslogic.macro.MacroEngineFactory.GetSupportedUILanguages() +358
       umbraco.cms.presentation.developer.editPython.validScriptingExtensions() +57
       umbraco.cms.presentation.developer.editPython.OnInit(EventArgs e) +207
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

     

     

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jul 01, 2013 @ 00:32
    Lee Kelleher
    0

    Hi John, welcome to the forum.

    My first thought is to check if you have a copy of "umbraco.MacroEngines.dll" in your /bin folder? (or make sure that it's the correct one for your version of Umbraco (v4.7.2).

    Failing that, I'm not too sure - take a look in the "umbracoLog" database table, see if there's any warning signs in there.

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft