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

Forums / Set-up & Installation / Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.

Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.

4 posts, 0 answered
  1. Mark A
    Mark A avatar
    2 posts
    Registered:
    10 Jun 2005
    15 Jul 2009
    Link to this post
    I have the site working locally.  I have followed the instructions to set it up for medium security.  I have transferred the files and the database to my godaddy account and I get this error.  I have updated the mysql.data.dll to the 5.0.9.0 like I saw in another thread.  I can't use MS SQL because I have used all of my allotted databases for other sites.

     

    Server Error in '/sitefinity' Application.

    Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.

    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: Telerik.DataAccess.ProviderDatabaseUpgradeException: Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.

    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:

    [ProviderDatabaseUpgradeException: Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.]
       Telerik.Cms.Data.DefaultProvider.Initialize(String name, NameValueCollection config) +2180
       Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +673
       Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings) +91
       Telerik.ManagerBase`1.SetProvider(String providerName) +203
       Telerik.ManagerBase`1..ctor(String providerName) +89
       Telerik.ManagerBase`1..ctor() +11
       Telerik.Cms.Web.UrlHelper.Initialize(CmsHttpModule cmsModule) +38
       Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +86
       System.Web.HttpApplication.InitModulesCommon() +65
       System.Web.HttpApplication.InitModules() +43
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    15 Jul 2009
    Link to this post
    Hello Mark A,

    The reason for the exception is that the database is still not upgraded and the CmsManager provider is not initialized. Actually, this provider should be initialized on application start, which means that all database tables are not upgraded.

    As you may know, the automatic database upgrade works only in Full trust environment, so you should enforce database upgrade in your local site and then upload the upgraded database to the production server.
    This is because the Sitefinity module providers cannot get their database objects created in medium trust environment. Creating at least one content item in each module before uploading the upgraded database to the hosting server will initialize all modules in the database.


    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Mark A
    Mark A avatar
    2 posts
    Registered:
    10 Jun 2005
    15 Jul 2009
    Link to this post
    I went through the modules and added an item to everything and I am still getting this error.  Is there a way to determine what section doesn't have data in it?

    When I copy the database it will not let me create the one function in the database.  Godaddy doesn't allow functions, could this be the cause.


       

    Server Error in '/sitefinity' Application.

    Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.

    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: Telerik.DataAccess.ProviderDatabaseUpgradeException: Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.

    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:

    [ProviderDatabaseUpgradeException: Exception of type 'Telerik.DataAccess.ProviderDatabaseUpgradeException' was thrown.]
       Telerik.Cms.Data.DefaultProvider.Initialize(String name, NameValueCollection config) +2180
       Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +673
       Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings) +91
       Telerik.ManagerBase`1.SetProvider(String providerName) +203
       Telerik.ManagerBase`1..ctor(String providerName) +89
       Telerik.ManagerBase`1..ctor() +11
       Telerik.Cms.Web.UrlHelper.Initialize(CmsHttpModule cmsModule) +38
       Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +86
       System.Web.HttpApplication.InitModulesCommon() +65
       System.Web.HttpApplication.InitModules() +43
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    16 Jul 2009
    Link to this post
    Hello Mark A,

    Try setting the project in medium trust level. Then FTP all files and database to your host provider. Modify your connection string to reflect the new server settings and run the project.  If the problem persists try using different serve, since the website is working without problems locally. We have several web hosting partners that offers good platforms and features for Sitefinity based websites.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
4 posts, 0 answered