Solved

Unknown server tag 'asp:ScriptManager'

Posted on 2012-03-19
5
857 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
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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