Home Page › Forums › BizTalk 2004 – BizTalk 2010 › BizTalk CRM 4.0 Adapter, error while invoking using send port 401:Unauthorized
- This topic has 2 replies, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
May 20, 2009 at 11:35 AM #22431The following is the error encountered while trying to create an entity on the CRM using BizTalk CRM adapter 4.0Environment:BizTalk Server 2006 R2BizTalk Adapter for CRM Dynamics 4.0It looks like a know issue, but the solutions found on the internet is not clear.Steps to reproduce:1. The document (Microsoft BizTalk Adapter for Microsoft Dynamics CRM 4 0 – Installation and Usage Guide.doc) has beenfollowed to create and configure hosts, send port ( solicit-response port) and auto-generate schemas for contact entity.2. The contact entity creation fails with the following error in the event log.A message sent to adapter “Microsoft Dynamics CRM 4.0” on send port “CRMSendPort” with URI “http://<server_name>/MSCRMServices/2007/crmservicewsdl.aspx” is suspended.
Error details: The request failed with HTTP status 401: Unauthorized.
MessageId: {74195740-B8A1-43A9-A3CA-92DE74067207}
InstanceID: {4DA4C91E-563F-482E-B503-97C22DF1129D}The following reference documents have been found on the internet. -
May 22, 2009 at 2:28 AM #22452
Adapter is developed for CRM 3.0 but with minor tweaks can be used with CRM4 so, it doesnot support Organisation in the URL so u should use
http://<CRM server>/msCRMServices/2006/
in the CRM adapter URL
-
May 22, 2009 at 2:34 AM #22453
Also checkout the CRM4 adapter installation guide
Steps to deploy CRM4 Adapter
—————————–STEPS 1 & 2 to be completed on BIZTALK Application SERVER
1. Install CRM3 Adapter
2. Download hot fix for CRM4 Adapter and install it (Can be installed only where CRM3 adapter is already installed).STEP 3 to be completed on CRM APPLICATION SERVER
3. Now to deploy CRM4 adapter do the following (VERY IMPORTANT FOLLOW THE STEPS ACCURATELY).
I. Create a folder called ‘xsd’ in the ‘SDK’ folder under ‘CRMWeb’ sub folder under CRM Server installation root directory i.e “Drive\Program files\Microsoft Dynamics CRM Server\CRMWeb\sdk”.
For Example “C:\Program files\Microsoft Dynamics CRM Server\CRMWeb\sdk”II. Copy “entity.aspx(3KB)” from the STEP 1 i.e “DRIVE\Program files\BizTalkAdapter\KB946649” to the above xsd (create in step 3 of I) folder
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.