Thursday, 5 December 2013

"Script 1004 expected ;" error while calling WCF JSON Rest based service in Dynamics CRM 2011



I faced the following error while calling a WCF Rest based JSON service from Dynamics CRM 2011

This is used to due to the following setting has not done on the config file


<bindings>

<webHttpBinding>

<binding crossDomainScriptAccessEnabled="true"></binding>

</webHttpBinding>

</bindings>


This enables to set the WCF service to enable for cross domain


 

No comments:

Post a Comment