Thursday, August 25, 2011

Dynamics CRM 2011 : Registering CRM 4.0 Plugin in CRM 2011 Deployment

The backward compatibility in Dynamics CRM 2011 for Dynamics CRM 4.0 supports CRM 4.0 web services end points and allows to register CRM 4.0 plugins, workflow assemblies, develop code for Web services Jscript or ASP.Net code. In many scenarios the pervious written code for CRM 4.0 works fine in CRM 2011. While browsing Microsoft Dynamics CRM Forums, i found many posts regarding the registration of CRM 4.0 plugin in CRM 2011 so I decided to post the complete steps by step solution with the plugin registration tool updated files.
*The solution describes below has been based on the findings of Microsoft Dynamics CRM MVP David Jennaway.
Dynamics CRM 4.0 Plugin Registration in CRM 2011:
You can download the Updated Registration Tool Exe Files (CRM 4.0 Plugin Registration Tool Exe or CRM 4.0 plugin registration updated Visual Studio 2010 solution (CRM 4.0 Plugin Registration Tool Exe or may also follow the steps below to make required changes into the CRM 4.0 Plugin Registration Tool Configuration file.
CRM 4.0 plugins can be registered via Dynamics CRM 4.0 plugin registration tools and if you will register a CRM 4.0 plugin via CRM 2011 plugin registration tool then following error will occur:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Crm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified
Solution Steps:

You can download the solution file from the above links but if you want to make manually changes into the CRM 4.0 plugin Registration configuration file then follow the steps below:
1. Open Dynamics CRM 4.0 Plugin Registration tool Source code into Visual Studio (you can find the source code into the CRM 4.0 SDK\Tools\Plugin Registration Tool directory)
2. Edit app.config file and add the runtime information below:

                <sectionGroup name="applicationSettings"
         type="System.Configuration.ApplicationSettingsGroup, System, Version=,
                        Culture=neutral, PublicKeyToken=b77a5c561934e089">
                        <section name="PluginRegistrationTool.Properties.Settings"
                     type="System.Configuration.ClientSettingsSection, System,
                               Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                <supportedRuntime version="v2.0.50727"/>

       <!--The following <runtime> information will be added-->

                <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                                <assemblyIdentity name="Microsoft.Crm.Sdk" publicKeyToken="31bf3856ad364e35"
                                <publisherPolicy apply="no"/>

3. Build and run the plugin registration tool, enter CRM 2011 server connectivity details and register the CRM 4.0 plugins into CRM 2011
*If you have the Plugin Registration Tools executable binaries then you edit the PluginRegistration.exe.config file instead of app.config.


  1. I am just in the process of migrating a CRM 4.0 to CRM2011 implementation and this article was a life saver. Fixed migrated CRM 4.0 plug-in and workflow custom activity issue. We will be upgrading them but our initial goal was to create a like for like migration first.

    Great Article..

  2. Hi, does the Registration Tools allows deployment of CRM 4.0 Plugin into a CRM 2011 Online ?
    Great article, thought.

  3. Can plugin written in crm 4.0 be debugged in crm 2011.

  4. Hi Ashif,

    Yes you can debug the plugin using the same procedure of CRM 2011 Plugin Debugging.

  5. Hi Anonymous,

    In CRM 2011, you can only register your plugin into the Sandbox mode, you can try but this might probably not work for CRM 2011 online.

  6. The one downside of this though is that dark chocolate is quite bitter without the sugar content,
    and so one variation to this recipe if you do
    choose to go down this route is that you should also add in two tablespoons
    of a sugar free substitute into the main ingredients of the Sugar Free Chocolate Smoothie in order for it
    to taste good. You Simply Have to Start Drinking Healthy Smoothies.
    By replacing one or more meals with green smoothies everyday,
    you give your body optimum nutrition while staving the need to snack unnecessarily during the

    Feel free to visit my blog post apprendre la guitare

  7. Wow! After all I got a website from where I know how to
    truly take valuable data regarding my study and knowledge.

    My blog :: hay day hack tool no survey for iOS

  8. My spouse and I stumbled over here different web page and
    thought I might check things out. I like what I see so i am just
    following you. Look forward to looking into your web page for a second time.

    Also visit my website; liftderma ()

  9. Fabulous, what a webpage it is! This website presents
    useful facts to us, keep it up.

    Feel free to surf to my web page :: locksmiths service

  10. Here is AVCHD video editing software owners of the new cameras can use to edit their work.
    When working with HD footage, this video editing software can begin to drag.

    The devices will usually use the same port as a game for the

    Have a look at my webpage Video maker FX sale - ,

  11. Greetings! Very useful advice in this particular post!
    It's the little changes that make the biggest changes. Thanks for sharing!

    Feel free to visit my blog post :: Wireless Beats By Dre

  12. This article is genuinely a nice one it assists new net
    viewers, who are wishing in favor of blogging.

    My website legal attorney

  13. Great post! We will be linking to this particularly great article on our website.
    Keep up the good writing.

    my web site ... กระปุกครีมราคาส่ง

  14. Make sure to check out what kinds of files you would be storing.
    If you have very little money to spend, you might think of just getting a
    single web page on the net by securing the service of free hosting companies on the net.
    An add on domain uses the space and bandwidth that is typical to your main-domain in web hosting.

    Here is my web page: hostgator hosting coupon 2014 []

  15. Write moгe, thats all Ι havе tօ say. Literally, it ѕeems ɑs tɦough yߋu relied
    on thе video too mɑke your рoint. Yoս clearlƴ know
    wwhat youre talking aboսt, why throw aԝay youг intelligence on ʝust posting videos tо yoսr weblog աhen ƴou could be ɡiving us something informative to read?

    Нave ɑ looκ at my webpage; JM Berkowitz Articles (

  16. It's not my first time to pay a quick visit this web site, i am visiting this
    website dailly and take pleasant data from here everyday.

    Look at my homepage ... search engine optimization basics

  17. This is my first time pay a quick visit at here and i
    am genuinely impressed to read everthing at one place.

    Here is my page: garcinia cambogia preise

  18. When someone writes an piece of writing he/she
    retains the image of a user in his/her min that how a usrr can know it.
    Therefore that's why this post iss outstdanding. Thanks!

    my web site - free hot plr products for sale

  19. Wow! This blog looks exactly like my old one! It's on a entirely different topic but it has pretty much the same layout and design. Outstanding choice of colors!

    Feel free to visit my blog :: top affiliate marketers

  20. Spot on with this write-up, I really think this website needs far more attention. I'll probably be
    back again to read more, thanks for the advice!

    Look into my blog mother hurriedly bowed

  21. This is really interesting, You are a very skilled blogger.
    I've joined your feed and look forward to seeking more of your magnificent post.
    Also, I have shared your web site in my social networks!

    Here is my homepage: Web Fortune Master (

  22. Census Bureau projected an increase in world population from 6.
    The use of the permits has not only helped curb point source pollution but has also help improve the waterways water quality.
    It reduces two ratios commonly used to measure pollution: biological oxygen demand, which is lowered by more than 65 percent; and total suspended solids, which are cut by more than 70 percent.

    My website - -

  23. Thiѕ post is pricelesѕ. When can I find ߋut more?

    Look at my blog post - herbal remedies for arthritis

  24. Hi! I could have sworn I've visited your blog before but
    after looking at some of the articles I realized it's new to me.
    Anyhow, I'm certainly delighted I came across it and I'll
    be book-marking it and checking back frequently!

    my web site cheap calls to india

  25. Amazing! This blog looks exactly like my old one! It's on a completely different subject
    but it has pretty much the same layout and design. Great choice of colors!

    My weblog ... fotos de naruto shippuden 2013 (

  26. For newest news you have to visit world-wide-web and
    on world-wide-web I found this web page as a best web
    page for most up-to-date updates.

    Also visit my blog - video sharing websites ()

  27. Very good info. Lucky me I found your blog by
    accident (stumbleupon). I have bookmarked it for later!

    Review my page ... atmos thermo

  28. Awesome blog! Is your theme custom made or did you download it from somewhere?

    A theme like yours with a few simple tweeks
    would really make my blog stand out. Please let
    me know where you got your theme. Thank you

    Stop by my homepage; call of duty hack

  29. Hey there exceptional website! Does running a blog similar to this require a great deal of
    work? I have absolutely no understanding of computer programming but I was hoping to start my own blog soon. Anyways, if you have any suggestions or techniques for new blog owners please share.
    I understand this is off topic nevertheless I just wanted to ask.
    Appreciate it!

    Take a look at my web blog: Not working?

  30. It's the best time to make some plans for the future and it is time
    to be happy. I've read this post and if I could I wish to
    suggest you few interesting things or advice. Maybe you could write
    next articles referring to this article. I wish to read more things about it!

    Also visit my homepage - war thunder review

  31. Of course, the borrowers credit score--a true reflection of creditworthiness--plays a significant
    role in determining the interest rate. Knowing the different mortgage options and having a true
    ability to communicate complicated information to
    consumers is essential as a mortgage broker. Although you do not pay any fee to
    the broker, they are still working for you.

    Also visit my web blog :: mortgage brokers calgary