Ajax Enabled WCF service not working form remote server

Posted by Sandeepkasar under ASP.NET AJAX on 5/13/2012 | Points: 10 | Views : 2488 | Status : [Member] | Replies : 1
Hi..

I have a simple AjaxEnabledWcfService named.... Service

It works fine with local IIS but gives error at remote server as (Service is Undefined...)

E.g.
[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed )]
public class Service
{
[OperationContract]
public string SayHello()
{
return "Good morning :" + DateTime.Now.ToString();
}
}

Any solution ???????




Responses

Posted by: Vuyiswamb on: 5/13/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down

1) Do you have the correct Dotnet Frame on the remote machine
2) Are the WCF handlers installed ?

Thank you for posting at Dotnetfunda
[Administrator]

Sandeepkasar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response