Hi, I've been trying to find a solution on my own for a few days without any resolve, so I'm hoping someone can help me out. I can't seem to add any sort of AJAX web part to our sharepoint sites. I've also done my best to rule out as many factors as possible, so the web part is strictly an update panel with no other code. However, I have tried several other ajax web part tutorial .dll's with no change in success.
I've made the changes to the web.config file as noted in several places. A few specific parts...here are the controls I've listed in the web.config file:
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="ajaxToolkit
" namespace="AjaxControlToolkit
" assembly="AjaxControlToolkit
"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview"/>
I've tried adding the compiled and signed .dll to the GAC to have it fully trusted, added the following line to the default.master:
<
asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server"></asp:ScriptManager>
However, I still get the following error when I attempt to add an ajax web part to a site:
Unable to add selected web part(s).
<Web Part Name> Web Part: Cannot import this Web Part.
And I get this error when attempting to preview the web part in the Web Parts Gallery:
Cannot import this Web Part. at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean clearConnections)
at Microsoft.SharePoint.WebPartPages.WebPartImporter.Import(SPWebPartManager manager, XmlReader reader, Boolean clearConnections, Uri webPartPageUri, SPWeb spWeb)
at Microsoft.SharePoint.WebPartPages.WebPartPreview.get_WebPart()
at Microsoft.SharePoint.WebPartPages.WebPartPreview.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint
Does anyone have any suggestions? Much appreciated!