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

Forums / Bugs & Issues / TypeInitializationException in Telerik.Blogs.BlogManager

TypeInitializationException in Telerik.Blogs.BlogManager

4 posts, 0 answered
  1. Ronald
    Ronald avatar
    4 posts
    Registered:
    26 Jan 2009
    21 Dec 2010
    Link to this post

    Getting the following runtime error on production server. We only recently started using the blogs module for this client. Any ideas? Only the default blog provider is registered in the web.config.

    ---------------------

    Event Type: Warning
    Event Source: ASP.NET 4.0.30128.0
    Event Category: Web Event
    Event ID: 1309
    Date:  12/21/2010
    Time:  7:11:42 AM
    User:  N/A
    Computer: XXXXXXXXXXX
    Description:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/21/2010 7:11:42 AM
    Event time (UTC): 12/21/2010 3:11:42 PM
    Event ID: 16c1622fe72b4b2397292b78d5c380f6
    Event sequence: 290
    Event occurrence: 22
    Event detail code: 0
     
    Application information:
        Application domain: XXXXXXXXXXX
        Trust level: Full
        Application Virtual Path: XXXXXXXXXXX
        Application Path: XXXXXXXXXXX 
        Machine name: XXXXXXXXXXX
     
    Process information:
        Process ID: 3148
        Process name: w3wp.exe
        Account name: XXXXXXXXXXX
     
    Exception information:
        Exception type: TypeInitializationException
        Exception message: The type initializer for 'Telerik.Blogs.BlogManager' threw an exception.
       at Telerik.Blogs.BlogManager.get_DefaultContentProvider()
       at Telerik.Blogs.WebControls.BlogPosts.get_ProviderName()
       at Telerik.Cms.Engine.ContentViewFiltering.ContentFilterBuilder.InitializeSupportedLeftOperands()
       at Telerik.Cms.Engine.ContentViewFiltering.ContentFilterBuilder..ctor(IFilterableContentControl filterableControl)
       at Telerik.Cms.Engine.WebControls.ContentView.CreateChildControls()
       at Telerik.Blogs.WebControls.BlogPosts.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    More than one runtime service exists of type "ExternalDataExchangeService".
       at Telerik.Workflow.WorkflowRuntime.GetService(Type serviceType)
       at Telerik.Workflow.WorkflowRuntime.GetService[T]()
       at Telerik.Cms.Engine.ContentWorkflowService..ctor()
       at Telerik.Cms.Engine.ContentWorkflowService.Initialize()
       at Telerik.Cms.Engine.ContentManager.OnInitialized()
       at Telerik.ManagerBase`1.Initialize()
       at Telerik.ManagerBase`1..ctor(String providerName)
       at Telerik.Cms.Engine.ContentManager..ctor(String providerName)
       at Telerik.Cms.Engine.ContentManager.get_Providers()
       at Telerik.Blogs.BlogManager..cctor()
     
    Request information:
        Request URL: XXXXXXXXXXX
        Request path: XXXXXXXXXXX
        User host address: XXXXXXXXXXX
        User: XXXXXXXXXXX
        Is authenticated: True
        Authentication Type: Forms
        Thread account name: XXXXXXXXXXX
     
    Thread information:
        Thread ID: 9
        Thread account name: XXXXXXXXXXX
        Is impersonating: False
        Stack trace:    at Telerik.Blogs.BlogManager.get_DefaultContentProvider()
       at Telerik.Blogs.WebControls.BlogPosts.get_ProviderName()
       at Telerik.Cms.Engine.ContentViewFiltering.ContentFilterBuilder.InitializeSupportedLeftOperands()
       at Telerik.Cms.Engine.ContentViewFiltering.ContentFilterBuilder..ctor(IFilterableContentControl filterableControl)
       at Telerik.Cms.Engine.WebControls.ContentView.CreateChildControls()
       at Telerik.Blogs.WebControls.BlogPosts.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Dec 2010
    Link to this post
    Hello Ronald,

    Could you try to restart the application and see whether there will be any difference. Is this a single application or you have several applications pointing to one database or similar setup. The issue is really strange and it comes from the Workflow. Do you use workflow with Blogs module and which is the actual version you use ?


    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Ronald
    Ronald avatar
    4 posts
    Registered:
    26 Jan 2009
    21 Dec 2010
    Link to this post
    Sorry, version might help: 3.7.2136.240:1. Single application, no workflow.

    And yes, I restarted IIS and it seems to be running fine now. I just want to prevent it from happening again.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Dec 2010
    Link to this post
    Hello Ronald,

    The error says that you have more than one workflow service when the workflow is initialized. Unfortunately, I am not able to tell you the exact reason for this error and not one has reported it to us so far. If the problem persists, write back here.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered