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

Forums / Developing with Sitefinity / upgrading sitefinity 3.5 to 3.6

upgrading sitefinity 3.5 to 3.6

5 posts, 0 answered
  1. Samir
    Samir avatar
    14 posts
    Registered:
    12 May 2008
    16 Mar 2009
    Link to this post
    Hello,

    I was trying to upgrade the sitefinity from 3.5 to 3.6. What file do you download to do the upgrade?
    I downloaded the Sitefinity_3_6_1870_standard_NET20_patch.zip. I extracted the patch, copied and pasted the files in the sitefinity folder on the webserver. Did the necessary changes in the web.config file. Deleted the assymbly files in the ~\Sitefinity\ServiceAssemblies. Restarted the application on the IIS. However, when i try to log in now as an admin, it gives me following error:

    Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Unable to create type 'telerik:RadTabStrip'. Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Source Error:

    Line 41: 				
    Line 42: 				<div class="tabstripWrapper">
    Line 43: 					<telerik:RadTabStrip  EnableEmbeddedSkins="false" Skin="Sitefinity" id="MainMenu" runat="server" meta:resourcekey="RadTabStrip1Resource1" DataFieldID="ID" DataFieldParentID="ParentID" DataNavigateUrlField="NavigateUrl" DataSourceID="MainMenuDataSource1" DataTextField="Text" DataValueField="Value" OnDataBound="MainMenu_DataBound" CausesValidation="false"></telerik:RadTabStrip>
    Line 44: 					<sf2:MainMenuDataSource id="MainMenuDataSource1" runat="server"></sf2:MainMenuDataSource>
    Line 45: 				</div>

    Source File: /Sitefinity/Admin/Admin.master    Line: 43

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    


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


    ==============================================
    Before this error, there was a file access problem.
    The application was trying to access the file: upgrade_3_6_templates.txt
    I gave ASPNET user full control on this file and the folder it was in but I still got the error of denied access to the folder. So I moved the file to the different location. Then I got the above error.
    =========================

    On the webpages i get the following error:

    Unable to create type 'telerik:RadPanelBar'. Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    I tried in a virtual machine that had windows xp running together with sitefinity 3.5. I did the upgrade just fine on this one. However, when i did it on the webserver, it's giving me all the errors.
    Can any of you please tell me what step i missed on upgrading to sitefinity 3.6?

  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    17 Mar 2009
    Link to this post
    Hi Developer,

    We are sorry to hear you have problems with the upgrade. Here are answers to your questions:

    What file do you download to do the upgrade?
    You can choose between two Sitefinity Standard installations: for .Net framework 2.0 and 3.5 .
    Also, you could choose from two possible ways of how to upgrade - by adding your changes to a new Sitefinity 3.6 project or by applying a 3.6 patch to your existing 3.5 project. For either choice, a very good document to follow in the process is this: Upgrade Instructions .

    Assembly Error
    You have downloaded the patch for 2.0 - are you sure your previous project was running on 2.0? If not (if it was running on 3.5), you need to download Sitefinity_3_6_1870_standard_patch.zip . The error you are getting is exactly because of this - the assemblies you have copied from the patch are not for framework 3.5 and that is why they can't be located:
       Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, ...

    Text File Error
    The text file upgrade_3_6_templates.txt is important - it will upgrade the templates in your database so that there are no errors that Sitefinity is not able to find specific templates. That is why it is important that this file is exactly in App_Data folder. You will need to put it back and provide permissions for the text file so that it will run. When it does run, it will be deleted automatically.

    My recommendation is, if possible, to download the 3.5 patch and do a clean upgrade of your Sitefinity 3.5 project. If not, after you put back the text file and you make sure the permissions are correctly set, run your application. There is a possibility that the text file is not run automatically since you removed it. If this is the case (if the file is still in the App_Data folder), you will need to manually make sure the text file is run.
    To do that, you need to open the database for the project, open the table sf_CmsVariables, and check if SchemaVersion has the value 1870. If yes, change it to a previous number, say 1800. The next time you run your project, this will make sure the database is upgraded again and the text file will run automatically, then be deleted. You will know if this has gone successfully when the file is no longer in App_Data folder.

    RadPanelBar Error
    The cause of this error is the same as the previously explained Assembly error. The fix is the same as well.

    Let me know if this does not help and you need further assistance.

    Regards,
    Sonya
    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. Samir
    Samir avatar
    14 posts
    Registered:
    12 May 2008
    17 Mar 2009
    Link to this post
    Thanks Sonya for reply. I thought that version number was for sitefinity and not for .net. Anyways, I figured out what I did. I downloaded the 3.5 patch instead of 2.0 for the server. I downloaded the 2.0 for the virtual machine and had worked. That's why I was wondering why worked for the virtual machine and not for the server? Anyways, after downloading the 2.0 version works fine. Thanks again for clarifying that it was the .net version of 3.5 and not the sitefinity.


  4. Samir
    Samir avatar
    14 posts
    Registered:
    12 May 2008
    19 Mar 2009
    Link to this post
    Hello Telerik Team,

    Thought I should point this out since it's not specified on "how to apply a patch". When I tried to upgrade from 3.5 to 3.6 in the web server running windows 2003 the first error I got was permission issue of the file: "upgrade_3_6_templates.txt" in the app_data folder. The error specifes to give access to ASP.NET user for the file. However, giving the local ASP.NET user "full control" does not resolve the issue. You have to give permission to "IIS_WPG" on the web server to resolve the permission issue. Giving permission to the ASP.NET user in XP works, however. Happy coding!!
  5. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    19 Mar 2009
    Link to this post
    Hello,

    IIS_WPG group is used with IIS6, so I assume you will have to give permissions on Network Services account (obviously you are running 2k3 server), rather than on aspnet account.
    Is this correct?

    Kind regards,
    Georgi
    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
5 posts, 0 answered