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

Forums / Set-up & Installation / Blog module not working

Blog module not working

7 posts, 0 answered
  1. Jeff
    Jeff avatar
    5 posts
    Registered:
    01 Aug 2012
    17 Aug 2010
    Link to this post

    After upgrading from 3.5 to 3.7 SP3, any page which shows blog content is throwing the following error: Missing provider: Wiki

    The stack trace indicates that there is a problem loading the blog module.  I have checked my web config multiple times, but that does not seem to be the problem.

    [ConfigurationErrorsException: Missing provider: Wiki]
       Telerik.Cms.Engine.ContentManager.OnInitialized() +1543
       Telerik.ManagerBase`1.Initialize() +505
       Telerik.ManagerBase`1..ctor(String providerName) +21
       Telerik.Cms.Engine.ContentManager..ctor(String providerName) +30
       Telerik.Cms.Engine.ContentManager.get_Providers() +32
       Telerik.Blogs.BlogManager..cctor() +199
      
    [TypeInitializationException: The type initializer for 'Telerik.Blogs.BlogManager' threw an exception.]
       Telerik.Blogs.WebControls.BlogPosts.get_ProviderName() +76
       Telerik.Cms.Engine.ContentViewFiltering.ContentFilterBuilder.InitializeSupportedLeftOperands() +88
       Telerik.Cms.Engine.ContentViewFiltering.ContentFilterBuilder..ctor(IFilterableContentControl filterableControl) +110
       Telerik.Cms.Engine.WebControls.ContentView.BuildFilterFromLegacyProperties() +63
       Telerik.Blogs.WebControls.BlogPosts.EnsureFilter() +52
       Telerik.Blogs.WebControls.BlogPosts.CreateChildControls() +13
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +44
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 Aug 2010
    Link to this post
    Hi Jeff,

    Could you check whether you have Wiki provider declared in your web.config file cmsEngine node?

    <add name="Wiki" allowLocalization="true" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" securityProviderName="" allowVersioning="True" applicationName="/Wiki" versioningProviderName="" allowComments="true" commentsModeration="true" connectionStringName="GenericContentConnection" dataFile="~/App_Data/Wikis.xml" type="Telerik.Wiki.Data.XmlProvider, Telerik.Wiki.Data" />

    The error is thrown when ContentManager  is initialized.

    Sincerely yours,
    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. Jeff
    Jeff avatar
    5 posts
    Registered:
    01 Aug 2012
    17 Aug 2010
    Link to this post
    Yes, I have that section in my cmsEngine node. I have used the perforce diff file with web.config provided in the upgrade package and only my connection strings, folder permissions, and custom user controls are different.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 Aug 2010
    Link to this post
    Hello Jeff,

    Then most probably one of the providers  (Wiki) specified under </metaFields>  is not correct or missing. This is from where the error comes from. If the Wiki provider is declared in the web.config you should not get this error when ContentManager is Initialized.

    Sincerely yours,
    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
  5. Jeff
    Jeff avatar
    5 posts
    Registered:
    01 Aug 2012
    17 Aug 2010
    Link to this post
    The providers are all there.  I only get this error on 3 pages, home page (has a list of blog entries), blog page, blog rss feed.  The rest of the site works normally, except that the blog module is missing from the modules page.
  6. Jeff
    Jeff avatar
    5 posts
    Registered:
    01 Aug 2012
    17 Aug 2010
    Link to this post
    Here are the relevant sections of my web.config:
    <cmsEngine defaultProvider="Generic_Content">
                <providers>
                    <clear />
                    <add name="Generic_Content" urlRewriteFormat="[Publication_Date]/[Name].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="True" defaultMetaField="Name" securityProviderName="" allowLocalization="False" allowVersioning="True" allowWorkflow="True" allowComments="false" commentsModeration="true" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Cms.Engine.Data.Providers.DefaultProvider, Telerik.Cms.Engine.Data" />
                    <add name="News" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/News" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.News.Data.DefaultNewsProvider, Telerik.News.Data" />
                    <add name="Blogs" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" applicationName="/Blogs" allowVersioning="True" allowComments="true" commentsModeration="false" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Blogs.Data.DefaultBlogProvider, Telerik.Blogs.Data" />
                    <add name="Libraries" urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].sflb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="False" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.DefaultProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx" />
                    <add name="Events" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/Events" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.Events.Data.DefaultEventsProvider, Telerik.Events.Data" />
                    <add name="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" securityProviderName="" allowVersioning="True" applicationName="/Wiki" versioningProviderName="" allowComments="true" allowLocalization="true" commentsModeration="true" connectionStringName="GenericContentConnection" dataFile="~/App_Data/Wikis.xml" type="Telerik.Wiki.Data.XmlProvider, Telerik.Wiki.Data" />
                </providers>
                <rssProviders>
                    <clear />
                    <add name="Blogs" type="Telerik.Blogs.RssProvider, Telerik.Blogs" visible="True" applicationName="/Blogs" rssFieldAuthor="Author" rssFieldTitle="Title" rssFieldPubDate="Publication_Date" />
                </rssProviders>
                <browserCacheSettings lastModifiedDateEnabled="true" contentExpirationEnabled="false">
                    <expirationSettings option="ExpireImmediately" value="0">
                    </expirationSettings>
                </browserCacheSettings>
                <metaFields>
                    <add key="Generic_Content.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="Name this content" mandatory="True" />
                    <add key="Generic_Content.Description" valueType="LongText" visible="True" searchable="False" sortable="True" defaultValue="Add description here" />
                    <add key="Generic_Content.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Generic_Content.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="News.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="News.Summary" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="News.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="News.Source" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="News.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now" />
                    <add key="News.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max" />
                    <add key="News.Thumbnail" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="News.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Blogs.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Blogs.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Blogs.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now" />
                    <add key="Blogs.BlogID" valueType="Guid" visible="False" searchable="True" sortable="True" defaultValue="" />
                    <add key="Blogs.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Blogs.View_Count" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="0" />
                    <add key="Libraries.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Width" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Height" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Size" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Extension" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.AlternateText" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Description" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Libraries.PermaLink" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Events.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Events.Street" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Events.City" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Events.Country" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Events.State" valueType="ShortText" visible="True" searchable="True" sortable="False" defaultValue="" />
                    <add key="Events.Geomapping_Data" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="Events.Event_Start" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now" />
                    <add key="Events.Event_End" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now" />
                    <add key="Events.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now" />
                    <add key="Events.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max" />
                    <add key="Events.Contact_Name" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="Events.Contact_Email" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="Events.Contact_Phone" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="Events.Contact_Cell" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="Events.Contact_Web" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
                    <add key="Events.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Wiki.Name" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="HomePage" mandatory="True" />
                    <add key="Wiki.Wiki" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="DefaultWiki" />
                    <add key="Wiki.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="" />
                    <add key="Wiki.Category" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="" />
                    <add key="Wiki.DisplayName" valueType="Boolean" visible="False" searchable="False" sortable="False" defaultValue="True" />
                </metaFields>
                <contentViewSettings>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.TextSettingService" />
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.ContentSettingService" />
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.MaxWidthSettingService" />
                </contentViewSettings>
            </cmsEngine>
            <news defaultGenericProvider="News">
                <genericContentProviders>
                    <add providerName="News" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" thumbnailUrlField="Thumbnail" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" />
                </genericContentProviders>
            </news>
            <blogs defaultGenericProvider="Blogs">
                <genericContentProviders>
                    <add providerName="Blogs" publicationDateField="Publication_Date" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" flatOwnership="True" />
                </genericContentProviders>
            </blogs>
            <libraries defaultGenericProvider="Libraries">
                <genericContentProviders>
                    <add providerName="Libraries" publicationDateField="Publication_Date" />
                </genericContentProviders>
                <libraryInfo>
                    <add name="Image" title="Image Library" defaultExtenstions=".png, .jpg, .jpeg, .gif" metaKeys="Author, AlternateText, Extension, Name, Height, Width, Size, Category">
                    </add>
                    <add name="Document" title="Document Library" defaultExtenstions=".doc, .docx, .rtf, .txt, .pdf, .ppt, .pptx, .html, .xls, .xlsx" metaKeys="Author, Description, Extension, Name, Size, Category">
                    </add>
                    <add name="Custom" title="Custom Library" defaultExtenstions=".*" metaKeys="Author, Description, Extension, Name, Size, Category">
                    </add>
                    <add name="Video" title="Video" defaultExtenstions=".wmv" metaKeys="Author, Extension, Name, Size, Category, Description">
                    </add>
                </libraryInfo>
                <!-- before using extensionMapping be you uncomment LibraryHttpModule in handlers and httpHandlers sections -->
                <extensionMapping defaultExtension=".sflb.ashx">
                    <!--<add key=".jpg"/>
                    <add key=".pdf"/>
                    <add key=".csv"/>
                    <add key=".xls"/>-->
                </extensionMapping>
            </libraries>
            <events defaultGenericProvider="Events" googleMapsAPIKey="" googleMapsAPIUrl="http://maps.google.com/maps?file=api&;v=2.x&key=" yahooMapsAPIKey="" yahooMapsAPIUrl="http://api.maps.yahoo.com/ajaxymap?v=3.7&;appid=" liveSearchMapsAPIUrl="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2">
                <genericContentProviders>
                    <add providerName="Events" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" eventStartField="Event_Start" eventEndField="Event_End" streetField="Street" cityField="City" countryField="Country" stateField="State" geomappingDataField="Geomapping_Data" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" />
                </genericContentProviders>
            </events>
            <wiki defaultGenericProvider="Wiki" defaultProvider="SitefinityXml">
                <genericContentProviders>
                    <add providerName="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" />
                </genericContentProviders>
            </wiki>
  7. Jeff
    Jeff avatar
    5 posts
    Registered:
    01 Aug 2012
    17 Aug 2010
    Link to this post
    I found the problem.  My NETWORK SERVICE account did not have permissions to create new files in the App_Data folder so it could not create the wiki.xml file.  Once I changed the permissions the site was up and running normally.
Register for webinar
7 posts, 0 answered