Copied to clipboard

Flag this post as spam?

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


  • donohoer 4 posts 24 karma points
    Apr 12, 2018 @ 23:48
    donohoer
    0

    Umbraco.Web.Mvc.RenderMvcController - No physical template file was found for template

    Hello ,

    I am on an upgrade path from a previous v4 of umbraco. I had got as far as 6.03 and deployed it successfully. I am now trying to make the jump to 7.0.0 as my next upgrade point from 6.03 and yes i ran into some database issues as part of this upgrade but got them sorted.

    As i say, I have tried to upgrade to v7.0.0 but i have run into an additional issue when i run my the website, it gives me blank pages and the log file shows the follows

    "Umbraco.Web.Mvc.RenderMvcController - No physical template file was found for template XXX"

    I have tried several pages on the site and they produce the same error but obviously for a different template

    Some additional info 1. I am trying to continue with xslt rather than razor and the RenderMvcController has me worried. I have the following in Umbracosettings.config

      <templates>
        <!-- To switch the default rendering engine to MVC, change this value from WebForms to Mvc -->
        <useAspNetMasterPages>true</useAspNetMasterPages>
        <defaultRenderingEngine>WebForms</defaultRenderingEngine>
      </templates>
    
    1. I have some old controls which do not work in 7 but i continued with the upgrade as i assumed the data would jut get ported. I'm not sure if these are affecting the running of the website

    2. I can still run the backend as normal and login (v7.0 looks nice) so the database looks to be connecting correctly

    3. I have republished all, stopped the app pool and run

      ~/umbraco/dialogs/republish.aspx?xml=true

    The only issue here that i can see is that it runs rather quick. Say about 20 seconds when i though it would have taken several minutes.

    1. As best i can i have checked the folder permissions, going so far as to promote relevant user to the main Users group.

    2. I have deleted the indices from the temp folder and let them regenerate too but this didn't help either.

    3. my appsetting.config looks like the following

      <?xml version="1.0" encoding="utf-8"?>
      

    Thanks in advance for any help...

    Regards,

    RayzerSharpe

  • donohoer 4 posts 24 karma points
    Apr 12, 2018 @ 23:49
    donohoer
    0

    Sorry the last point didn't post correctly

    <?xml version="1.0" encoding="utf-8"?>
    <appSettings>
      <!-- 
        Umbraco web.config configuration documentation can be found here: 
        http://our.umbraco.org/documentation/using-umbraco/config-files/#webconfig
        -->
      <add key="umbracoConfigurationStatus" value="7.0.0" />
      <add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />
      <add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
      <add key="umbracoPath" value="~/umbraco" />
      <add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
      <add key="umbracoStorageDirectory" value="~/App_Data" />
      <add key="umbracoHideTopLevelNodeFromPath" value="true" />
      <add key="umbracoUseDirectoryUrls" value="true" />
      <add key="umbracoTimeOutInMinutes" value="20" />
      <add key="umbracoDefaultUILanguage" value="en" />
      <add key="umbracoUseSSL" value="false" />
    
      <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
      <add key="webpages:Enabled" value="false" />
      <add key="enableSimpleMembership" value="false" />
      <add key="autoFormsAuthentication" value="false" />
    
      <add key="log4net.Config" value="config\log4net.config" />
    
    </appSettings>
    
  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Apr 13, 2018 @ 05:58
    Dave Woestenborghs
    0

    Hi,

    Could set your log leve to the debug and post some more information when this error happens ?

    Dave

  • donohoer 4 posts 24 karma points
    Apr 13, 2018 @ 17:11
    donohoer
    0

    I am hoping you meant in the log4net config i have done the following

    <logger name="Umbraco.Core">
        <level value="DEBUG" />
    </logger>
    

    When i start the site now i get the following in my Umbracotrace. Sry for the dump

    2018-04-13 18:04:20,254 [19] DEBUG Umbraco.Core.CoreBootManager - [Thread 3] Umbraco application starting
    2018-04-13 18:04:20,354 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Determining hash of code files on disk
    2018-04-13 18:04:20,365 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Hash determined (took 9ms)
    2018-04-13 18:04:20,373 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
    2018-04-13 18:04:20,391 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types umbraco.interfaces.IApplicationStartupHandler from persisted cache
    2018-04-13 18:04:20,393 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 31 (took 18ms)
    2018-04-13 18:04:20,572 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
    2018-04-13 18:04:20,573 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter from persisted cache
    2018-04-13 18:04:20,573 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 0ms)
    2018-04-13 18:04:20,573 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
    2018-04-13 18:04:20,574 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Core.PropertyEditors.IPropertyValueConverter from persisted cache
    2018-04-13 18:04:20,574 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 14 (took 0ms)
    2018-04-13 18:04:20,585 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
    2018-04-13 18:04:20,586 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Web.Mvc.SurfaceController from persisted cache
    2018-04-13 18:04:20,586 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 4 (took 0ms)
    2018-04-13 18:04:20,586 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
    2018-04-13 18:04:20,587 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Web.WebApi.UmbracoApiController from persisted cache
    2018-04-13 18:04:20,587 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 28 (took 1ms)
    2018-04-13 18:04:20,593 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
    2018-04-13 18:04:20,594 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Core.Media.IThumbnailProvider from persisted cache
    2018-04-13 18:04:20,594 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 0ms)
    2018-04-13 18:04:20,594 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
    2018-04-13 18:04:20,594 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Core.Media.IImageUrlProvider from persisted cache
    2018-04-13 18:04:20,595 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 0ms)
    2018-04-13 18:04:21,409 [19] DEBUG Umbraco.Core.ObjectResolution.Resolution - [Thread 3] Freezing resolution
    2018-04-13 18:04:21,462 [19] DEBUG Umbraco.Core.CoreBootManager - [Thread 3] Umbraco application startup complete (took 1170ms)
    2018-04-13 18:04:21,505 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of umbraco.interfaces.IApplication
    2018-04-13 18:04:21,505 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types umbraco.interfaces.IApplication from persisted cache
    2018-04-13 18:04:21,505 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 0ms)
    2018-04-13 18:04:21,559 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Web.Trees.TreeController
    2018-04-13 18:04:21,559 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Web.Trees.TreeController from persisted cache
    2018-04-13 18:04:21,559 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Web.Trees.TreeController, found 4 (took 0ms)
    2018-04-13 18:04:21,570 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="true" sortOrder="0" alias="cacheBrowser" application="developer" title="CacheBrowser" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" assembly="umbraco" type="loadCache" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,570 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="false" sortOrder="0" alias="CacheItem" application="developer" title="Cachebrowser" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" assembly="umbraco" type="loadCacheItem" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,571 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="true" sortOrder="6" alias="housekeeping" application="developer" title="Housekeeping" iconClosed="folder.gif" iconOpen="folder_o.gif" assembly="FALMHousekeepingAppTree" type="loadHousekeeping" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,571 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="true" sortOrder="6" alias="robotsTxt" application="developer" title="Robots.txt" iconClosed="../../robots-txt/robot.png" iconOpen="../../robots-txt/robot.png" assembly="Bodenko.Umbraco.Tree.RobotsTxt" type="RobotsTxtTree" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,571 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="true" sortOrder="30" alias="ScheduledTasks" application="developer" title="Scheduled Tasks" iconClosed="folder.gif" iconOpen="folder_o.gif" assembly="TaskScheduler" type="Trees.TaskScheduleTree" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,571 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="false" sortOrder="40" alias="ScheduledTaskTree" application="developer" title="Scheduled Tasks" iconClosed="folder.gif" iconOpen="folder_o.gif" assembly="TaskScheduler" type="Trees.ScheduledTaskTree" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,571 [19] WARN  Umbraco.Core.Services.ApplicationTreeService - [Thread 3] The tree definition: <add silent="false" initialize="true" sortOrder="99" alias="rss" application="settings" title="RSS Feeds" iconClosed="folder.gif" iconOpen="folder_o.gif" assembly="umbracoRss" type="BusinessLogic.Tree" action="" /> could not be resolved to a .Net object type
    2018-04-13 18:04:21,572 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of umbraco.interfaces.ITree
    2018-04-13 18:04:21,572 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types umbraco.interfaces.ITree from persisted cache
    2018-04-13 18:04:21,572 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of umbraco.interfaces.ITree, found 19 (took 0ms)
    2018-04-13 18:04:21,583 [19] INFO  Umbraco.Web.Search.ExamineEvents - [Thread 3] Initializing Examine and binding to business logic events
    2018-04-13 18:04:21,937 [19] INFO  Umbraco.Web.Search.ExamineEvents - [Thread 3] Adding examine event handlers for index providers: 3
    2018-04-13 18:04:22,321 [19] INFO  umbraco.content - [Thread 3] Loading content from disk cache...
    2018-04-13 18:04:22,676 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
    2018-04-13 18:04:22,677 [19] DEBUG Umbraco.Core.PluginManager - [Thread 3] Loaded plugin types Umbraco.Core.Persistence.Mappers.BaseMapper from persisted cache
    2018-04-13 18:04:22,677 [19] INFO  Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 20 (took 1ms)
    2018-04-13 18:04:23,475 [19] ERROR Umbraco.Core.PluginManager - [Thread 3] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter
    System.MissingMethodException: No parameterless constructor defined for this object.
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable`1 types, Boolean throwException)
    2018-04-13 18:04:23,499 [19] INFO  Umbraco.Core.PluginManager - [Thread 15] Starting resolution types of Umbraco.Core.PropertyEditors.PropertyEditor
    2018-04-13 18:04:23,501 [19] DEBUG Umbraco.Core.PluginManager - [Thread 15] Loaded plugin types Umbraco.Core.PropertyEditors.PropertyEditor from persisted cache
    2018-04-13 18:04:23,501 [19] INFO  Umbraco.Core.PluginManager - [Thread 15] Completed resolution of types of Umbraco.Core.PropertyEditors.PropertyEditor, found 33 (took 1ms)
    2018-04-13 18:04:23,873 [19] WARN  Umbraco.Web.Mvc.RenderMvcController - [Thread 15] No physical template file was found for template BrayEmmetsHome
    2018-04-13 18:04:23,874 [19] WARN  Umbraco.Web.Mvc.RenderMvcController - [Thread 3] No physical template file was found for template BrayEmmetsHome
    2018-04-13 18:08:35,760 [19] WARN  Umbraco.Web.Mvc.RenderMvcController - [Thread 17] No physical template file was found for template BrayEmmetsContacts
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies