Copied to clipboard

Flag this post as spam?

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


  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 24, 2013 @ 20:54
    Jan Skovgaard
    0

    RTE giving error after upgrade from 4.8>4.10.1>4.11.6

    Hi All

     

    I've just finished an upgrade from 4.0 to 4.11.6. Somwhere between the steps from 4.8 > 4.10.1 > 4.11.6 the Rich text editor in the backoffice all of the sudden throws the below error. If I change the datatype of my property then the node is displaying fine in the backoffice.

     

    This is the ysod message thrown

     

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

     

    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: 

     

    [NullReferenceException: Object reference not set to an instance of an object.]

       Umbraco.Core.IO.FileSystemProviderManager.<GetFileSystemProvider>b__1(String s) +34

       System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72

       Umbraco.Core.IO.FileSystemProviderManager.GetFileSystemProvider(String alias) +52

       Umbraco.Core.IO.FileSystemProviderManager.GetFileSystemProvider() +130

       umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl..ctor() +160

       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +342

       umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() +100

       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +93

       umbraco.controls.ContentControl.CreateChildControls() +709

       System.Web.UI.Control.EnsureChildControls() +102

       umbraco.controls.ContentControl.OnInit(EventArgs e) +32

       System.Web.UI.Control.InitRecursive(Control namingContainer) +140

       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197

       System.Web.UI.ControlCollection.Add(Control child) +79

       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1253

       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

     

    In the console log I get this error, when clicking a node: GET http://olf2011.localhost/umbraco/editContent.aspx?id=1154 500 (Internal Server Error) 

     

    And after a period of time the umbracotimeout stuff throws an error like this:

    Uncaught TypeError: Object function () {

    umbraco.presentation.webservices.legacyAjaxCalls.initializeBase(this);

    this._timeout = 0;

    this._userContext = null;

    this._succeeded = null;

    this._failed = null;

    } has no method 'GetSecondsBeforeUserLogout' 

    I have tried to delete the temp files in the /TEMP/ClientDependency folder and to increment the version number in the /config/ClientDependency.config file as well but without any luck.

    Also did a re-run on the permissions...

    Looking forward to receive some pointers.

    Cheers,
    Jan

  • Bjørn Fridal 274 posts 784 karma points
    Apr 24, 2013 @ 21:08
    Bjørn Fridal
    2

    Hi,

    I got something like the first error after a similar upgrade. My problem was that I had forgotten to copy the FileSystemProviders.config file into the config folder.

    Cheers
    Bjørn 

  • Lee Kelleher 4024 posts 15833 karma points MVP 13x admin c-trib
    Apr 24, 2013 @ 21:20
    Lee Kelleher
    100

    ... and make sure that the config is referenced in your Web.config (as a <section>)

    http://our.umbraco.org/forum/getting-started/installing-umbraco/34859-Error-after-reverting-upgrade

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 24, 2013 @ 21:30
    Jan Skovgaard
    0

    Thanks guys, the file was present in the config folder but the section was missing in the web.config file.

    However I now get this screen instead...

    No provider found with the alias 'media'

    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.ArgumentException: No provider found with the alias 'media'

    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: 

    [ArgumentException: No provider found with the alias 'media']
       Umbraco.Core.IO.FileSystemProviderManager.<GetFileSystemProvider>b__1(String s) +543
       System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72
       Umbraco.Core.IO.FileSystemProviderManager.GetFileSystemProvider(String alias) +52
       Umbraco.Core.IO.FileSystemProviderManager.GetFileSystemProvider() +130
       umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl..ctor() +160
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +342
       umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() +100
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +93
       umbraco.controls.ContentControl.CreateChildControls() +709
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1253
       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

  • Bjørn Fridal 274 posts 784 karma points
    Apr 24, 2013 @ 21:36
  • Lee Kelleher 4024 posts 15833 karma points MVP 13x admin c-trib
    Apr 24, 2013 @ 21:36
    Lee Kelleher
    1

    Hi Jan, what do you have inside the FileSystemProviders.config?

    There should be an entry for the "media" provider.

    Cheers, Lee.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 24, 2013 @ 21:39
    Jan Skovgaard
    0

    H5IS, Bjørn was spot on - forgot to add <FileSystemProviders configSource="config\FileSystemProviders.config" /> in the <configuration> section.

    However now I get this...

    Input string was not in a correct format.

    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.FormatException: Input string was not in a correct format.

    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: 

    [FormatException: Input string was not in a correct format.]
       System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +9591963
       System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +797
    
    [ArgumentException: Incorrect TinyMCE configuration.
    Parameter name: Configuration]
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +5822
       umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() +100
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +93
       umbraco.controls.ContentControl.CreateChildControls() +709
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1253
       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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 24, 2013 @ 21:45
    Jan Skovgaard
    0

    ...turns out I had deselected all possible options in the configuration of the datatype doing some testing earlier today. It's now configured and it works! Yay!

    Thanks a bunch for your help guys, you rock!

    /Jan

  • Bjørn Fridal 274 posts 784 karma points
    Apr 24, 2013 @ 21:46
    Bjørn Fridal
    0

    Cool :)

    Cheers
    Bjørn 

Please Sign in or register to post replies

Write your reply to:

Draft