If your app runs on GoDaddy there's no reason it shouldn't also work in a VM assuming the configuration is the same...
Hi,
I have deployed my website on a GoDaddy dedicated server 2003 and my PageMethods get perfectly called.
But when i tried to deploy it on a Virtual Machine with IIS7 and Windows Server 2008 r2 the PageMethods are not being called.
No value is returned as well.
I have enabled EnablePageMethods as well.
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
The way I have called the method from aspx file is like below:
PageMethods.SendQueryResultsAsSpreadSheet(Query,emailID,FromDate,ToDate,onSuccess, onFailure);
On the code behind this is the way i have defined the method:
[ScriptMethod, WebMethod]
public static string SendQueryResultsAsSpreadSheet(string SQLQuery, string EmailAddress,string periodFrom,string periodTo)
{
}
Can you please tell me what can be the possible issue.Please help.