Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

Got error that ScriptManager not found when running on Server

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
Avatar of palikero
palikero

Ajax needs to be installed on your production server
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


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..

<pages>
<controls>
<add tagPrefix=”asp” namespace=”System.Web.UI” assembly=”System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35¿ />
</controls>
</pages>
Avatar of lapucca

ASKER

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.
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
SOLUTION
Avatar of santanu30in
santanu30in
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lapucca

ASKER

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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lapucca

ASKER

Thanks everyone