Copied to clipboard

Flag this post as spam?

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


  • Carrie 20 posts 42 karma points
    Jun 16, 2014 @ 23:55
    Carrie
    0

    Security Exception in shared hosting environment

    Hi there,

    We're having problems trying to get a site running in a Godaddy shared hosting environment. This same site worked fine in our test environment, so maybe permissions? Data transfer problems? We've set all the user permissions we could to Full Control but still have issues.

    We can insert Contour forms in the Content section and they show up fine on the front end, but when you submit you get a Request Failed message. 

    On the backend in the Entries node, it continues to say processing with the following error: 

    ~/umbraco/plugins/umbracoContour/webservices/records.aspx?guid=GUID

    Security Exception

    Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 

    Exception Details: System.Security.SecurityException: Request failed.

    Source Error: 

    [No relevant source lines]


    Source File: App_Web_records.aspx.16e6d4a8.nktjzsfj.0.cs    Line: 

    Stack Trace: 

    [SecurityException: Request failed.]
       System.Xml.Xsl.Xslt.Scripts.CompileAssembly(List`1 scriptsForLang) +55
       System.Xml.Xsl.Xslt.Scripts.CompileScripts() +355
       System.Xml.Xsl.Xslt.QilGenerator.Compile(Compiler compiler) +210
       System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil) +73
       System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) +105
       Umbraco.Forms.Data.XsltHelper.TransformXML(XmlNode xml, String XsltFile, Dictionary`2 settings) +207
       Umbraco.Forms.UI.Webservices.Records.ReturnRecords(Guid id, DateTime date, FormState state, Int32 startIndex, Int32 lenght, Sorting sortOrder) +519
       Umbraco.Forms.UI.Webservices.Records.Page_Load(Object sender, EventArgs e) +1371
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnLoad(EventArgs e) +92
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6704
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
       System.Web.UI.Page.ProcessRequest() +72
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
       System.Web.UI.Page.ProcessRequest(HttpContext context) +58
       ASP.umbraco_plugins_umbracocontour_webservices_records_aspx.ProcessRequest(HttpContext context) in App_Web_records.aspx.16e6d4a8.nktjzsfj.0.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

     

    Umbraco 6.1.6

    Contour 3.0.20

    Please let me know if you need any other information, I've never had to set up umbraco in this type of Shared environment and have no clue where to even start with this error.

    Thanks in advance,

    Carrie

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Jun 17, 2014 @ 12:45
    Sebastiaan Janssen
    0

    Ask GoDaddy if they support full trust instead of medium trust, I don't think Contour works in a medium trust environment.

  • Carrie 20 posts 42 karma points
    Jun 17, 2014 @ 13:19
    Carrie
    0

    That was exactly the issue, the site was set at Medium Trust.

    For anyone out there with the same question, you can set the trust level to Full in the ASP.Net Settings area of Godaddy's Control Panel. If you do it there though, it strips the providerName="System.Data.SqlClient" from your Connection Strings so be careful.

    Thanks Sebastiaan!

Please Sign in or register to post replies

Write your reply to:

Draft