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

Forums / Set-up & Installation / Upgrading sitefinity 3.5 to 3.7 using patch

Upgrading sitefinity 3.5 to 3.7 using patch

11 posts, 0 answered
  1. Annie
    Annie avatar
    123 posts
    Registered:
    08 Apr 2009
    29 Mar 2010
    Link to this post
    Hi,

    I am trying to upgrade sitefinity 3.5 to 3.7 using the trial patch, and I am getting the following error:

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Unrecognized configuration section telerik/wiki.

    Source Error:

    Line 697: </genericContentProviders> Line 698: </events> Line 699: <wiki defaultGenericProvider="Wiki" defaultProvider="SitefinityXml"> Line 700: <genericContentProviders> Line 701: <add providerName="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" />

    Source File: D:\www_forpatchtest\web.config    Line: 699


    Thanks,
    Annie
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    29 Mar 2010
    Link to this post
    Hello Annie,

    Thank you for using our services. The Wiki module is a module introduced in Sitefinity 3.7. Since you have said that you are upgrading from a 3.5 website make sure that you have this in your web.config:
    <configSections>
        ...
        <sectionGroup name="telerik">  
            ...
            <section name="wiki" type="Telerik.Wiki.Configuration.SectionHandler, Telerik.Wiki" requirePermission="false"/>
        </sectionGroup>
    </configSections>

    Also to ensure smooth upgrade process please examine the old web.config file and the new one provided in the patch to see whether you have missed any new configurations to be added.

    Greetings,
    Radoslav Georgiev
    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. Annie
    Annie avatar
    123 posts
    Registered:
    08 Apr 2009
    29 Mar 2010
    Link to this post
    Hi Radoslav,

    Thank you that worked but now I am getting a new error:

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Unrecognized configuration section telerik/mediaProvider.

    Source Error:

    Line 769:    </storageSetting>
    Line 770:    <!-- Viddler-->
    Line 771: <mediaProvider defaultProvider="viddler">Line 772:      <providers>
    Line 773:        <add name="viddler" type="Telerik.Libraries.MediaProvider.ViddlerProvider" apiKey="#Your_Api#" baseUrl="http://api.viddler.com/rest/v1/"/>

    Thanks,
    Annie
  4. Annie
    Annie avatar
    123 posts
    Registered:
    08 Apr 2009
    29 Mar 2010
    Link to this post
    Hi,

    I am now getting the following error:

    Unable to cast object of type 'System.Web.Configuration.ScriptingAuthenticationServiceSection' to type 'System.Web.Configuration.ScriptingAuthenticationServiceSection'.

    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.InvalidCastException: Unable to cast object of type 'System.Web.Configuration.ScriptingAuthenticationServiceSection' to type 'System.Web.Configuration.ScriptingAuthenticationServiceSection'.

    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:

    [InvalidCastException: Unable to cast object of type 'System.Web.Configuration.ScriptingAuthenticationServiceSection' to type 'System.Web.Configuration.ScriptingAuthenticationServiceSection'.] System.Web.Configuration.ScriptingAuthenticationServiceSection.GetConfigurationSection() +42 System.Web.ApplicationServices.ApplicationServiceHelper.EnsureAuthenticationConfigLoaded() +46 System.Web.Handlers.ScriptModule.ShouldSkipAuthorization(HttpContext context) +220 System.Web.Handlers.ScriptModule.AuthenticateRequestHandler(Object sender, EventArgs e) +59 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 


    Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433

    Thanks,
    Annie
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    30 Mar 2010
    Link to this post
    Hello Annie,

    Thank you for getting back to me.

    The Sitefinity 3.5 version is running in ASP.NET 2.0, where as versions later than Sitefnity 3.6 have setups both for .NET 2.0 and .NET 3.5. If you have upgraded to Sitefinity 3.7 SP3 for .NET 3.5, please make sure that  web.config is like this:
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
        </sectionGroup>

    <section name="notifications" type="Telerik.Notifications.Newsletters.Configuration.SectionHandler, Telerik.Notifications" requirePermission="false"/>

    <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
          <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
        <dependentAssembly>
          <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
      </assemblyBinding>

    <controls>
      <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
      <add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
      <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Cms.Web.UI"/>
      <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Framework"/>
    </controls>

    <httpHandlers>
      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
      <add verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
      <add verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
      <add verb="*" path="*.sflb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
      <add verb="*" path="*.sflb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
      <add verb="*" path="*.tmb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
      <add verb="*" path="*.tmb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
      <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
      <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
      <add verb="*" validate="false" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
      <remove verb="*" path="*.asmx"/>
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
      <add verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
      <add verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
      <add verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
      <add verb="GET" path="*.s3lb" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
      <add verb="GET" path="*.s3lb.ashx" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    </httpHandlers>

    <compilation debug="true">
      <assemblies>
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>
    </compilation>

    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    <modules>
      <remove name="ScriptModule"/>
      <remove name="Cms"/>
      <!--<remove name="LibraryModule"/>-->
      <remove name="RadUploadModule"/>
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>
      <!-- Http Module for extension mappings in Library module.-->
      <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
      <add name="RadUploadModule" preCondition="managedHandler" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
    </modules>

    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>



    Greetings,
    Radoslav Georgiev
    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.
  6. Annie
    Annie avatar
    123 posts
    Registered:
    08 Apr 2009
    05 Apr 2010
    Link to this post
    Hi Radoslav,

    I applied the chnages you suggested to the web.config, it seems to have worked, but I am now getting a new error:

     

    Server Error in '/readingorgpatchtest' Application.

    Theme 'IRA' cannot be found in the application or global theme directories.

    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.Web.HttpException: Theme 'IRA' cannot be found in the application or global theme directories.

    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:

    [HttpException (0x80004005): Theme 'IRA' cannot be found in the application or global theme directories.] System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName) +1026 System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName) +68 System.Web.UI.Page.InitializeThemes() +2076619 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +674 


    Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433


    Thanks,
    Annie
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    05 Apr 2010
    Link to this post
    Hello Annie,

    1. Check that you have a sub directory named ‘IRA’ (or the theme name you chose) and the necessary files in the App_Themes directory.

    2. If you are running this website/web project from a sub application or sub directory in the wwwroot, check that the folder is set as ‘Application’



    Kind 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.
  8. Annie
    Annie avatar
    123 posts
    Registered:
    08 Apr 2009
    05 Apr 2010
    Link to this post
    Hi Ivan,

    Thank you for your help, now I am getting another error:

     

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Unrecognized element.

    Source Error:

    Line 6:    <configSections>
    Line 7:  
    Line 8: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 9:  
    Line 10:       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    Source File: D:\www_forpatchtest\web.config    Line: 8



    Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433


    Thanks,
    Annie
  9. Annie
    Annie avatar
    123 posts
    Registered:
    08 Apr 2009
    05 Apr 2010
    Link to this post
    Hi,

    I am getting this error while trying to login to the patched website:

     

    Server Error in '/readingorgpatchtest' Application.

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    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.

    SQLExpress database file auto-creation error:

    The connection string specifies a local Sql Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:

    1. If the applications App_Data directory does not already exist, the web server account must have read and write access to the applications directory. This is necessary because the web server account will automatically create the App_Data directory if it does not already exist.
    2. If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database.
    3. Sql Server Express must be installed on the machine.
    4. The process identity for the web server account must have a local user profile. See the readme document for details on how to create a local user profile for both machine and domain accounts.

    I have sql server 2005 installed, do I need to install sql express?

    Thanks,
    Annie
  10. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    22 Feb 2011
    Link to this post
    Hi there
    I am getting the error in following code when i am trying to go to the backend of  the sitefinity after up-gradation from
    Sitefinity3.5 to Sitefinity 3.7 SP4
    Please refer the image attached to get more detail
    01.protected void Page_Load(object sender, EventArgs e)
    02.    {
    03.        this.userName.Controls.Add(new LiteralControl(Telerik.Security.UserManager.GetCurrentUserName()));
    04.        this.projectName.Controls.Add(new LiteralControl(Telerik.Cms.Web.UrlHelper.GetProjectName()));
    05.        // BEGIN EXCLUDE FOR COMMUNITY
    06.        this.langList.Visible = LocalizationManager.PersistenceMode != LocConfig.PersistenceMode.None;
    07.        // END EXCLUDE FOR COMMUNITY
    08.        this.MainMenu.DataBind();
    09.    }
  11. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    24 Feb 2011
    Link to this post
    Hello Gaurav,

    Are you trying to change the database schema? It looks like you are using different database? For instance you have SQL 2000 and now you are trying to perform an upgrade on SQ 2005 or 2008.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Register for webinar
11 posts, 0 answered