Hello everyone. Let me start out by just saying I am new to AJAX and my problem could very well be that I am not connecting the dots correctly. That being said, here is the problem. I have an AJAX enabled web site containing 1 page. Upon clicking a button, I make several webservice calls, between each call I update the screen from the javascript to give the user an idea or the progress. This works perfect when running in the IDE (Visual Studio 2005). My headache started when I decided to test it out on my local IIS. I can see the site, but an error "Error: 'Sys' is undefined". this error occurs once on page load then I get an error telling me that my webservice is undefined when the button is clicked.
This is where I think the offending code resides:
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/Scripts/Build.js" />
</Scripts>
<Services>
<asp:ServiceReference Path="BuildService.asmx" />
</Services>
</asp:ScriptManager>
Possibly I am missing an attribute or something. Currently my javascript is in <root>/Scripts and my webservice resides in <root>.
At first I thought it was working in Firefox, but since have determined that in Firefox the errors were not being thrown (probably an option that i have not set somewhere in Firefox).
Again, it works when I run from Visual Studio 2005. Any help would be appreciated.
thanks,
Brian