Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

PageMethods not being called

$
0
0
PageMethods not being called
ASP.NET
PageMethods not being called
Apr. 12, 2013
12:29 am
3RD011UOEShow this entire thread in new window
Gratar Image based on email address
From:kavithas
To:All
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.

West Wind Web Monitor

Viewing all articles
Browse latest Browse all 10393

Trending Articles