TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhimanyu K Vatsa
NA
40.4k
21.4m
Unknown server tag 'asp:ScriptManager'.
Apr 23 2011 11:16 AM
I am using Ajax Controls and when I run my site getting following error:
Unknown server tag 'asp:ScriptManager'.
Unknown server tag 'asp:UpdatePanel'.
Unknown server tag 'asp:UpdatePanel'.
When I searched on google about this error, most of the article saying to use the code given below:
--------------------------------
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</controls>
</pages>
:::::::::::::::
</system.web>
-------------------------------
After using above code in config file I am still getting more errors as given below:
------------------------------
The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
The type or namespace name 'AsyncPostBackTrigger' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'UpdatePanel' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'UpdatePanel' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'UpdatePanel' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'UpdatePanel' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
The type or namespace name 'UpdatePanelTriggerCollection' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
---------------------------------
Do I have to add some lines in Default.aspx page like given below or some namespaces:
<%@ Register TagPrefix="cc" Namespace="Winthusiasm.HtmlEditor" Assembly="Winthusiasm.HtmlEditor" %>
One more markable thing when I use <compilation debug="true" targetFramework="4.0" /> in cofig file it solves all errors. But my hosting company provides 3.5 extension.
How I fix this issue, please help.
Thanks in advance.
Reply
Answers (
7
)
What is IL code, CLR,CTS,GAC,GC?
web host