I have been fumbling with deploying my code to a SharePoint 2007 site for hours. I have ajax in my project and ajax is enabled on the sharepoint server. I am now getting this error:
but its type (System.Web.UI.ScriptManager) is not compatible with the type of control (System.Web.UI.ScriptManager).
Can someone please help point me in the right direction? I understand that I have some versioning issues… My project was developed in VS 2008 on .NET 3.5, and the SharePoint application is .NET 2.0 with ajax enabled.
Thanks.
try adding this to the “runtime” section web.config of the web application you working on:
under the “assemblyBinding”” section in the runtime section: