Copied to clipboard

Flag this post as spam?

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


  • Chad Rosenthal 272 posts 474 karma points
    Apr 15, 2013 @ 19:32
    Chad Rosenthal
    0

    Issue when publishing

    Apparently, I'm getting the following issue when I publish. I'm running 6.0.2. Could this be related to Antlr3.Runtime? I ran into a dll conflict and tried to use dependentAssembly's to fix the issue.

    Thanks,
    Chad

     

    System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.HttpException: Request is not available in this context 
    at System.Web.HttpContext.get_Request() 
    at Umbraco.Licensing.Validator.ValidateLicense(EncryptedLicense license) 
    at Umbraco.Licensing.Validator.Check() 
    at Umbraco.Licensing.Validator.IsTrial() 
    at Umbraco.Courier.Core.Licensing.InfralutionLicensing.IsLight() 
    at Umbraco.Courier.Core.ProviderCollection`1.registerProviders(IEnumerable`1 types) 
    --- End of inner exception stack trace --- 
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) 
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) 
    at System.Activator.CreateInstance[T]() 
    at Umbraco.Courier.Core.Singleton`1.Nested..cctor() 
    --- End of inner exception stack trace --- 
    at Umbraco.Courier.Core.Singleton`1.get_Instance() 
    at Umbraco.Courier.Core.Repository.loadSettings(XmlNode settingsXml) 
    at Umbraco.Courier.Core.Storage.RepositoryStorage.GetAll() 
    at Umbraco.Courier.UI.Dialogs.CommitItem.OnInit(EventArgs e) 
    at System.Web.UI.Control.InitRecursive(Control namingContainer) 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Exception has been thrown by the target of an invocation.


    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.HttpException: Request is not available in this context 
    at System.Web.HttpContext.get_Request() 
    at Umbraco.Licensing.Validator.ValidateLicense(EncryptedLicense license) 
    at Umbraco.Licensing.Validator.Check() 
    at Umbraco.Licensing.Validator.IsTrial() 
    at Umbraco.Courier.Core.Licensing.InfralutionLicensing.IsLight() 
    at Umbraco.Courier.Core.ProviderCollection`1.registerProviders(IEnumerable`1 types) 
    --- End of inner exception stack trace --- 
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) 
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) 
    at System.Activator.CreateInstance[T]() 
    at Umbraco.Courier.Core.Singleton`1.Nested..cctor()

    Request is not available in this context


    System.Web.HttpException (0x80004005): Request is not available in this context 
    at System.Web.HttpContext.get_Request() 
    at Umbraco.Licensing.Validator.ValidateLicense(EncryptedLicense license) 
    at Umbraco.Licensing.Validator.Check() 
    at Umbraco.Licensing.Validator.IsTrial() 
    at Umbraco.Courier.Core.Licensing.InfralutionLicensing.IsLight() 
    at Umbraco.Courier.Core.ProviderCollection`1.registerProviders(IEnumerable`1 types)

     

  • Chad Rosenthal 272 posts 474 karma points
    Apr 17, 2013 @ 00:23
  • andy_rose 91 posts 117 karma points
    Jul 19, 2013 @ 12:57
    andy_rose
    0

    Just an FYI, but I've just had this problem after a CmsImport update resulted in an Umbraco.Licensing.dll update which broke Courier on a v4.11.4 site. Reverted the dll and this is now working.

  • Khai 71 posts 161 karma points
    Aug 23, 2013 @ 13:37
    Khai
    0

    I'm encountring, the same error, Umbraco v6.1.2 with Courier_2.7.5.1.90.v6

Please Sign in or register to post replies

Write your reply to:

Draft