We use a custom deployment strategy - so we cannot install Contour by the package approach. We use the manual installation guide. We use latest Umbraco 7 (7.1.4) and latest Contour (3.0.21)
unpack files.zip on root
add nodeType to umbraco/config/create/ui.xml
create all database tables according to create.sql asdf
add contour to dashboard.config
add macro "Insert form from Umbraco Contour (Razor)" in umbraco-backend
Not in documentation
One thing is, that you need to modify trees.config and application.config
After all this steps I can access contour through the Dashboard - but I dont see the tree. In the Log files I can see two errors:
2014-08-07 09:05:00,158 [42] ERROR Umbraco.Core.PluginManager - [Thread 46] Error creating type Umbraco.Forms.CodeFirst.ContourFormBuilderApplicationBase
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Cannot change web.config automatically! Error: An error occurred loading a configuration file: Access to the path 'D:\DeploymentAgent\Applications\Development\CUG.easyPush\1.1.142\c1hopx3g.tmp' is denied. (D:\DeploymentAgent\Applications\Development\CUG.easyPush\1.1.142\web.config). Please add the following httpmodule:
at Umbraco.Forms.CodeFirst.WebConfigManager.AddHttpModule(String name, String type) in c:\Program Files (x86)\teamcity\buildAgent\work\fdc2f0fcbbcef310\Umbraco.Forms.CodeFirst\WebConfigManager.cs:line 30
at Umbraco.Forms.CodeFirst.ContourFormBuilderApplicationBase..ctor() in c:\Program Files (x86)\teamcity\buildAgent\work\fdc2f0fcbbcef310\Umbraco.Forms.CodeFirst\ContourFormBuilderApplicationBase.cs:line 13
--- End of inner exception stack trace ---
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.RuntimeType.CreateInstanceDefaultCtor(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)
2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="0" alias="forms" application="contour" title="Forms" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadForm" action="" /> could not be resolved to a .Net object type
2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="1" alias="formdatasources" application="contour" title="Data Sources" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadDataSource" action="" /> could not be resolved to a .Net object type
2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="2" alias="formprevaluesource" application="contour" title="Prevalue Sources" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadPreValueSource" action="" /> could not be resolved to a .Net object type
2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="5" alias="formssecurity" application="users" title="Contour security" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadFormsSecurity" action="" /> could not be resolved to a .Net object type
I guess there is only on config change left, but I cannot see on any documentation. Does anyone also face this problem?
Contour Installation On Umbraco 7
We use a custom deployment strategy - so we cannot install Contour by the package approach. We use the manual installation guide. We use latest Umbraco 7 (7.1.4) and latest Contour (3.0.21)
files.zip
on rootumbraco/config/create/ui.xml
create.sql
asdfdashboard.config
Not in documentation
One thing is, that you need to modify
trees.config
andapplication.config
trees.config
application.config
The Error
After all this steps I can access contour through the Dashboard - but I dont see the tree. In the Log files I can see two errors:
2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="0" alias="forms" application="contour" title="Forms" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadForm" action="" /> could not be resolved to a .Net object type 2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="1" alias="formdatasources" application="contour" title="Data Sources" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadDataSource" action="" /> could not be resolved to a .Net object type 2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="2" alias="formprevaluesource" application="contour" title="Prevalue Sources" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadPreValueSource" action="" /> could not be resolved to a .Net object type 2014-08-07 09:04:59,924 [45] WARN Umbraco.Core.Services.ApplicationTreeService - [Thread 46] The tree definition: <add silent="false" initialize="true" sortOrder="5" alias="formssecurity" application="users" title="Contour security" iconClosed="legacy" iconOpen="legacy" assembly="Umbraco.Forms.UI" type="Trees.LoadFormsSecurity" action="" /> could not be resolved to a .Net object type
I guess there is only on config change left, but I cannot see on any documentation. Does anyone also face this problem?
Seems the error was a wrong
trees.config
. You need to declare the fully qualified name. Can please someone add this to the contour documentation?is working on a reply...