Solved

Unknown server tag 'asp:ScriptManager'

Posted on 2012-03-19
5
885 Views
Last Modified: 2012-03-19
I have my app all ready to go, but I can't get it working on the server.  It's running .NET 4.0, which I thought included AJAX extensions.  Anybody have any ideas?

This is the error I get.


Parser Error Message: Unknown server tag 'asp:ScriptManager'.

Source Error:

Line 28: <body>
Line 29:     <form id="form1" runat="server">
Line 30:     <asp:ScriptManager ID="MainScriptManager" runat="server" EnableHistory="True" />
0
Comment
Question by:dtburdick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 250 total points
ID: 37737782
make sure you have this section in web.config:-
<pages>
      <controls>
               <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </controls>
  </pages>

Open in new window


see these as well:-
http://forums.asp.net/t/1707661.aspx/1
http://forums.asp.net/p/1054146/1495802.aspx
0
 

Author Comment

by:dtburdick
ID: 37737995
I added it, but still get the same error.
0
 

Author Comment

by:dtburdick
ID: 37738181
I also checked the other links to no avail.
0
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37738659
please make sure that you have control library installed on server and that too of the correct version, the version of library installed on server has to be same as on your machine.

the same version is to be specified in web.config tags....
0
 

Author Closing Comment

by:dtburdick
ID: 37738773
I was looking at the old server while making changes to the new one.  It is working now.  Thank you.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question