1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Invalid attribute "varyByUserAgent" error message

Invalid attribute "varyByUserAgent" error message

1 posts, 0 answered
  1. Balaji
    Balaji avatar
    4 posts
    Registered:
    15 Jun 2015
    11 Jul
    Link to this post

    I'm getting this error message when I downgrade the Sitefinity 10 to version 8. The upgraded database was overwritten by a backup of version 8.

    After setting this up, I'm getting the below error message 

    Invalid attribute "varyByUserAgent" for element "Telerik.Sitefinity.Modules.Pages.Configuration.OutputCacheProfileElement". Line number 63.

     

     

    The below is the exact stack trace 

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: 

    System.Configuration.ConfigurationErrorsException: Invalid attribute "varyByUserAgent" for element "Telerik.Sitefinity.Modules.Pages.Configuration.OutputCacheProfileElement". Line number 63.



    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 

    [ConfigurationErrorsException: Invalid attribute "varyByUserAgent" for element "Telerik.Sitefinity.Modules.Pages.Configuration.OutputCacheProfileElement". Line number 63.]
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadAttributes(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo, Boolean isNew) +652
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo, Boolean isNew, Boolean validateTagName) +146
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadCollectionElement(ConfigElementCollection collection, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo) +725
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo, Boolean isNew, Boolean validateTagName) +218
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadPropertyElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo) +340
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo, Boolean isNew, Boolean validateTagName) +243
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadPropertyElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo) +340
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, UpgradingInfo upgradingInfo, Boolean isNew, Boolean validateTagName) +243
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSectionFromReader(ConfigSection section, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, Boolean checkForUpgrade, UpgradingInfo& upgradingInfo) +244
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSectionFromFile(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName, Boolean withUpgrade) +93
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName) +41
       Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy) +227
       Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider) +16
       Telerik.Sitefinity.Configuration.Config.GetSectionInternal(Type sectionType, Boolean safeMode, String sectionName) +130
       Telerik.Sitefinity.Configuration.Config.GetSectionPrivate(Type sectionType, Boolean safeMode, String sectionName) +135
       Telerik.Sitefinity.Configuration.Config.GetSectionPrivate(Boolean safeMode) +99
       Telerik.Sitefinity.Abstractions.Log.IsElmahLoggingEnabled() +28
       Telerik.Sitefinity.Abstractions.Log.GetDefaultCategoryConfigurator() +29
       Telerik.Sitefinity.Abstractions.ObjectFactory.ConfigureLogging(ConfigurationSourceBuilder configBuilder) +18
       Telerik.Sitefinity.Abstractions.ObjectFactory.RegisterIoCTypes() +283
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +394
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +200
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
     
    [HttpException (0x80004005): Invalid attribute "varyByUserAgent" for element "Telerik.Sitefinity.Modules.Pages.Configuration.OutputCacheProfileElement". Line number 63.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9913572
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
1 posts, 0 answered