Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Unknown server tag 'asp:ScriptManager'

Posted on 2012-03-19
5
Medium Priority
?
907 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 1000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

636 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