Copied to clipboard

Flag this post as spam?

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


  • Mike Chambers 621 posts 1203 karma points c-trib
    Nov 25, 2010 @ 13:19
    Mike Chambers
    0

    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.. 

     

     

    XML Parsing Error: no element found 
    Location: http://umbraco.jonesandpalmer.co.uk/umbraco/developer/packages/installer.aspx?installing=customInstaller&dir=\\fs1-n02\stor2wc1dfw1\407824\umbraco.jonesandpalmer.co.uk\web\content\App_Data\2a95afce-083e-4856-9cc9-e5be1b8aa587&pId=1
    Line Number 1, Column 1:

     

     

     

    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?

     



     

     

     

     

     

     

  • 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