Answered by:
CRM 2011 - Plugin Registration Tool Not Opening.

Question
-
Hi Forum,
I am testing my first CRM 2011 plugin and following are my steps. (This is on premise installation)
1. Built test plugin assembly with VS 2010 on local machine
2. Complied it, signi it and copied assembly to "C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly" on CRM dev server.
3. Build Plugin Registration tool on my local machine and then copied Pluginregistration.exe on CRM server's desktop.
4. When I tried to open it , it says "Plugin Registration Tool has stopped Working". it doesn't even open the tool.
My local machine is Win7 32 bit and my CRM server is 2008 R2 with 64 bit. Is this is a problem ??
Also, on my CRM server CRM 4 plugin registration tool exist as well and it's working fine. Hope this is not an issue either.
Following is error details from Event Viewer
=========================================================================================
Log Name: Application
Source: .NET Runtime
Date: 16/09/2011 1:45:33 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Description:
Application: PluginRegistration2011.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at PluginRegistrationTool.CrmResources.LoadImage(PluginRegistrationTool.CrmTreeNodeImageType[])
at PluginRegistrationTool.CrmResources.LoadImage(PluginRegistrationTool.CrmTreeNodeImageType)
at PluginRegistrationTool.MainForm..ctor(System.String)
at PluginRegistrationTool.Program.Main(System.String[])Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-16T04:45:33.000Z" />
<EventRecordID>112640</EventRecordID>
<Channel>Application</Channel>
<Security />
</System>
<EventData>
<Data>Application: PluginRegistration2011.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at PluginRegistrationTool.CrmResources.LoadImage(PluginRegistrationTool.CrmTreeNodeImageType[])
at PluginRegistrationTool.CrmResources.LoadImage(PluginRegistrationTool.CrmTreeNodeImageType)
at PluginRegistrationTool.MainForm..ctor(System.String)
at PluginRegistrationTool.Program.Main(System.String[])
</Data>
</EventData>
</Event>==========================================================================================================
Any help would be appreciated.
Thanks.
- Edited by CRM Thirsty Friday, September 16, 2011 5:23 AM
Friday, September 16, 2011 5:06 AM
Answers
-
It needs all the dll to run. You should copy connection file too. It will remember your connection info.
Create a folder and following files in it.
I hope this helps.
Amreek singh Senior CRM Consultant CDC Praxa Sydney,Australia http://mscrmshop.blogspot.com/- Proposed as answer by Amreek Singh Friday, September 16, 2011 6:12 AM
- Marked as answer by CRM Thirsty Monday, September 19, 2011 11:54 PM
Friday, September 16, 2011 6:12 AM
All replies
-
It needs all the dll to run. You should copy connection file too. It will remember your connection info.
Create a folder and following files in it.
I hope this helps.
Amreek singh Senior CRM Consultant CDC Praxa Sydney,Australia http://mscrmshop.blogspot.com/- Proposed as answer by Amreek Singh Friday, September 16, 2011 6:12 AM
- Marked as answer by CRM Thirsty Monday, September 19, 2011 11:54 PM
Friday, September 16, 2011 6:12 AM -
Thanks Amreek.
I will test with connection file.
Update: It's bit late update but just to confirm, it's working after putting all the above file into the folder- Cheers !- Edited by CRM Thirsty Monday, September 26, 2011 4:29 AM
Monday, September 19, 2011 11:54 PM