Author: evalese | Posted on: 3/18/2010 11:26:51 AM | Views : 335

Hi, I've searched far and wide, but can't find out why this is happening. I have a clientside javascript ajax call into a web service that works fine if both the service and the calling page are in the same directory. If I try to move the web service to another virtual directory, I get this:
Exception type: InvalidOperationException
Exception message: Request format is unrecognized for URL unexpectedly ending in '/js'.
Here are the relevant code tidbits for the separate directories attempt. Thanks for any help!
aspx file:
<div> <form id="form1" runat="server"> <asp:ScriptManager runat="server" ID="scriptManagerId"> <Scripts> <asp:ScriptReference Path="CallYahooQuotesServiceMethods.js" /> </Scripts> <Ser ...

Go to the complete details ...