US 1.877.212326.2662
Browse Search
HOWTO: Use .NET 3.5 AJAX extensions with Bamboo Products (SP2007)
Created on: 22-Apr-09. Print Article
Last Modified on: 04-Feb-14. Email Article
Skill Level: Intermediate.
Article has been viewed: 39799 times.
Rated: 6 out of 10 based on 16 votes.
KB.12230
APPLIES TO:
  • Bamboo Task Master
  • Bamboo Calendar Plus 4.0 or newer
  • Bamboo Chart Plus
  • Bamboo Team Calendar
  • Data-Viewer 2.8 or newer
  • SharePoint Navigators
  • SharePoint Project Management Central
  • Other Bamboo Products that require AJAX extensions
  • Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007
Issue:

Your SharePoint 2007 farm servers were upgraded to use .NET 3.5 AJAX extensions, and there are other products that will need to reference the .NET 3.5 framework.  You notice when installing a Bamboo product, there is a listing for an installation component called Microsoft AJAX Extension or Microsoft ASP.NET 2.0 AJAX Extensions 1.0 
    
Resolution:

To reference the .NET 3.5 AJAX extensions for your Bamboo (and other) products: 

1. Follow server administration best practices and make a backup of the web.config.
 
2. Ensure that the Microsoft ASP.NET 2.0 AJAX Extensions 1.0 has been installed on each server in the farm that is running the Windows SharePoint Services Web Application service.
  
3. Run the Bamboo setup installer:

    a. Install the Microsoft Extension 1.0 component on each server in the farm that is running the Windows SharePoint Services Web Application service.  Note: this is an MSI so will need to be individually installed on each server.

    b. Install the Microsoft AJAX Extension Setup which is available on the UI of the installer as it automates these modifications for you. 

This is important as the changes to the web.config file(s) will be saved in the database.  Manual modifications to the web.config files are not recommended, and manual changes will not be saved in the database.
   



The Microsoft AJAX Extension Setup (or Bamboo AJAX config) component in our installer will add the blocks of code exactly as recommended by Microsoft, but if you need to reference .NET Framework 3.5, the instructions to add a redirect are below.

If there are already entries in the web.config file for system.web.extension (AJAX) prior to your Bamboo installation, please run the setup anyway, as there may also be Telerik.web.ui entries that need to be added to the web.config, and/or additional system.web.extension entries.

Your current system.web.extension entries will NOT be overwritten.

4. Once the web.config for the web application is configured for use with AJAX (and possibly Telerik), using PowerShell, add the following to the <runtime>
         section inside the <assemblybinding> section
**.

<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> 


For more information about using Powershell to update the web.config file, see:  HOWTO: Remove or add a web.config modification using PowerShell

For more information about why manual modifications should not be made, see the MSDN article:  Working with Web.config Files

Which notes:  "Changes that you make to Web.config may be overwritten when you install updates or service packs for Windows SharePoint Services, or when you upgrade an installation to the next product version."

 
 

5. Reset IIS. 

6. Make sure the Web Page Security Validation setting is turned On. To check that the setting is turned on, go to Central Administration > Application Management and select Web application general settings.  Note: this is the default setting for your SharePoint web application.

Web application general settings


    
       
Then select the On option for Web Page Security Validation.


Web Page Security Validation
  
       
If Web Page Security Validation is turned off, the following issues occur for these products:

  • Task Master: The arrows and the +/- buttons used to expand and collapse in the Gantt view do not work when they are selected. The zoom feature and the arrows used to scroll from side to side also do not work. 
  • Team Calendar: The buttons in "New Appointment" and "New Meeting" do not work.
  • Data-Viewer: When "Add New Item" is selected, a popup is displayed with a "loading" status.
  • Project Management Central: In Reporting > Resource Availability, resources cannot be selected from the drop-down menu

  
    

Related Articles
Q12637 - INFO: Configuring and Troubleshooting Microsoft AJAX Extensions for Bamboo Products (SP2007)
Q12730 - HOWTO: Steps in Troubleshooting AJAX Configuration (SP2007)

Article Attachments
BambooAJAXModifications.txt

Related External Links
No Related Links Available.
Help Us Improve This Article
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
   
Approved Comments
No user comments available for this article.