This is a migrated thread and some comments may be shown as answers.

Proble with the final 3.5 runtime

1 Answer 110 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 2
Iron
Iron
Pierre asked on 12 Dec 2007, 05:19 PM
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> 

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Dec 2007, 09:10 AM
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
Tags
Ajax
Asked by
Pierre
Top achievements
Rank 2
Iron
Iron
Answers by
Steve
Telerik team
Share this question
or