Last post Apr 12, 2010 11:05 PM by chetan.sarode
Dec 13, 2006 10:15 AM|deDogs|LINK
I am receiving: Element "ScriptManager" is not a known element. This can occur if there is a compilation error in the website. This happens when I add any AJAX component to my application. When I press F5, I then receive:
Unknown server tag 'asp:ScriptManager.' I am unable to use any AJAX componetns.
I am following the Microsoft video
by Scott Guthrie
Dec 15, 2006 05:47 AM|Jasson_King|LINK
Dec 15, 2006 12:19 PM|deDogs|LINK
I had ajax already installed. The ajax extensions are visible in the toolbar. However, I unistalled ajax, and downloaded and installed a fresh copy. The ajax extensions are visible in the toolbar, however, when I add, lets say, a ScriptManager (<asp:ScriptManager
to the page. The sqiggly line is displayed below ScriptManager, and when I mouse hover over the sqiggly, the context menu displays:
Element "ScriptManager" is not a known element. This can occur if there is a compilation error in the Web site.
This is not specific to only ScriptManager, it includes all the ajax extension that I receive this error.
I am using Visual Web Developer 2005 Express Edition.
Dec 15, 2006 02:09 PM|WishStar99|LINK
That's a known issue. It should be fine when you run you app. It's the same on my machine. Sometimes it goes away when your masterpage (where you put your scriptmanager) is opened.
Dec 18, 2006 01:18 AM|Jasson_King|LINK
Aug 22, 2007 04:43 PM|mreynolds|LINK
I had a similar problem that was caused primarily by my own lack of knowledge. I hadn't told the page that I was using AJAX Extensions...so I added to the web.config and my application was brought back to the land of the living.
Oct 03, 2007 04:24 PM|coriolan|LINK
Thanks, MReynolds for the tip. That helps me greatly.
Jul 10, 2008 02:53 AM|bryanpaling|LINK
I also have the same problem, my situation was, I wasn't using masterpages but just plain aspx form. I also have installed latest AjaxToolkit dll's... any idea guys? need your help... thanks.
Nov 06, 2008 08:54 AM|andyoye|LINK
I dont see <pages> in my web.config. I do see
<pages enableSessionState="false" enableViewState="true" enableViewStateMac="true" validateRequest="false" pageParserFilterType="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
So should I copy your lines in between <pages enableSessionState ............ </pages> ?
Dec 23, 2008 11:00 AM|DougMarks|LINK
This falls within the configuration tag.
Dec 23, 2008 11:25 AM|Pawan_Mishra|LINK
Following are some tips to make sure asp.net ajax framework is properly installed :-
1.) Check out for the following folder/directory in your system :- %system root%/program files/Microsoft Asp.net . (This folder contains the dlls required for asp.net ajax framework functionality).
2.) Once asp.net ajax framework is properly installed open VS2005 (incase u r using it , VS2008 already comes with ajax framework ) -> choose web site -> there you can see option "asp.net ajax enabled website" option.
3.) Now if you want to migrate your existing application to asp.net ajax enabled application , do the following :-
i) add the dlls to your application bin folder .
ii) For modification of web config file the best way is to create a dummy web site by choosing "asp.net ajax enabled website" option and then copying the missing portions from this webconfig to your application webconfig file .
4.) AjaxControlToolkit dll are simply added to your application bin folder , no installation is required as such . Make sure you download proper binaries corresponding to your .net framework installed in your system .
Apr 12, 2010 03:18 PM|velik|LINK
In my case, the problem was with old DLLs in my Inetpub\wwwroot\[virtual directory for my project] directory (I converted my site from ASP.NET 2.0 to ASP.NET 3.5).
To fix the error, I wiped out the content of the destination directory and re-published my page.
Hope this helps.
Apr 12, 2010 11:05 PM|chetan.sarode|LINK
Refer this thread