Copied to clipboard

Flag this post as spam?

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


  • Thomas Kahn 602 posts 506 karma points
    Dec 13, 2010 @ 14:11
    Thomas Kahn
    0

    Extension not found or permission denied

    Hi!

    I've installed Cultiv RestContour on an Umbraco 4.5.2 site. I've removed the bin reference in restExtensions.config. I can get the GUID of my form using the example:

    yoursite.ext/base/getContourForm/GetAllForms

    ...but when I copy the GUID that I get and use it in the url:

    yoursite.ext/base/getContourForm/GetFormFields?formGuid=xxx-xx

    ...I get the error "Extension not found or permission denied". Does anybody know which extension it doesn't find or where I should be looking at the permissions? Have checked that NETWORK SERVICE has full access to Cultiv.RestContour.dll in the bin folder.

    Thanks!

    /Thomas Kahn

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Dec 13, 2010 @ 17:53
    Sebastiaan Janssen
    0

    Hey Thomas,

    Good, for 4.5.2 you don't need the /bin/ indeed! 

    Does your restExtensions.config file look like this?

      <ext assembly="Cultiv.RestContour" type="Cultiv.RestContour.SubmitContourForm" alias="submitContourForm">
        <permission method="CreateRecord" allowAll="true" returnXml="false" />
      </ext>
    
      <ext assembly="Cultiv.RestContour" type="Cultiv.RestContour.GetContourForm" alias="getContourForm">
        <permission method="GetAllForms" allowAll="true" returnXml="false" />
        <permission method="GetFormFields" allowAll="true" returnXml="false" />
        <permission method="GetField" allowAll="true" returnXml="false" />
        <permission method="GetPrevaluesForField" allowAll="true" returnXml="false" />
      </ext>

    Also make sure that getContourForm and GetFormFields have the correct casing. I don't think it's too important for the formGuid variable but it doesn't hurt checking the casing there as well.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Dec 13, 2010 @ 17:55
    Sebastiaan Janssen
    1

    Update: Ah wait, I see what the problem is, the URL should be like:

    yoursite.ext/base/getContourForm/GetFormFields/?formGuid=xxx-xx

    Notice the slash before the questionmark.

  • Thomas Kahn 602 posts 506 karma points
    Dec 14, 2010 @ 08:34
    Thomas Kahn
    0

    Hi Sebastiaan!

    Thanks!
    I added the slash and got the expected JSON-string.

    Now I'll move on to see if I can get the form working.

    /Thomas Kahn

  • Thomas Kahn 602 posts 506 karma points
    Dec 14, 2010 @ 10:18
    Thomas Kahn
    0

    Wow! This was a great package! Really nice to be in full control over both the form and the submission.

    For me the biggest advantage with Contour is that I don't have to write all the boring backend code to handle the data from forms, but I don't like the client side code that it generates and the postback. This package solves both problems!

    /Thomas Kahn

  • 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