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

Re: PageMethods not being called

$
0
0
Re: PageMethods not being called
ASP.NET
Re: PageMethods not being called
Apr. 12, 2013
01:58 pm
3RD0TXWOLShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:kavithas

No idea but you should break out your debugging tools on the client to see if maybe some scripts are not loading causing the client to actually fail. Run FireBug, IE Debug tools or Chrome Debugger to see if any scripts fail to load.

If your app runs on GoDaddy there's no reason it shouldn't also work in a VM assuming the configuration is the same...

+++ Rick ---



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.



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles