This is the compliation element in the web.config
<compilation debug="false">
<
assemblies><add assembly="System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add assembly="Microsoft.Web.Preview, Version=1.1.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</
assemblies><buildProviders>
<
add extension="*.asbx" type="Microsoft.Web.Preview.Services.BridgeBuildProvider"/></buildProviders>
</
compilation>
I made the change for system.core to 3.5.0.0 and received the following errors:
Error 4 Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Error 5 Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Error 6 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. D:\Documents and Settings\Administrator.ACERLAPTOP\My Documents\Visual Studio 2008\WebSites\AJAXFuturesEnabledWebSite1\Default.aspx 10 14 D:\...\AJAXFuturesEnabledWebSite1\
I checked my assembly cache from the .NET 2.0 Configuration tool, but could not find:
System.Web.Extensions, Version=2.0.0.0
so I don't believe it is registered. If needed, which dll do I have to register to include this in the GAC.
I also noticed that if I juat use a normal asp.net web template to create a website in Orcas, I can compile and run an application using the updatepanel with a scriptmanager. However, I do not get code completion in Ajax client scripting (eg if I type "Sys." , I do not get any code completion, and when debugged, I get errors like Sys.UI.Window is null. Am I missing a reference, I thought VS Orcas sites had all the required references for ajax codecompletion/hinting. Please let me know if they have an updated Ajax Web site template to fix these problems or any solution to fix the above problems