Copied to clipboard

Flag this post as spam?

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


  • radnarock 7 posts 138 karma points
    Nov 19, 2015 @ 12:34
    radnarock
    0

    Umbraco 7 Forms - Failed to retrieve data for application tree forms (Autofac)

    I install Umbraco Forms, in OnApplicationStarted i have

    builder.RegisterApiControllers(typeof(Umbraco.Forms.Web.Trees.FormTreeController).Assembly);
            builder.RegisterType<Umbraco.Web.Trees.ContentTreeController>().UsingConstructor();
    

    On Localhost (started from VS all works fine), but after deploy to server, in BackOffice, when i Click in left menu "Forms" i Got

    Error 500 on : http://mypage.com/umbraco/backoffice/UmbracoTrees/ApplicationTree/GetApplicationTrees?application=forms&tree=&isDialog=false

    But Dashbord is visible.

    In /bin folder on Server :

    Umbraco.Forms.Core.dll
    Umbraco.Forms.Core.Providers.dll
    Umbraco.Forms.Web.dll
    Umbraco.Forms.Web.XmlSerializers.dll
    Umbraco.Licensing.dll
    

    trees.config :

    <add initialize="true" sortOrder="2" alias="datasource" application="forms" title="Datasources" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.DataSourceTreeController, Umbraco.Forms.Web" />
      <add initialize="true" sortOrder="0" alias="form" application="forms" title="Forms" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.FormTreeController, Umbraco.Forms.Web" />
      <add initialize="true" sortOrder="3" alias="prevaluesource" application="forms" title="Prevalue sources" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.PreValueSourceTreeController, Umbraco.Forms.Web" />
      <add initialize="true" sortOrder="0" alias="repositories" application="courier" title="Repositories" iconClosed="legacy" iconOpen="legacy" type="Umbraco.Courier.UI.Trees.LoadRepositories,Umbraco.Courier.UI" />
      <add initialize="true" sortOrder="1" alias="revisions" application="courier" title="Revisions" iconClosed="legacy" iconOpen="legacy" type="Umbraco.Courier.UI.Trees.LoadRevisions,Umbraco.Courier.UI" />
      <add initialize="true" sortOrder="5" alias="courierSecurity" application="users" title="Courier security" iconClosed="legacy" iconOpen="legacy" type="Umbraco.Courier.UI.Trees.LoadCourierSecurity,Umbraco.Courier.UI" />
      <add initialize="true" sortOrder="2" alias="taskmanager" application="courier" title="Task manager" iconClosed="legacy" iconOpen="legacy" type="Umbraco.Courier.UI.Trees.LoadTaskManager,Umbraco.Courier.UI" />
    

    I guest that I don't include something in solution but what ? Any Hint ?

Please Sign in or register to post replies

Write your reply to:

Draft