Ajax working on dev server not on ie

B

Bill Gower

I have a webapp that uses the AjaxControlToolkit. The app and ajax works
fine when run within my dev server in Visual Studio 2005 but does not work
on IIS. Any Suggestions?


Bill
 
G

George Ter-Saakov

"Does not work" is pretty vague term.
Suggestion: Rephrase your question and be more specific.

George
 
B

Bill Gower

Example. The Masked Edit does not display the mask. It works fine and does
display the mask in my development server. When I run the app in IIS, I get
the textbox for the date field but the mask doesn't work. I am using the
MaskEdit ajax control.

Bill
 
B

Bill Gower

Further to my post, I am getting no error messages, the app loads just fine.
It just doesn't use the Ajax controls in IIS 6. I have the dlls for Ajax in
my bin directory. As I said earlier the Ajax controls work just fine in my
vs dev server but they won't work in IIS 6

Bill
 
B

Bill Gower

A further note. Scripting is enabled in my browser and when I look at the
source that is produced I can see the javascript in the page.

Bill
 
G

George Ter-Saakov

My guess would be that ajax settings are not in web.config so browser can
not load javascript.
Check web.config files on development and production especially <handlers>
section.

George.
 
B

Bill Gower

No the web config file is fine. I am using the same web.config on both IIS
and vs dev web server. Could it have something to do with IIS? IIS maybe
does not know how to handle Ajax. Do I need to configure IIS anywhere?

Bill
 
G

George Ter-Saakov

the web.config is the only change needed to configure Ajax.
Have you configured the folder as an Application in IIS?


Also make sure you have JavaScript errors notification turned on. Internet
Options/Advanced/Display notification about every script error"


I am almost 100% positive you have a problem with JavaScript.




George
 
B

Bill Gower

I finally got it to work. I rebuilt the web.config file from scratch.

Thanks for your help
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top