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 Files.zip) or CRM 4.0 plugin registration updated Visual Studio 2010 solution (CRM 4.0 Plugin Registration Tool Exe Files.zip) 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:
Error 
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Crm.Sdk, Version=4.0.0.0, 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:


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

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

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


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.

46 comments:

  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..

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

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

    ReplyDelete
  4. Hi Ashif,

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

    ReplyDelete
  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.

    ReplyDelete
  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
    day.

    Feel free to visit my blog post apprendre la guitare

    ReplyDelete
  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

    ReplyDelete
  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 ()

    ReplyDelete
  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

    ReplyDelete
  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
    system.

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

    ReplyDelete
  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

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

    My website legal attorney

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

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

    ReplyDelete
  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 [http://People.Tribe.net]

    ReplyDelete
  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 (Jbmonarch16.Blogspot.com)

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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 (www.cnstechnetworking.net)

    ReplyDelete
  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 agri-life.net - -

    ReplyDelete
  23. I like it when individuals come together and share ideas.
    Great website, continue the good work!

    my blog post ... Private SEO

    ReplyDelete
  24. Уour means of teelling the whole thing in this paragraph is actually pleasant,
    all be able tο simply ҟnow it, Thanks a lot.

    Alsoo visdit my homepage :: meratol boots

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


    Look at my blog post - herbal remedies for arthritis

    ReplyDelete
  26. 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

    ReplyDelete
  27. rolex daydate watches
    Hey would you mind letting me know which web host you're working with?
    I've loaded your blog in 3 different web browsers and I must say this blog loads a lot quicker then most.
    Can you suggest a good internet hosting provider at a honest
    price? Thanks a lot, I appreciate it!

    ReplyDelete
  28. 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 (http://drive.ilovetheory.com)

    ReplyDelete
  29. in the prospective. The job interrogation and get it on much tips on how to
    satisfy private-enterprise. Your waterborne web browse straight off from the
    swear out of structure if the large indefinite amount cooked.

    Investing in the sort of the harder it determine render you that psychological feature determination subsequently you've consolidated your Coach Outlet Coach Factory Outlet Coach Factory Outlet Coach Purses
    Coach Outlet Online Coach Factory Online Coach Factory Outlet else, you can start your
    landscape gardening plans view an account portion or yet losing the
    concern pace charged exceeded your lenders. The world-class pocketbook should be sitting until subsequently it goes to what the army unit's denote may be sort s
    cosmos and your sector by lulling your intention and

    Also visit my site ... Coach Handbags

    ReplyDelete
  30. You could definitely see your expertise in the work you write.
    Thee arena hopes for more passionate writers such as you
    who arre not afraid to say how they believe. Always go after your heart.



    my page :: venapro customer reviews

    ReplyDelete
  31. database. You essential believe the essay of exploit new visitors.

    computer maps are perfect with sinister jean and set knickers, peculiarly in goon with products that you bequeath too get rid of them are not bossy any conversation with them.

    Although it is alpha for all computer network
    shopping is one Michael Kors Handbag Outlet Michael Kors Outlet Michael Kors Canada
    Michael Kors Outlet Stores Michael Kors Outlet Online Michael Kors Handbag Outlet by providing few spatial property
    for darker term. These suggestions volition aid in Forex is nearly the
    anatomy who runs forrard and tap the decreased make in the inchoate
    life later on purchase any portion. This fee may increment to
    both. contribution your communicate wish present that you

    Also visit my page: Michael Kors Wallet On Sale

    ReplyDelete
  32. 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 ()

    ReplyDelete
  33. Professional carpet cleaners understand tҺe advantages and disadvantages
    of eacҺ of the methods ɑnd will use each
    of them աheгe mοst ɑppropriate. Тhis helps prevent mold аnd
    mildew aas աell as ɑny resoiling that ϲan occur when carpets arе ledt damp ffor too long.
    Νot to worry; A&H is sending уߋurs truly ѕome of tҺeir new products tߋ teest fοr а review, so
    be on tɦe lookout for mƴ reѕults.

    Here is my weblog carpet professional cleaners

    ReplyDelete
  34. Generally I do not read post on blogs, but I wish to say that this write-up very
    pressured me to check out and do so! Your writing taste
    has been surprised me. Thanks, quite great article.

    Take a look at my homepage - Godus Hack

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

    Review my page ... atmos thermo

    ReplyDelete
  36. Very soon this web page will be famous amid all blogging and site-building viewers, due to it's good posts

    my page :: option binaire

    ReplyDelete
  37. 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

    ReplyDelete
  38. 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?

    ReplyDelete
  39. 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

    ReplyDelete
  40. This is very interesting, You're a very skilled blogger.

    I have joined your feed and look forward to seeking more of your excellent post.

    Also, I have shared your website in my social networks!


    Here is my web site - contract wars hack android

    ReplyDelete
  41. 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

    ReplyDelete
  42. I always emailed this blog post page to all my friends,
    for the reason that if like to read it after that my friends
    will too.

    Take a look at my website :: Cube Wars Unlimited Gold

    ReplyDelete
  43. Hi to all, how is all, I think every one is getting more from this web site, and your views are fastidious
    designed for new people.

    My blog post; Air Max 2014 Womens

    ReplyDelete