Hello,
I tried to search on this question, but I'm not sure how to form it, so if it has been answered, my appologies.I had an application developed by a 3rd party company using ASP.NET (2.0, C#) and AJAX. On their test server the AJAX is working. I have a page that has three drop downs. The top drop down populates the second and the second populates the third. On my production box, the app is not getting the new data for the second and third drop downs. (But it does on the test server)
I am running MS 2003 server with IIS and ASP.NET and AJAX installed. I'm a total novice with this, so any help would be appreciated. The contractor has been no help as far as the server setup. I'm guessing it is a checkbox somewhere and I'll end up being red faced.
Thank you in advance!
-Matt
![]() |
0 |
![]() |
msanders:
ASP.NET (2.0, C#) and AJAXlikely, the ajax.asp.net 1.0 has not been installed. go to ajax.asp.net on the server and install that and it will probably just work.
Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
![]() |
0 |
![]() |
You need to install ajax on the production server or put these dlls in the bin directory
http://www.asp.net/ajax/downloads/
System.Web.Extensions.dll (Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025)
AjaxControlToolkit.dll -- If you use AJAX tool kit functionality .. You can download the dll from here
http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513
Jeev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
![]() |
0 |
![]() |
Thank you for the reply. Yes, AJAX has been installed, I also installed the January CTP (Not sure if that is the right term) to see if that would help. I also rebooted after the installs, just in case.
![]() |
0 |
![]() |
Hmm it should work. Just to trouble shoot..can you try putting the dll's in the bin folder?
Also another check is are all ajax functionality broken? or is it just the cascading drop down? Also check the data and see if there is infact data to display
Try putting a simple ajax page to check if it works
Jeev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
![]() |
0 |
![]() |
I just looked in C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 and saw the .dll
I will download the toolkit and install that, maybe they used it and didn't know it. (?) It can't hurt right?
I looked at the database and there is data.
I don't know enough about ASP or AJAX to make a simple script for testing. Can you recommend something for testing?
![]() |
0 |
![]() |
A simple page with a scriptmanager and an updatepanel and a timer control with time interval set to say 10 sec . Put a label inside the contenttemplate of the updatepanel and in the code behind page load assign current time to the label... Pretty much an ajax based clock .
Jeev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
![]() |
0 |
![]() |
I've tried three seperate times to download the toolkit with no luck.
I hate to say this, but I'm not even at the newbie level of ASP. What you recommended was gibberish to me. Are there other IIS settings that I can check?
![]() |
0 |
![]() |
Oh sorry about that. what I had mentioned were the steps to create a basic ajax enabled page
1. Creat page
2. Add a script manager control
3 Add an update panel control
4. Add a timer control and set time interval
5. Put the the label into the contenttemplate of the updatepanel
6. In the code behind page set the text of the label to the current date time
7. Set the timer as the Async postback trigger for the updatepanel
Would suggest taking a quick look at the beginners tutorial for asp.net ajax
Don't think of any iis settings that you need to check
http://www.asp.net/ajax/documentation/
Jeev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
![]() |
0 |
![]() |
hi,
Make sure the web.config is configured to work with AJAX
![]() |
0 |
![]() |
Thank you - which webconfig file? Again, I appologize for my newness to this whole thing. The origional plan was to get this app up and running, and THEN start learning ASP.Net...
![]() |
0 |
![]() |
... then that must be the problem:
if you already have a website and do you want to implement AJAX on it and to work at the same time watch that video:
http://www.asp.net/learn/ajax-videos/video-81.aspx
if you want to start an empty website witch uses AJAX click File > New WebSite and then select "ASP.NET Website with AJAX" or something like this and you can watch videos to learn how to make your first ajax aplications
http://www.asp.net/learn/ajax-videos/
i hope this will resolve your problem ;)
![]() |
0 |
![]() |
Thank you for the reply. This is an app that was created by a 3rd party company. They have it working on their server. They sent me the files and the database. I got the database inserted and am trying to get the app up and running. The AJAX is not working on my server, but it is on theirs.
I don't have any knowledge of ASP.Net or ASP AJAX, so unless someone has a file I can just drop in place to test functionality, I can't even do that. The 3rd party contractors are out until Jan. 2nd, I was hoping to get something going before then.
-Matt
![]() |
0 |
![]() |
Just to approach this from another direction, are you sure that AJAX isn't working? What I mean is, have you tested it on various computers? Could it be that your browser settings are the problem? Basically what I am getting at is, did they test the application after deployment, or are you the only one who has tried it?
![]() |
0 |
![]() |
Thank you for the response.
I have tried running it from the server using localhost - as well as from my machine and a coworker's. I asked the contractor to try the app from him machine as well all with the same results.
He and I went through all of the IIS settings he and I could think of with no joy. I have this sinking feeling that it's one of those not too well documented switches like when we upgraded our server 2000 boxes to server 2003. We set up all the shares, but no one could access them. Finally we found a second switch buried in a different part of the OS to allow people to connect to the server that wasn't there before. :(
![]() |
0 |
![]() |