Freigeben über


Microsoft CRM and MOSS 2007 workaround

Hello everybody. I have got a lot of questions about the Microsoft CRM Webparts and if they will work on a MOSS 2007 Server. To enable the Microsoft CRM Webparts on a MOSS 2007 server Richard created the following workaround.

Workaround:
The setup for the Microsoft CRM list web part doesn’t detect MOSS 2007 and needs to call the stsadm.exe in a different place. You can work around this problem by extracting the web part cab file on an WSS v2 machine and manually deploying the web part package.

Extracting the web part package from the MSI:

  1. Requires Windows SharePoint Server v2 or SharePoint Portal Server 2003 to be installed on the machine.
  2. Execute the following command line
    a. Msiexec /i listwebpart.msi EXTRACTCABONLY=1 TARGETDIR=<path to install location> The file MicrosoftCRMListWebPart.cab will in the install location.

Manually deploying the web part package:

  1. Execute the following command line using the correct paths for your configuration. Where “C:\public\” is the path to the extracted web part package.
    a. "c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o addwppack -filename "c:\public\microsoftCRMListwebpart.cab" –globalinstall

This will deploy the web part for all SharePoint sites on the server.

UPDATE:
This workaround is not a supported process for the CRM List Web part.  As an unsupported workaround, should someone run into issues with this process there would not be technical support available from Microsoft PSS.

Comments

  • Anonymous
    March 06, 2007
    Hi, i wonder whether it is neccessary or not to have wss v2 or sharepoint portal server 2003 to extract the CAB file out of the MSI? does the extraction depend on a specific msiexec version? i really wonder because it is even part of a win xp pro sp2. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/msiexec.mspx Greetings, Marek Koch

  • Anonymous
    March 06, 2007
    That's what it lets extract the .CAB file in the correct way. If you find any other solution for this...please let me know.

  • Anonymous
    March 06, 2007
    Hey, the following sent me going to town.... msiexec /a listwebpart.msi EXTRACTCABONLY=1 TARGETDIR=<PATH_TO_TARGET_DIR> Works fine on WIN2k3 R2 Ent. Edition. Be careful not to confuse the listwebpart.msi in the TARGETDIR with the one originaly downloaded after executing the above command! Cheers from the baltic shores, Norb

  • Anonymous
    March 07, 2007
    @mennotk: Ok, handled the CAB extraction and installation with stsadm. Now i am able to add the webpart to a SharePoint Website easily. nevertheless the connection to my CRM server does not work. when i edit the webpart and type in the "CRM Server URL" and click on "Connect" Button nothing happens. No Progress in the IE Statusbar nor a waving Microsoft Flag at the upper right corner of the IE window. any ideas? are there any further steps required for using this webpart? hacking some xmls or web.config files? Greetings, Marek

  • Anonymous
    March 07, 2007
    Marek, it should jsut work. Can it be that you are experiencing network issues? Try the servername+portnumber or ipaddress?

  • Anonymous
    April 20, 2007
    The comment has been removed

  • Anonymous
    May 07, 2007
    This makes an end to my populair blog entry where I discribed a "manual" workaround. http://blogs.msdn.com/mscrmfreak/archive/2007/01/16/microsoft-crm-and-moss-2007-workaround.aspx

  • Anonymous
    October 02, 2007
    I am getting an error message that states: ERROR: You must specify a valid Microsoft CRM Server. BUT I cannot change the defaulted one that from //crm which appears to be what the info message says under where I specify the CRM server. Note: Click here for more information about the CRM Server Url. This version of the CRM List Web Part only supports binding to a single Microsoft CRM server per SharePoint server. Since this part has already been configured on this SharePoint Server, the CRM Server URL has been defaulted for you.

  • Anonymous
    October 02, 2007
    I got it working! I used http://64.233.169.104/search?q=cache:aQAX6UwlrbUJ:blog.sonomapartners.com/2006/03/
    microsoft_dynam.html+ERROR:+You+must+specify+a+valid+Microsoft+CRM+server.&hl=en&ct=clnk&cd=2&gl=us&client=firefox-a

  • Anonymous
    October 03, 2007
    Brad, good to see you found the solution by using the blog from Sonoma Partners.