PDA

View Full Version : I can't load an aspx page with AJAX enabled


Rinaldi
09-21-2007, 08:55 AM
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.






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

bruce
09-22-2007, 01:25 AM
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 (http://www.DiscountASP.NET)

Rinaldi
09-23-2007, 04:54 AM
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.