Copied to clipboard

Flag this post as spam?

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


  • Sherlon 13 posts 113 karma points
    Aug 11, 2019 @ 15:51
    Sherlon
    0

    Umbraco 8: DocumentType Error

    Hi I get this "Received an error from the server" everything I access the Settings -> DocumentType section. Anybody know how I can fix this?

    Error when going to Settings - DocumentType using Umbraco 8

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Aug 11, 2019 @ 17:55
    Søren Kottal
    0

    Seems like a javascript error. Do you have any errors in the console? Any packages installed?

  • Sherlon 13 posts 113 karma points
    Aug 11, 2019 @ 18:14
    Sherlon
    0

    The console is giving this error below. No package has been installed so far:

    angular.js?cdv=668141514:15536 Possibly unhandled rejection: {"errorMsg":"Failed to get models out-of-date status","data":"\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n

    Server Error in '/' Application.

    \r\n\r\n

    No physical template file was found for template GetModelsOutOfDateStatus

    \r\n\r\n \r\n\r\n 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.\r\n\r\n

    \r\n\r\n Exception Details: System.Exception: No physical template file was found for template GetModelsOutOfDateStatus

    \r\n\r\n Source Error:

    \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\nAn 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.\r\n\r\n
    \r\n\r\n
    \r\n\r\n Stack Trace:

    \r\n\r\n \r\n \r\n
    \r\n
    \r\n\r\n[Exception: No physical template file was found for template GetModelsOutOfDateStatus]\r\n   Umbraco.Web.Mvc.RenderMvcController.CurrentTemplate(T model) in d:\a\1\s\src\Umbraco.Web\Mvc\RenderMvcController.cs:86\r\n   lambdamethod(Closure , ControllerBase , Object[] ) +142\r\n   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +35\r\n   System.Web.Mvc.Async.&lt;&gt;c.&lt;BeginInvokeSynchronousActionMethod&gt;b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39\r\n   System.Web.Mvc.Async.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) +77\r\n   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42\r\n   System.Web.Mvc.Async.<>cDisplayClass110.<InvokeActionMethodFilterAsynchronouslyRecursive>b0() +80\r\n   System.Web.Mvc.Async.<>cDisplayClass112.<InvokeActionMethodFilterAsynchronouslyRecursive>b2() +387\r\n   System.Web.Mvc.Async.<>cDisplayClass112.<InvokeActionMethodFilterAsynchronouslyRecursive>b2() +387\r\n   System.Web.Mvc.Async.<>cDisplayClass112.<InvokeActionMethodFilterAsynchronouslyRecursive>b2() +387\r\n   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42\r\n   System.Web.Mvc.Async.<>cDisplayClass36.<BeginInvokeAction>b4() +50\r\n   System.Web.Mvc.Async.<>cDisplayClass31.<BeginInvokeAction>b1(IAsyncResult asyncResult) +188\r\n   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38\r\n   System.Web.Mvc.<>c.<BeginExecuteCore>b1521(IAsyncResult asyncResult, ExecuteCoreState innerState) +26\r\n   System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +73\r\n   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52\r\n   System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +39\r\n   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38\r\n   System.Web.Mvc.<>c.<BeginProcessRequest>b201(IAsyncResult asyncResult, ProcessRequestState innerState) +40\r\n   System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +73\r\n   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38\r\n   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648\r\n   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213\r\n   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +131\r\n</pre></code>\r\n\r\n                  </td>\r\n               </tr>\r\n            </table>\r\n\r\n            <br>\r\n\r\n            <hr width=100% size=1 color=silver>\r\n\r\n            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0\r\n\r\n            </font>\r\n\r\n    </body>\r\n</html>\r\n<!-- \r\n[Exception]: No physical template file was found for template GetModelsOutOfDateStatus\r\n   at Umbraco.Web.Mvc.RenderMvcController.CurrentTemplate[T](T model) in d:\\a\\1\\s\\src\\Umbraco.Web\\Mvc\\RenderMvcController.cs:line 86\r\n   at lambda_method(Closure , ControllerBase , Object[] )\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.90(IAsyncResult asyncResult, ActionInvocation innerInvokeState)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Controller.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.MvcHandler.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)\r\n   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)\r\n-->","status":500}
    (anonymous) @ angular.js?cdv=668141514:15536
    angular.js?cdv=668141514:15536 TypeError: Cannot create property 'InnerExceptions' on string '
    
        
            
            
            
        

    <body bgcolor="white">
    
            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
    
            <h2> <i>No physical template file was found for template GetModelsOutOfDateStatus</i> </h2></span>
    
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    
            <b> Description: </b>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.
    
            <br><br>
    
            <b> Exception Details: </b>System.Exception: No physical template file was found for template GetModelsOutOfDateStatus<br><br>
    
            <b>Source Error:</b> <br><br>
    
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code>
    

    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.

                  </td>
               </tr>
            </table>
    
            <br>
    
            <b>Stack Trace:</b> <br><br>
    
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>
    

    [Exception: No physical template file was found for template GetModelsOutOfDateStatus] Umbraco.Web.Mvc.RenderMvcController.CurrentTemplate(T model) in d:\a\1\s\src\Umbraco.Web\Mvc\RenderMvcController.cs:86 lambdamethod(Closure , ControllerBase , Object[] ) +142 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +35 System.Web.Mvc.Async.&lt;&gt;c.&lt;BeginInvokeSynchronousActionMethod&gt;b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39 System.Web.Mvc.Async.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) +77 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.<>cDisplayClass110.<InvokeActionMethodFilterAsynchronouslyRecursive>b0() +80 System.Web.Mvc.Async.<>cDisplayClass112.<InvokeActionMethodFilterAsynchronouslyRecursive>b2() +387 System.Web.Mvc.Async.<>cDisplayClass112.<InvokeActionMethodFilterAsynchronouslyRecursive>b2() +387 System.Web.Mvc.Async.<>cDisplayClass112.<InvokeActionMethodFilterAsynchronouslyRecursive>b2() +387 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.<>cDisplayClass36.<BeginInvokeAction>b4() +50 System.Web.Mvc.Async.<>cDisplayClass31.<BeginInvokeAction>b1(IAsyncResult asyncResult) +188 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38 System.Web.Mvc.<>c.<BeginExecuteCore>b1521(IAsyncResult asyncResult, ExecuteCoreState innerState) +26 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +73 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +39 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38 System.Web.Mvc.<>c.<BeginProcessRequest>b20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131

                  </td>
               </tr>
            </table>
    
            <br>
    
            <hr width=100% size=1 color=silver>
    
            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0
    
            </font>
    
    </body>
    

    '

  • Sherlon 13 posts 113 karma points
    Aug 13, 2019 @ 19:26
    Sherlon
    0

    Any ideas how to fix this?

  • Heather Floyd 603 posts 1001 karma points MVP 5x c-trib
    May 14, 2020 @ 22:40
    Heather Floyd
    100

    When I was seeing a similar error, it was related to a custom routing issue. If you have a package, or any custom code which includes:

    RouteTable.Routes.MapRoute(...)
    

    This should be in an IComponent in a v8 site, and in the "ApplicationStarted" event in V7.

    Also, it should NOT have this line after the MapRoute instruction:

    RouteConfig.RegisterRoutes(RouteTable.Routes);
    
  • Sherlon 13 posts 113 karma points
    May 22, 2020 @ 15:30
Please Sign in or register to post replies

Write your reply to:

Draft