Manual Install of contour, instructions are outdated and missing steps. and Mediumtrust support :-(
Ok here goes, I have a Umbraco.Forms.Core.Common.ProviderException when I move umbraco to my live environment which happens to run under medium trust.
So to see if it was anything I was doing I thought i'd install a brand new 4.5.2 umbraco instance and add v1.1.4 contour package. Unfortunately the package fails to install..
Manual Install of contour, instructions are outdated and missing steps. and Mediumtrust support :-(
Ok here goes, I have a Umbraco.Forms.Core.Common.ProviderException when I move umbraco to my live environment which happens to run under medium trust.
So to see if it was anything I was doing I thought i'd install a brand new 4.5.2 umbraco instance and add v1.1.4 contour package. Unfortunately the package fails to install..
So I started again with the blank 4.5.2 installation and tried a manual install
couple of things from the pdf for the manual install straight away... the dashboard config is outdated
it should be
<section id="contour">
<areas>
<area>contour</area>
</areas>
<tab caption="Umbraco Contour">
<control>/umbraco/plugins/umbracocontour/formsdashboard.ascx</control>
</tab>
</section>
the xsltsection is outdated it should be
<ext assembly="Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour"></ext>
And the sql install script is lacking the additions to the UmbracoApp and UmbracoAppTree tables think this is required
/* Tree entry - section */
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM [umbracoApp] WHERE appAlias = 'contour')
BEGIN
INSERT INTO [umbracoApp]
(appAlias,appIcon,appName,sortOrder)
VALUES
('contour','contour.png','Umbraco Contour',9)
END
/* Tree entries */
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM [umbracoAppTree] WHERE treeAlias = 'formdatasources')
BEGIN
INSERT INTO [umbracoAppTree]
(treeSilent,treeInitialize,treeSortOrder,appAlias,treeAlias,treeTitle,treeIconClosed,treeIconOpen,treeHandlerAssembly,treeHandlerType)
VALUES
(0,1,1,'contour','formdatasources','Data Sources','legacy','legacy','Umbraco.Forms.UI','Trees.LoadDataSource')
END
IF NOT EXISTS (SELECT * FROM [umbracoAppTree] WHERE treeAlias = 'formprevaluesource')
BEGIN
INSERT INTO [umbracoAppTree]
(treeSilent,treeInitialize,treeSortOrder,appAlias,treeAlias,treeTitle,treeIconClosed,treeIconOpen,treeHandlerAssembly,treeHandlerType)
VALUES
(0,1,2,'contour','formprevaluesource','Prevalue Sources','legacy','legacy','Umbraco.Forms.UI','Trees.LoadPreValueSource')
END
IF NOT EXISTS (SELECT * FROM [umbracoAppTree] WHERE treeAlias = 'forms')
BEGIN
INSERT INTO [umbracoAppTree]
(treeSilent,treeInitialize,treeSortOrder,appAlias,treeAlias,treeTitle,treeIconClosed,treeIconOpen,treeHandlerAssembly,treeHandlerType)
VALUES
(0,1,0,'contour','forms','Forms','legacy','legacy','Umbraco.Forms.UI','Trees.LoadForm')
END
IF NOT EXISTS (SELECT * FROM [umbracoAppTree] WHERE treeAlias = 'formssecurity')
BEGIN
INSERT INTO [umbracoAppTree]
(treeSilent,treeInitialize,treeSortOrder,appAlias,treeAlias,treeTitle,treeIconClosed,treeIconOpen,treeHandlerAssembly,treeHandlerType)
VALUES
(0,1,5,'users','formssecurity','Contour security','legacy','legacy','Umbraco.Forms.UI','Trees.LoadFormsSecurity')
END
That gets me to a sort of working interface (all be it without the dictionary items added to the config/lang/??.xml files.
But then I come up against the Umbraco.Forms.Core.Common.ProviderException... bugger...
Has anyone got Contour running in medium trust?
is working on a reply...