Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 930
  • Last Modified:

Unknown server tag 'asp:ScriptManager'

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
dtburdick
Asked:
dtburdick
  • 3
  • 2
1 Solution
 
BuggyCoderCommented:
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
 
dtburdickAuthor Commented:
I added it, but still get the same error.
0
 
dtburdickAuthor Commented:
I also checked the other links to no avail.
0
 
BuggyCoderCommented:
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
 
dtburdickAuthor Commented:
I was looking at the old server while making changes to the new one.  It is working now.  Thank you.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now