rss feed Rss FeedAsp.net Coder
learn asp.net & visual studio 2008,this blog share our study record.there are a lot of solution and source code of building web application using asp.net

AjaxControlToolkit cannot run on my win 2003 server

Author:kaven  PostAt:Wed, 26 Nov 2008 06:28:09 GMT Posted In:Ajax
Q:

I use the HoverMenuExtender control in my aspnet 2.0 project. It worked well on my machine but when I deployed it to our windows 2003 server. The ajax control will not work, and I get a scirpt error at the left bottom cornor of IE browser which says "Object expected". I have no idea how this happens. Anybody will help me?


A:

Did you deploy all the required files to your win2k3 server box? including the ASP.NET extensions and the toolkit libraries?
 

A:

 Hi Jimmy,

Thank you for your reply. Yes I did. Actually, I deployed the website to two server and the other server is works well. I did not find the difference between the IIS configuration on these two servers. Could you please give some guide or some thing help? Thank you very much.

A:

 

The only thing I can think of based on your description of the error is missing some dependencies.

The websites works but only the toolkit fails that is why I am lead to believe it is a toolkit installation problem.

Try clearing your browsers internet temp files and see does that help, otherwise if both machines are configured the same and has the same deployment conditions then I cannot see where the error is coming from. 

A:

Thanks again,

I didn't install the Ajax or the toolkit, but just reference them to the bin folder. includes AjaxControlToolkit.dll,System.Web.Extensions.dll and System.Web.Extensions.Design.dll. Is there any configuration in IIS or somewhere else that I did not noticed can raise such problem.

 

A:

Thanks again,

I didn't install the Ajax or the toolkit, but just reference them to the bin folder. includes AjaxControlToolkit.dll,System.Web.Extensions.dll and System.Web.Extensions.Design.dll. Is there any configuration in IIS or somewhere else that I did not noticed can raise such problem.

 

A:

 

There is no IIS setting that the AJAX toolkit is dependant on.

To be totally sure, download the AJAX extensions MSI from MS and install that as that is a prerequisites and may not be in your BIN directory as some are deployed to the GAC. 

Previous: ModalPopup & Screen Flicker
Just as with the other controls, when the page first loads you briefly see the controls before they are hidden.  However, with the modal if you set the control's visibility to hidden, it will not display when it's poped up. Is this a known bug? or someting else? ... more
Next: None