locked
Company Web Site and CRM 2011 RRS feed

  • Question

  • Hi,

    We are planning to integrate our company web site with CRM 2011.

    we have couple of forms on website like contact us request, call back etc....  these request needs to be converted in to leads.

    at the same time same thing for support cases.

    we already have CRM 4.0 integrated ... but now we want to know that how can we use existing code with crm 2011.

    Thanks.


    ja
    Wednesday, April 13, 2011 1:08 PM

Answers

All replies

  • If the existing code is Jscript on the same server there shouldn't be much that needs to be done unless you need to point to the new endpoint. 

    For .NET the syntax hasn't changed a whole lot but the assemblies are different.  Again your existing code should be able to hit the legacy endpoint that is still included in CRM 2011, but if you want to hit the new endpoints you should look into the new new SDK.

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=420f0f05-c226-4194-b7e1-f23ceaa83b69

    If you need further help I would suggest posting code samples.


    Jamie Miley
    http://mileyja.blogspot.com
    Linked-In Profile
    Follow Me on Twitter!
    Wednesday, April 13, 2011 1:42 PM
    Moderator
  • thanks for the reply....

    please look into the following references and the error... and suggest.

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Crm.SdkTypeProxy;
    using Microsoft.Crm.Sdk;
    using MachSol.CRM_Connector;
    using Microsoft.Crm.Sdk.Query;
    using System.Collections;

     

    Error1

    Server Error in '/' Application.


    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

     

    Error2

    File name: 'Microsoft.Crm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

     

    Thanks...


    ja
    Wednesday, April 13, 2011 2:13 PM
  • hi,

    Have you took a look to the new Customer Portal accelerator for Dynamics CRM 2011?

    I suggest you go over it. Link: http://pinpoint.microsoft.com/en-us/applications/customer-portal-for-microsoft-dynamics-crm-2011-12884910826

    Hope it helps,

    PP


    Microsoft MVP Dynamics CRM | My Twitter: http://twitter.com/pabloperalta | My blog: http://weblogs.asp.net/pabloperalta
    Wednesday, April 13, 2011 2:16 PM
  • hi ja08, please take a look in this blog that maybe resolve your issue:

    http://mscrmuk.blogspot.com/2011/02/using-crm-40-assemblies-on-crm-2011.html

     


    Demian Adolfo Raschkovan Blog: http://crmtoall.blogspot.com
    • Proposed as answer by pogo69 Wednesday, April 13, 2011 10:00 PM
    • Marked as answer by Jamie MileyModerator Tuesday, February 14, 2012 9:29 PM
    Wednesday, April 13, 2011 2:17 PM
  • Did you find the answer you needed? 

    Jamie Miley
    http://mileyja.blogspot.com
    Linked-In Profile
    Follow Me on Twitter!
    Saturday, June 4, 2011 2:38 AM
    Moderator