Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vaclav 4 posts 24 karma points
    Apr 28, 2010 @ 17:18
    Vaclav
    0

    issue with ajax version

    When I try to run Umbraco I get error

    Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

    The version of System.Web.Extensions on my PC is newer - 3.5.0.0 (installed in GAC)

    What is the recommended solution?

     

    Thanks for advice

    Vaclav

  • webangelo 107 posts 190 karma points
    Apr 28, 2010 @ 17:52
    webangelo
    0

    I'd try adding this into your web.config

        <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>
  • Kim Andersen 1447 posts 2196 karma points MVP
    Apr 28, 2010 @ 19:31
    Kim Andersen
    0

    Hi Vaclav

    Could you please try to install ASP.NET AJAX 1.0: http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en

    I have had this error earlier, and I think that I solved it by the above installation.

    /Kim A

  • Vaclav 4 posts 24 karma points
    Apr 28, 2010 @ 21:22
    Vaclav
    0

    I tried to change the references in web.config to point to my version, but the old version is still referenced from the binaries.

    I do not know how to rebuild the binaries, there is no VS project included.

     

    Thanks

    Vaclav

  • Kim Andersen 1447 posts 2196 karma points MVP
    Apr 28, 2010 @ 21:34
    Kim Andersen
    0

    Vaclav, did you try to download the file that i linked to, and install the .NET AJAX extension from the downloaded .msi-file?

    /Kim A

  • webangelo 107 posts 190 karma points
    Apr 28, 2010 @ 22:16
    webangelo
    0

    Vaclav,

    The binding redirect may require the older versions to be present so you may have to install the older version as Kim suggests.  You can try a more generic version of the redirect first to see if that fixes it:

        <runtime>
         
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
           
    <dependentAssembly>
           
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31BF3856AD364E35" culture="neutral" />
           
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
           
    </dependentAssembly>
         
    </assemblyBinding>
    <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>

    If that doesn't work then installing the older version should work for you as Kim suggests.  I would still keep the redirects in your web.config to avoid conflicts with different versions of the AJAX assemblies.

    --Chris

  • Vaclav 4 posts 24 karma points
    Apr 29, 2010 @ 10:25
    Vaclav
    0

    ok, problem solved.

    Thanks to all!

    Vaclav

  • webangelo 107 posts 190 karma points
    Apr 29, 2010 @ 17:02
    webangelo
    0

    Vaclav,

    Can you mark the item as solved so others will know what solved the issue?  Also, if none of these suggestions solved it, please remark as to what did solve it for you so it will be available for others.

    Thanks.

    --Chris

Please Sign in or register to post replies

Write your reply to:

Draft