Copied to clipboard

Flag this post as spam?

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


  • Scott Leslie 24 posts 139 karma points
    Mar 04, 2014 @ 13:47
    Scott Leslie
    0

    Error on server

    Hi,

    getting this error :

    equest for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
       System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
       System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +31
       System.Security.CodeAccessPermission.Demand() +46
       System.Reflection.RuntimeAssembly.VerifyCodeBaseDiscovery(String codeBase) +136
       System.Reflection.RuntimeAssembly.GetName(Boolean copiedName) +69
       System.Reflection.Assembly.GetName() +12
       InfoCaster.Umbraco.UrlTracker.Helpers.HttpContextEnsurer.<.ctor>b__2(Assembly assembly) in ContextHelper.cs:38
       System.Linq.WhereArrayIterator`1.MoveNext() +49
       System.Linq.<SelectManyIterator>d__31`3.MoveNext() +407
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +85
       System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +164
       InfoCaster.Umbraco.UrlTracker.Helpers.HttpContextEnsurer..ctor() in ContextHelper.cs:37
       InfoCaster.Umbraco.UrlTracker.Helpers.UmbracoHelper.GetUrl(Int32 nodeId) in UmbracoHelper.cs:116
       InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(Boolean ignoreHttpStatusCode) in UrlTrackerModule.cs:166
       InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) in UrlTrackerModule.cs:58
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

    This is on a hosted server (shared server) - so clearly something in the security policy is stopping url redirect from working.. 

    anyone had this problem before?

     

     

  • Scott Leslie 24 posts 139 karma points
    Mar 04, 2014 @ 14:02
    Scott Leslie
    0

    package requires FULL TRUST which of course the shared server does not allow.

     

  • 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