CRM 4 and Sharepoint on the same server

Last post 09-01-2008 12:19 AM by Uwe Braunholz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-28-2008 8:16 AM

    CRM 4 and Sharepoint on the same server

    Hello,

    i installed WSS to our CRM server. At first it seemed to work nicely,
    but now we noticed that no workflow was running anymore.

    Cheching the server I found out the MSCRMAsyncService was not running.
    The Eventlog says:
    ---snip---
    Host CRMSERVER: failed while monitoring asynchronous operations queue.
    Exception: System.InvalidOperationException: Client found response
    content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <HTML dir="ltr">
    <HEAD><meta name="GENERATOR" content="Microsoft SharePoint" /><meta
    name="progid" content="SharePoint.WebPartPage.Document" /><meta HTTP-
    EQUIV="Content-Type" content="text/html; charset=utf-8" /><meta HTTP-
    EQUIV="Expires" content="0" /><meta name="ROBOTS"
    content="NOHTMLINDEX" /><title>

            Fehler
    ---snap---

    As you can see, sharepoint is taking some request from the service and
    responds with an error.

    Why is this? Sharepoint runs in the defaultwebsite (ID 1) while CRM is
    running (as before) in site ID 2 (Microsoft Dynamics CRM). Each site
    has its own IP-address assigned, so no different port is needed. The
    defaul IP is assigned to the CRM site.

    I already tried to change to site id, site name of the sharepoint site. I also changed to port from 80 to something else. Nothing helped. As soon as I stop the sharepoint site the service runs again.

     
    I really hope someone can help me on that.
    Thank you!
    Regards,
    Uwe
  • 08-29-2008 8:31 PM In reply to

    Re: CRM 4 and Sharepoint on the same server

    Have you made sure that both CRM and WSS use a different App Pool?  They should be in different app pools by default, but wouldnt hurt to check.

    What about the Service Name used to run each App Pool?  I have had issues (random ones) if I use the Network Services account for all of my App Pools.  I've recently gotten into the habit of defining new Services (like CRMService or SharepointService) and using the those new service names.

    This does add one additional burden of making sure that each new service account that you create has the proper security credentials.

    For troubleshooting purposes, you could use an "Administrator" type account on one App Pool, and then use a different "Administrator" type account for the other App Pool.  Restart IIS and all services and see if that helps identify the issue.

    Hope some of that helps spark a solution.

    Ryan

  • 09-01-2008 12:19 AM In reply to

    Re: CRM 4 and Sharepoint on the same server

    Hello Ryan,

    thank you for your reply. I think I got this working now. I cannot tell exactly what the problem was, but It seemed like the sharepointsite had multiple IPs assigned (its a separate dialog in IIS6 config). I came into this by accident only.

    Thank you!

Page 1 of 1 (3 items)