Message 1 of 4
RibbonTab from code crashes Publish command
Not applicable
04-18-2013
08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a plugin to Exchange store (if the DLL is loaded from ApplicationPlugins folder, ComponentMaćnager.Ribbon does not exist in IExtensionApplication.Initialize() event). This is why I am creating Ribbon from ComponentManager.ItemInitialized event, as described in this post. In the event, I create new Ribbon tab:
RibbonPanelSource panelSrc = new RibbonPanelSource(); panelSrc.Name = name; panelSrc.Title = title; panelSrc.Id = id;
The commands are loaded and everything works fine, but I get error message, when trying to Publish sheet list. Exception information in minidump:
The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
The error does not occur, if I remove the plugin or if I do not create Ribbon from code.
Thanks for any suggestion, cheers.