Solved

Unknown server tag 'asp:ScriptManager'

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now