Copied to clipboard

Flag this post as spam?

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


  • Rajesh 7 posts 27 karma points
    May 11, 2012 @ 11:49
    Rajesh
    0

    Trying to create revision for non standard umbraco dll's or resource files

    Hi,

    Trying to create revision for non standard umbraco dll's or resource files, but getting error
    Error details
    System.Web.HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (manifestJson="...ull,"Id":"~/bin/Latitu...").
    at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection)
    at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection)
    at System.Web.HttpRequest.get_Form()
    at System.Web.UI.Page.DeterminePostBackMode()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    To include external files or dll(Non standard umbraco dlls), i modified courier.config file lilke this

    <fileItemProvider>
       <file>
            <folder>~/bin/Latitude.Common.dll</folder>
       /file>
    </fileItemProvider>

    And also added <umbraco:DisableRequestValidation runat="server"/> in Master.master template.

    And when i clicked on Package selected button got the above error.

    So could any one please help me out.

    Thanks,
    Rajesh

  • Rajesh 7 posts 27 karma points
    May 15, 2012 @ 11:05
    Rajesh
    0

    Just add <pages validateRequest="false"> in web.config file

    <system.web>

           <pages validateRequest="false">

    </system.web>

    And it will sort out the issue.

  • 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