upgrading crm 3 callout to crm 4 plugin for multitenancy

Answered upgrading crm 3 callout to crm 4 plugin for multitenancy

  • 5 มิถุนายน 2551 17:15
     
     

    so if you upgrade a crm 3 server to 4 the callout will work no problem.

     

    When you try to use this callout on a multi tenant crm server.  It will not work as the original callout is inherited from CrmCalloutBase and the plugin you write needs to inherit IPlugin.  Which is fine I rewrote the entrypoint that was a crmcalloutbase into an Iplugin  It registers fine under the MS registration tool.  But on creation of a opportunity(converting a lead)  I get a message error stating "Cannot Load Plugin assembly.)  Remember this callout worked fine for single org.

     

    So MS Support told me I need to modify the callout for multitenancy which is a vague answer as I do not know exactly what needs to be modified.  I changed all web references to the 2007 version and from there I'm not sure what else to do.

     

    Anyone else running into upgrading callouts for multitenancy?

     

    (Sorry for any mispellings.)

ตอบทั้งหมด

  • 6 มิถุนายน 2551 17:02
    ผู้ดูแล
     
     
    I would recommend starting with a simple plugin following the samples in the SDK that don't do much, then add in your custom logic.

     

  • 7 มิถุนายน 2551 5:37
    ผู้ดูแล
     
     คำตอบ

    It sounds like your problem is more to do with the plugin registration than the code. I'd check:

    1. That the plugin registration is correct, and the assembly is deployed correctly (are you deploying to disk, database or GAC)
    2. That you no longer have the calllout.config.xml file (this is only used for callouts that inherit from CrmCalloutBase)
    3. If your assembly references other custom assemblies these will need to be installed in the GAC
    • ทำเครื่องหมายเป็นคำตอบโดย DavidJennawayMVP, Moderator 21 เมษายน 2552 14:19
    •