Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

CRM 365 Webservice Application Problem

$
0
0

Just wonder if there is someone here, who has the same problem with me. I created WCF Service Application (REST) for dynamics CRM 365. I have tested and run this webservice in development PC. I host this webservice inside IIS and work great without error. But when i host this webservice in IIS within production PC, the webservice not returning value . No error message showed, the webservice just not give me the record that i want to retrieve using it.

On the production PC. This is what i got after run the webservice:

Meanwhile, in the development PC :


The web.config file:

<?xml version="1.0"?><configuration><appSettings><add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /></appSettings><system.web><compilation debug="true" targetFramework="4.5.2" /><httpRuntime targetFramework="4.5.2"/></system.web><system.serviceModel><services><service name = "WCF_CRM_Multipolar.Service1" behaviorConfiguration="ServiceBehaviour"><endpoint binding="webHttpBinding" behaviorConfiguration="web" name="Service1" contract="WCF_CRM_Multipolar.IService1" ></endpoint></service></services><behaviors><serviceBehaviors><behavior name="ServiceBehaviour"><!-- To avoid disclosing metadata information, set the values below to false before deployment --><serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/><!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --><serviceDebug includeExceptionDetailInFaults="false"/></behavior></serviceBehaviors><endpointBehaviors><behavior name ="web"><webHttp/></behavior></endpointBehaviors></behaviors><protocolMapping><add binding="basicHttpBinding" scheme="http" /></protocolMapping></system.serviceModel><system.webServer><modules runAllManagedModulesForAllRequests="true"/><!--
        To browse web app root directory during debugging, set the value below to true.
        Set to false before deployment to avoid disclosing web app folder information.
      --><directoryBrowse enabled="true"/></system.webServer></configuration>

Anybody know the solution of this problem ? 


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images