Wednesday, March 21, 2012

Problem in deployment of AJAX enabled website

Hello Everybody:

Recently I have installed ajax extension in VS2005. I have a asp.net 2.0 website and I made necessary change in the web-config file for the ajax extension as described in AJAX video tutorial in this website. It works fine but when I deploy it to my server then it finds error in web-config file related to missing dll. What can I do? Please give me a suggestion.

Thanks to all.

The ajax installer puts the dlls into the GAC. Because of this, they do not deploy with your app in the bin folder.

You need to also install ajax on the server you are deploying to.


Well, the only things you can do are:

Install the Ajax Extensions on your server! If it is a shared hosting company contacting them may help: I succeeded once -- BUT ONLY ONCE!
The other solution it to copy over: System.Web.Extensions.dll, System.Web.Extensions.Design.dll from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 into your bin folder and it should work if your application runs in full trust mode!

Hope it works!


I was able to deploy my ajax app on my server without installing anything, just putting the System.Web.Extensions.dll into the bin folder and referencing it. I am still unable to get the control toolkit to work without installing anything on the server. Any ideas on that?(Sorry, I know it's not the control toolkit forum, but the question fits perfect in this post :) )

No comments:

Post a Comment