Crm 2011 Plugins & SharePoint 2010 INtegration

問題 Crm 2011 Plugins & SharePoint 2010 INtegration

  • Wednesday, August 22, 2012 9:18 AM
     
     

    Dear all,

    I have installed Dynamics CRM 2011 & Sharepoint Server 2010 on a Windows Server 2088 R2 server.

    I am creating a plugin which will create a predefined set of folders automatically on the SharePOint 2010 upon creation of an Account.

    I was able to do it on CRM 4.0 and sharepoint 2007.

    Now I am getting error when tyring to access the site:

    SPSite _MySite = new SPSite(@"http://Servername:5644/");
    SPWeb _MyWeb = _MySite.OpenWeb(); 

    I am getting the following error:

    Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.

    Has anybody able to create folders programmatically using plugins?

    Any help is great appreciated.

    Thanks

    Regards

    Vinay

All Replies