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

Forums / Set-up & Installation / Invalid column name when upgrading from sitefinity 3.0 beta to 3.1

Invalid column name when upgrading from sitefinity 3.0 beta to 3.1

2 posts, 0 answered
  1. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    27 Nov 2007
    Link to this post
    I followed all the instructions in the manual, created a new project, moved over all my controls and settings, but its like the database isn't upgrading automatically.  Here's the error i'm getting:

    Invalid column name 'RequireCaching'.
    Invalid column name 'PageType'.
    Invalid column name 'ExternalUrl'.
    Invalid column name 'Owner'.
    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.Data.SqlClient.SqlException: Invalid column name 'RequireCaching'.
    Invalid column name 'PageType'.
    Invalid column name 'ExternalUrl'.
    Invalid column name 'Owner'.

    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:


    [SqlException (0x80131904): Invalid column name 'RequireCaching'.
    Invalid column name 'PageType'.
    Invalid column name 'ExternalUrl'.
    Invalid column name 'Owner'.]
       System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857354
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734966
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
       System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
       System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) +192
       System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +380
       System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135
       Telerik.Cms.Data.DefaultProvider.ManualUpgrade() +297
       Telerik.Cms.Data.DefaultProvider.Initialize(String name, NameValueCollection config) +461
       Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +670
       Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings) +102
       Telerik.ManagerBase`1.SetProvider(String providerName) +214
       Telerik.ManagerBase`1..ctor(String providerName) +103
       Telerik.ManagerBase`1..ctor() +11
       Telerik.Cms.CmsWorkflowService..ctor() +23
       Telerik.Cms.CmsWorkflowService..cctor() +20

    [TypeInitializationException: The type initializer for 'Telerik.Cms.CmsWorkflowService' threw an exception.]
       Telerik.Cms.CmsWorkflowService.Initialize() +0
       Telerik.Cms.CmsManager.OnInitialized() +5
       Telerik.ManagerBase`1.Initialize() +385
       Telerik.ManagerBase`1..ctor(String providerName) +18
       Telerik.ManagerBase`1..ctor() +11
       Telerik.Cms.CmsManager..ctor() +4
       Telerik.Cms.Web.UrlHelper..cctor() +626

    [TypeInitializationException: The type initializer for 'Telerik.Cms.Web.UrlHelper' threw an exception.]
       Telerik.Cms.Web.CmsHttpModule.BeginRequest(Object sender, EventArgs e) +1275
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

     

  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    28 Nov 2007
    Link to this post
    Hi fregas,

    The mistakes are probably due to the fact that you are running a beta version of 3.0. Unfortunately, you cannot upgrade from Sitefinity 3.0 Beta directly to 3.1. The database is upgraded automatically so in order to upgrade it you need to create projects that are respectively created by a Sitefinity version 3.0, 3.0 SP2  and then 3.1.

    In order to make a project in 3.0 official release, you need to change the assemblies (found in the bin folder)
    and the Sitefinity folder content. You can get these by downloading the version from your client.net account on Sitefinity's site. After running the project, you need to follow the same procedure again for upgrading to 3.0 SP2.
    Actually, after applying version 3.0 you could use the hotfix for the Service pack 2. You need to unzip each package, open the Sitefinity and bin folders from the Empty project and copy their files into your project and start your site. Do it for both versions. Before starting upgrading your project, please back it up.

    After doing the above steps you could start upgrading your project to version 3.1 using the instructions in the manual.

    Sorry for the inconvenience.



    All the best,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered