PDA

View Full Version : JQuery AJAX with Scriptmanager


David
04-16-2009, 12:13 PM
I am trying to use ajax with asp.net and JQuery but the javascript gives me an error when the page is run through IIS but not when I debug. I am using the <asp:ScriptManager> and using jquery-1.3.1.js as the path for asp:ScriptReference and Service.svc as the asp:ServiceReference

Service.svc calls an object in my app_code folder called Service.cs.

I dont get why I can run this code without a problem when debugging but putting th code on production doesnt work.

mjp
04-17-2009, 09:08 AM
You should check out the articles linked from this thread (http://community.discountasp.net/showthread.php?t=7746).

There's tons of useful information there, but you might want skip right to #5 if you're pressed for time: Common Configuration Differences Between Development and Production (http://www.asp.net/learn/hosting/tutorial-05-cs.aspx).

Pretty cool stuff, and the examples all use DiscountASP.NET.

David
04-20-2009, 07:20 AM
Thanks for the help and the link I will definatley take a look at it.