[Webinar] Streamline your web hosting managementRegister Today


Got error that ScriptManager not found when running on Server

Posted on 2010-03-30
Medium Priority
Last Modified: 2013-11-26
Hi, my web app works fine running from my development PC.  However, once I have it published and copied the files onto server to run I get the following error message:
CtuMAin.aspx page: Parser Error Message: Unknown server tag 'asp:ScriptManager'.

I thought the required ajax dlls will be included in the published files but apparently not.  How can I address this problem?  Thank you.
Also, I'm using VS 2008 and .net 3.5 and C# and asp.net
Question by:lapucca

Expert Comment

ID: 29117511
Ajax needs to be installed on your production server
LVL 10

Expert Comment

by:Alpesh Patel
ID: 29117607
Install AJAX toolkit and extender on your server.

if you dont have permission to install AJAX toolkit then copy AJAX toolkit.dll in to the application Bin folder and referenced that dll before you do build and publishing


Expert Comment

ID: 29118786
Also, if you do have the toolkit installed make sure your web.confit is not currupt. There is a location for the tookit in the web.config under pages..

<add tagPrefix=”asp” namespace=”System.Web.UI” assembly=”System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35¿ />
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.


Author Comment

ID: 29119649
Is there a certain directory on the server that the Ajax needs to be install?  I have downloaded the AspNetAjaxLibraryBeta0911.zip and I do have permission to install on the server.  Thank you.
LVL 10

Expert Comment

by:Alpesh Patel
ID: 29120256
If you dont have permission to install on server, then just add ajaxtoolkit.dll in to the bin directory of your current application.
and after that do publish site so it will include that dll in to the deployment

if you are using any ajax extender control then it is must to get install ajax extender on the server

Assisted Solution

santanu30in earned 800 total points
ID: 29120745
No need to install AspNetAjaxLibraryBeta0911.zip in your server .  you only copy "AjaxControlToolkit.dll" file in bin folder in your server.
 if the problem not solved then you may have problem in "web.config" file.
See the link below

Author Comment

ID: 29120981
Sorry, but still not very clear on this.
1. I DO, have the permission to install
2.  What directory on the server  should I install the ajax library, AspNetAjaxLibraryBeta0911
3.  I think AspNetAjaxLibraryBeta0911 comes with the tookkit and the "extender"?  
4.  I'm using the scriptManager and the UpdatePanel from ajax.  Are these extenders that you're referring to?
Thank you.
LVL 10

Accepted Solution

Alpesh Patel earned 1200 total points
ID: 29121329
forget everything .....

just copy ajaxcontroltoolkit.dll in to the Bin folder of you application.

so let say on server you will have applcation MyApp then



Author Closing Comment

ID: 31709084
Thanks everyone

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.

Question has a verified solution.

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

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

612 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