Hello,
I have a web service published in IIS that has calls to a CRM site.
When browsing on the IIS Site, I can view all the functions without any issue.
However, when calling any functions that makes calls to the CRM site, it doesn't recognize the connectionsetting statement I have in the Web.config file.
Here's what the web.config file looks like on the web service website:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="CRM_URL" connectionString="Url=http://k-crm-dev-web01/Kitco"/>
</connectionStrings>
<system.web>
<trace enabled="true" pageOutput="false" requestLimit="40" localOnly="false"/>
<compilation debug="true" targetFramework="4.0">
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
</configuration>
Any clue?
Thanks in advance,
J-P