Installing AbleCommerce 7.0.2 to the .Net Framework 3.5

Effective 2/10/09, the AbleCommerce 7.0.2 release will support the 3.5 version of the .Net Framework.  This includes a modified web.config file that needs to be used instead of the default one.  As well, newer versions of the Ajax DLL's will be included.  

IMPORTANT:  A recent issue was found when installing to .NET Framework Version 3.5 which may generate a license key warning.  To correct this issue, download a new web_NET35.config file or edit your existing one as noted in the section "Changes required for New Installations" below.

Files specific to .Net 3.5

/web_NET35.config

/bin/ComponentArt.Web.UI.DLL.NET35

/bin/AjaxControlToolkit.DLL.NET35

The files do not cause any impact to the running software.

 

New installations:

To install AbleCommerce 7.0.2 on the .Net Framework 3.5, you will need to complete the instructions below before installing:  

  1. rename /web.config to web_NET20.config

  2. rename /web_NET35.config to /web.config

  3. rename /bin/ComponentArt.Web.UI.DLL to /bin/ComponentArt.Web.UI.DLL.NET20

  4. rename /bin/ComponentArt.Web.UI.DLL.NET35 to /bin/ComponentArt.Web.UI.DLL

  5. rename /bin/AjaxControlToolkit.DLL to /bin/AjaxControlToolkit.DLL.NET20

  6. rename /bin/AjaxControlToolkit.DLL.NET35 to /bin/AjaxControlToolkit.DLL

 

Manual changes for upgrades:

For upgrades, you can manually change your web.config file as indicated below.  If you haven't customized your web.config file, you can simply complete the steps given in the section above.

  1. Search for ”r;1.0.61025.0” and replace with ”r;3.5.0.0”  (this upgrades system.web.extensions)

  2. Search for ”r;AjaxControlToolkit, Version=1.0.10301.0,” and replace with ”r;AjaxControlToolkit,”  (this allows aspnet to find the correct ajax control toolkit)

  3. Replace ComponentArt.Web.UI.DLL and AjaxControlToolkit.DLL with updated versions by completing steps 3 through 6 from the section above.

 

Changes required for New Installations:

If you install AbleCommerce 7.0.2 to a server running 3.5 Asp.Net, which does not include all files from the AJAX Extensions 1.0, you will get a license key error when accessing the install page.  It will be a friendly message letting you know the AbleCommerce key is missing.

You can either download a new web_NET35.config file or you can edit your existing one as noted below.  

Located in the root folder of the AbleCommerce installation, find the web_NET35.config file or the web.config file if you've already renamed it per the 3.5 Asp.Net installation instructions.

Find the following lines of code at the bottom of the file:

        </system.net>

</configuration>

Insert the following lines of code so it will look like this:

</system.net>
   <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>
   </runtime>
</configuration>