4.6.3 debug plugin activation error

Discussions related to custom development with Select.
Post Reply
toddsou
Posts: 75
Joined: Wed Jul 25, 2012 9:39 am

4.6.3 debug plugin activation error

Post by toddsou »

Hi-

I’m running SPS 4.6.3, performing shell/plugin development with VS 2015.

Upon hitting F5, SPS indicates it failed to load/activate my plugin. Specifically, I get a MessageBox with the Black/Yellow warning icon which states:

Plug-in Activation Error
An error occurred while activating plug-ins. Some plug-ins may not work as expected. See application logs for more information.

The name of my shell package is RibbonShell463 and the name of the shell plugin is RibbonPlugin463.

An excerpt from my Select.log is shown, below.

Thoughts?

Thank you.
[10:10:01.890] [0x00000001] Initializing package.
[10:10:01.906] [0x00000001] Successfully loaded package.
[10:10:01.922] [0x00000001] Finished loading auto load packages.
[10:10:16.405] [0x00000002] Failed to find Service registration entry for '4dd69df5-3bd7-4f4b-9901-f4b38fd194e4'.
[10:10:16.484] [0x00000002] Failed to retrieve the package instance for service 'SoftPro.Select.Client.Runtime.IConversationManager'. Adding the service to the excluded list.
[10:10:16.549] [0x00000002] Failed to find Service registration entry for '33dcb6ab-a258-497e-bf67-c560de3e35d8'.
[10:10:16.573] [0x00000002] Failed to retrieve the package instance for service 'SoftPro.Select.Client.Runtime.ISessionMessageQueueManager'. Adding the service to the excluded list.
[10:10:16.728] [0x00000002] Failed to find Service registration entry for '121edc59-f9ff-3872-928c-3ebe77463776'.
[10:10:16.747] [0x00000002] Failed to retrieve the package instance for service 'SoftPro.Select.Client.Plugins.IPluginHost'. Adding the service to the excluded list.
[10:10:17.920] [0x00000001] Uninstalling the 'RibbonShell463.Ribbon463 (Sideloaded)' plug-in (Version 1.0.0-sideloaded).
[10:10:18.861] [0x00000003] An error occurred while uninstalling the 'RibbonShell463.Ribbon463 (Sideloaded)' plug-in (Version 1.0.0-sideloaded).
Error: Access to the path 'RibbonShell463.pdb' is denied.
Stack Trace:
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at System.IO.DirectoryInfo.Delete(Boolean recursive)
at SoftPro.Select.Plugins.PluginManager.SoftPro.Select.Shell.Plugins.IPluginDeployment.Rollback(PluginRegistrationKeyInfo pluginRegistrationKey)
at SoftPro.Select.Shell.Registration.PluginRegistration.SoftPro.Select.Shell.Registration.IPluginRegistration.Unregister(PluginRegistrationKeyInfo key, RegistrationSettings settings, String& errorMessage)

[10:10:19.666] [0x00000001] Installing the 'RibbonShell463.Ribbon463 (Sideloaded)' plug-in (Version 1.0.0-sideloaded).
[10:10:19.937] [0x00000001] The 'RibbonShell463.Ribbon463 (Sideloaded)' plug-in (Version 1.0.0-sideloaded) was installed successfully.
[10:10:21.949] [0x00000001] Duplicate key binding for shortcut 'AltRightArrow' on editor '0d877cc0-9c0d-4cbb-85b1-26f8f5da796b'.
[10:10:21.971] [0x00000001] Duplicate key binding for shortcut 'AltRightArrow' on editor '0d877cc0-9c0d-4cbb-85b1-26f8f5da796b'.
[10:10:21.990] [0x00000003] Error: Access to the path 'RibbonShell463.pdb' is denied.
Stack Trace:
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at System.IO.DirectoryInfo.Delete(Boolean recursive)
at SoftPro.Select.Plugins.PluginManager.SoftPro.Select.Shell.Plugins.IPluginDeployment.Rollback(PluginRegistrationKeyInfo pluginRegistrationKey)
at SoftPro.Select.Shell.Registration.PluginRegistration.SoftPro.Select.Shell.Registration.IPluginRegistration.Unregister(PluginRegistrationKeyInfo key, RegistrationSettings settings, String& errorMessage)

[10:10:24.482] [0x00000002] Failed to find Service registration entry for 'e2e6c736-8885-37f7-9289-e80ec73f3164'.
[10:10:24.503] [0x00000002] Failed to retrieve the package instance for service 'SoftPro.Select.Client.Fieldcodes.IFieldRequestContextResolverManager'. Adding the service to the excluded list.
[10:10:48.494] [0x00000001] MessageBox: Instruction=Plug-in Activation Error, Content=An error occured while activating plug-ins. Some plug-ins may not work as expected. See application logs for more information., Result=OK
[10:10:49.190] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4155.
[10:10:49.261] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4151.
[10:10:49.295] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4090.
[10:10:49.324] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4074.
[10:10:49.359] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4301.
[10:10:49.390] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4201.
[10:10:49.426] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4601.
[10:10:49.457] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4511.
[10:10:49.485] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4613.
[10:10:49.521] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4412.
[10:10:49.549] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4503.
[10:10:49.583] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 4700.
[10:10:49.611] [0x00000001] Creating ribbon tab chunks for 92664635-0bd9-415f-b5df-dd2ec81af4b7 : 1.
[10:10:49.647] [0x00000001] Creating ribbon tab chunks for 2b8f0936-6079-4955-ab57-80eb091d5071 : 6201.
[10:10:49.682] [0x00000001] Creating ribbon tab chunks for 2b8f0936-6079-4955-ab57-80eb091d5071 : 6101.
[10:10:49.713] [0x00000001] Creating ribbon tab chunks for 12fe4bb1-1d40-47fc-bbcf-901ac5e5d599 : 6851.
[10:10:49.776] [0x00000001] Attempting to load package '1218bc9b-846d-4a81-b6f3-8e2da4a3f744'.
[10:10:49.795] [0x00000001] Initializing package.
[10:10:49.870] [0x00000001] Successfully loaded package.
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: 4.6.3 debug plugin activation error

Post by BobRichards »

So does the plugin work? What are you observing?
Bob Richards, Senior Software Developer, SoftPro
toddsou
Posts: 75
Joined: Wed Jul 25, 2012 9:39 am

Re: 4.6.3 debug plugin activation error

Post by toddsou »

Hey Bob-

Once everything is loaded, I can interact with the plugin just fine. Of course, we're talking about the default, OOTB shell package, so you just get Button1 and Button2 to click. But they respond, and I can hit breakpoints. So to your question, it seems fine.

But my concern is around the popup warning displayed by Select during startup/loading. As you can imagine, the popup warning does not make for a good demo when trying to show off this new 4.6.3 upgrade to an audience.

Not sure what causes it; would like to address it/make it go away.

?

Thanks.
toddsou
Posts: 75
Joined: Wed Jul 25, 2012 9:39 am

Re: 4.6.3 debug plugin activation error

Post by toddsou »

Thanks to Elliott for gathering this info:
The only workaround for this, is to:

1. Stop debugging the Shell project
2. Remove the %LOCALAPPDATA%\SoftProSelect\app-4.6.3\Plug-ins folder (if the debugged plugin is the only plugin installed in the client) or, the sub-folder in this path that corresponds to the side-loaded Shell plugin that was installed in the debugging session.
3. Debug the Shell package project
Post Reply