I can't load an aspx page with AJAX enabled

Discussion in 'ASP.NET 2.0' started by Rinaldi, Sep 21, 2007.

  1. I got this following error message:

    Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.






    Code:
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    I even know where I should registry the value mentioned.


    any idea?


    Thank you very much.

    Post Edited (Rinaldi) : 9/21/2007 9:14:59 AM GMT
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    ok.. i think you are using AJAX version 3.5. AJAX 3.5 is only installed with .NET framework 3.5. You'll need to change your application to use 1.0

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I just had to remove the following tag in the page<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>


    For an Ajax web page work, it just needs the necessary reference for an ajax page to workin the web.config and nothing more. =D zzzzzzzz





    Thank you anyway bruce.
     

Share This Page