Proble with the final 3.5 runtime

2 posts, 0 answers
  1. Pierre
    Pierre avatar
    212 posts
    Member since:
    Apr 2007

    Posted 12 Dec 2007 Link to this post

    Hi, i just uninstall the 3.5 Beta framwork and install the final 3.5 .net runtime. After change some minor element in my LINQ code, i start having error in the compilation process with the RadAjaxManager telling me that the assembly System.web.extention version1.0.61025.0 was not found. After checking in the windows/Assembly folder I cant see that i only have the new 3.5.0.0 version for this System.web.extention.

    I try to use le <runtime> tag in the web.config to resolve the old assembly, without sucess.

    Any suggestion?

    Here a part of my web.config
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">  
        <configSections> 
            <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> 
                </sectionGroup> 
            </sectionGroup> 
            <sectionGroup name="telerik.web.ui">  
                <section name="radScheduler" type="Telerik.Web.UI.RadSchedulerConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>  
            </sectionGroup> 
        </configSections> 
        
      <runtime> 
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
          <dependentAssembly> 
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31BF3856AD364E35" culture="neutral" /> 
            <bindingRedirect oldVersion="1.0.61025.0"  newVersion="3.5.0.0"/>  
          </dependentAssembly> 
        </assemblyBinding> 
      </runtime> 
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 13 Dec 2007 Link to this post

    Hello Pierre,

    This should be working, however can you try the following  binding redirect instead:

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

    Hope this helps.

    Regards,
    Author nickname
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top