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
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
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
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.Exten sions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35¿ />
</controls>
</pages>
<pages>
<controls>
<add tagPrefix=”asp” namespace=”System.Web.UI” assembly=”System.Web.Exten
</controls>
</pages>
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks everyone