Answered by:
Error while registering assembly for workflow - 'sharing' plugin.

Question
-
Hi Guys,
I found this article where a plugin is created for workflows for sharing purpose. Inbuilt crm doesnt have the provision of sharing in workflows.
http://crm40sharestep.codeplex.com.
Now when I'm tryin to register the DLL's found in the folders using registration tool 2.1 and while registering I'm getting this error -
"No plugins have been selected from the list. Please select at least one and try again". I have already selected the plugin. How to resolve this?Secondly I'm new with plugins hence if anyone has used this plugin can you pls guide me the steps as to how to register the steps because I can see 2 DLL's in the folder.
1).microsoft.crm.sdk.dll
2).microsoft.crm.sdktypeproxy.dll
Which DLL should I be registering. I have placed both the dll in C:\Program Files\Microsoft Dynamics CRM\Server\bin directory. Or should I be placing them in the assembly folder? What wld be the registering step is it pre stage or post stage, what wld be the triggering pipeline etc.
Your advices will be highly appreciated.
Regards
PrinceMonday, October 5, 2009 11:32 AM
Answers
-
Dll's microsoft.crm.sdk.dll and microsoft.crm.sdktypeproxy.dll are built in DLL's from CRM application, you don't need to register any of them...
You should have a thrid Dll which is the plugin one... If not, you have maybe to compile the code before getting the good DLL
My blog : http://mscrmtools.blogspot.com You will find: Form Javascript Manager (export/import javascript from forms) ISV.Config Manager (graphical ISV.config edition - export/import) View Layout replicator (customize one view and replicate to others) And others (use tool tag on my blog)- Marked as answer by Prince Sunny Monday, October 5, 2009 5:55 PM
Monday, October 5, 2009 1:24 PMModerator
All replies
-
Dll's microsoft.crm.sdk.dll and microsoft.crm.sdktypeproxy.dll are built in DLL's from CRM application, you don't need to register any of them...
You should have a thrid Dll which is the plugin one... If not, you have maybe to compile the code before getting the good DLL
My blog : http://mscrmtools.blogspot.com You will find: Form Javascript Manager (export/import javascript from forms) ISV.Config Manager (graphical ISV.config edition - export/import) View Layout replicator (customize one view and replicate to others) And others (use tool tag on my blog)- Marked as answer by Prince Sunny Monday, October 5, 2009 5:55 PM
Monday, October 5, 2009 1:24 PMModerator -
EDIT:
To create the solution, you must perform the following steps:
- Extract the contents of CRM40ShareStep.zip on your computer.
- Open the file CRM40ShareStep.sln with Microsoft Visual Studio.
NOTE1: I was prompted to a username and password of a team foundation server when I opened the solution. I simply clicked on cancel and it all went fine.
NOTE: 2: The solution was made with Visual Studio 2008. If you open the solution with a Visual Studio version highter than 2008 (say, 2010) the system will ask you to convert the solution and optionally do a backup. Just conver the solution for a 2010 version and you should be fine.
- Now, in the main Visual Studio window, go to the BUILD menu and select the option BUILD SOLUTION (F6).
- This will create two important files in your CRM40ShareStep folder under
\CRM40ShareStep\bin\Debug:
a) Infusion.CRM.WF.CRM40ShareStep.dll
b) Infusion.CRM.WF.CRM40ShareStep.pdb - Now you should copy both of BOTH of these files to the \Server\bin\assembly directory of your Dynamics CRM installation. For example: C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly
- Now you should run the Dynamics CRM Plugin Registration Tool (download from: http://code.msdn.microsoft.com/crmplugin). In installed the application in my Dynamics CRM Server
- When you run the Plugin Registration Tool for the first time, it will ask you for creating a connection, such as the following example:
a) Label: Dynamics CRM 4 - Production
b) Discovery server: the dns hostname of your CRM server
c) Domain: Your Active cirectory Domain (the one used for the accounts used to log-in in the Dynamics CRM - in case you have more than one domain)
d) User Name: The username of the account used to perform the plug-in registration.
NOTE: I tried using some local admins who are also CRM deployment administrators but it didn't work for me. I HAD to use the acount I created to install Dynamics CRM and run its services.
- Click on SAVE, then CONNECT in the Plugin Registration Tool.
- Make sure you have selected the correct organisation (that is, if you have a multi-tenancy CRM deployment). Then click on the Register menu and select Register New Assembly (CTRL-A).
- At Step #1: Click on the elipsis button [....] to browse for the Assembly DLL you copied to \Server\bin\assembly.
- At Step #2: Click on the Select All checkbox to select all the items of Infusion.CRM.WF.CRM40ShareStep assembly.
- At Step #3: Select where to store the specific assembly. I am not sure of the best solution here, but although the default, first option is to store at the database, it seems that other Plugins were registered using the GAC option. So that is the one I went for.
- Now click on the button Register Selected Plugins at the bottom of the window.
After a progress dialog, you should return to the main Dynamics CRM Plugin Registration Tool, and you should see your assembly listed under Registered Plugins & custom Workflow Activities.
Hope this helps!!! :)
- Proposed as answer by pmdci Wednesday, September 15, 2010 5:43 PM
Wednesday, September 15, 2010 5:02 PM -
Hi,
I am getting an error "No plugin have been selected from the list. Please select at least one and try again."
I am trying an Custom Activity on CRM 4.0, Also tried to implement IPlugin interface, but still unable to register custom plugin dll.
Does any one have solution to this?
Sanjay Zalke
Monday, October 18, 2010 4:00 PM