Tuesday, 26 August 2014

After installing RU 16 and then 17, one of the working webservice stopped working

We have a webservice  which was built using 32 bit dll and is used within crm, for that purpose we created a new application pool to run for .net 4 but to allow 32 bit application to run.
This was working fine, however

After RU 16 and 17 were installed, I started getting error

"HTTP Error 500.0 - Internal Server Error

Calling LoadLibraryEx on ISAPI filter "c:\Program Files\Microsoft Dynamics CRM\Server\bin\DefaultAddonFilter.dll" failed
...
Handler: ExtensionlessUrl-Integrated-4.0

"

Resolution:

1. Copy the "Microsoft.Crm.Core.dll" to the bin folder of webservice
2. Go to the app pool and click on "Advance Settings..." specified in the Actions properties area and set the 'Enable 32-Bit Applications" to False.
3. Add the node <clear/> in the configuration/system.web/httpModules node
<httpModules>
   <clear />
</httpModules>
4. Add the following section in the configuration/system.webServer/handlers node as below
<handlers>
     
<clear/>
     
<add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" />

<add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />

</handlers>







http://ms-crm-2011-beta.blogspot.co.uk/2011_09_01_archive.html

No comments:

Post a Comment