SP 2.6 SP1 Snap Sections Broken

Discussions concerning general integration topics.

Moderator: Phil Barton

Post Reply
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

SP 2.6 SP1 Snap Sections Broken

Post by roteague »

I've just upgraded to SP 2.6 SP1 from 2.6. Now, I'm not able to get any of the Snap Sections to work. I recompiled, Snap Sections failed. Then I removed references and re-added them, recompiled; Snap Sections still failed. My existing packages still work fine, it's just the Snap Sections that don't load. Were there any changes in SP1 that would have affected this. I've not made any code changes at all.

The error messages are similar to this:

Code: Select all

Log Name:      Application
Source:        SoftPro Select
Date:          10/12/2010 7:27:22 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          
Computer:      
Description:
Error: Could not create SnapSection called "Timeline"
Stack Trace: 
   at SoftPro.UI.Base.SnapSectionContainerBase.AddSnapSections(ScreenNode[] children, IBusinessObject context)
   at SoftPro.UI.Base.ScreenContainer.OpenScreenEx(String screenName, IBusinessObject context, ScreenDefinition screenDef)
   at SoftPro.UI.Base.ScreenContainer.OpenScreen(ExplorerBarItem screenEBItem, IBusinessObject context)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenScreenEx(ExplorerBarItem screenEBItem, IBusinessObject iContext, Boolean openInNewTab, OpenScreenType type)
XML Log: 
<ILExceptionData>
  <Point module="SoftPro.UI.Base.dll" classFull="SoftPro.UI.Base.SnapSectionContainerBase" methodName="AddSnapSections" methodSignature="SoftPro.UI.Base.ISnapSection[] AddSnapSections(SoftPro.UI.Base.ScreenNode[], SoftPro.BusinessObjects.Base.IBusinessObject)" methodToken="0x60000e5" ILOffset="99" />
  <Point module="SoftPro.UI.Base.dll" classFull="SoftPro.UI.Base.ScreenContainer" methodName="OpenScreenEx" methodSignature="SoftPro.UI.Base.ISnapSectionScreen OpenScreenEx(System.String, SoftPro.BusinessObjects.Base.IBusinessObject, SoftPro.UI.Base.ScreenDefinition)" methodToken="0x600018c" ILOffset="56" />
  <Point module="SoftPro.UI.Base.dll" classFull="SoftPro.UI.Base.ScreenContainer" methodName="OpenScreen" methodSignature="SoftPro.UI.Base.ISnapSectionScreen OpenScreen(Janus.Windows.ExplorerBar.ExplorerBarItem, SoftPro.BusinessObjects.Base.IBusinessObject)" methodToken="0x600018d" ILOffset="0" />
  <Point module="SoftPro.OrderTracking.Controls.dll" classFull="SoftPro.OrderTracking.Controls.OrderEditor" methodName="OpenScreenEx" methodSignature="SoftPro.UI.Base.ISnapSectionScreen OpenScreenEx(Janus.Windows.ExplorerBar.ExplorerBarItem, SoftPro.BusinessObjects.Base.IBusinessObject, Boolean, SoftPro.OrderTracking.Common.OpenScreenType)" methodToken="0x60001de" ILOffset="377" />
</ILExceptionData>


Call Stack: 
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at System.Diagnostics.TraceEventCache.get_Callstack()
   at SoftPro.Select.LogTraceListener.OnLog(TraceEventCache eventCache, String message, TraceEventType eventType)
   at SoftPro.Select.LogTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
   at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
   at System.Diagnostics.Trace.TraceError(String message)
   at SoftPro.Select.Managers.ShellManager.HandleError(IWin32Window parent, String message, Boolean log, Exception ex)
   at SoftPro.Select.Managers.ShellManager.SoftPro.Select.Shell.IShell.HandleError(String message, Boolean log, Exception ex)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenScreenEx(ExplorerBarItem screenEBItem, IBusinessObject iContext, Boolean openInNewTab, OpenScreenType type)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenCustomScreen(ExplorerBarItem ebItem, Boolean openInNewTab)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenScreen(ExplorerBarItem b, Boolean openInNewTab)
   at SoftPro.OrderTracking.Controls.OrderEditor.NavigateScreens_Impl(ExplorerBarItem explorerBarItem, Boolean closeCurrentScreen)
   at SoftPro.OrderTracking.Controls.OrderEditor._explorerBar_ItemClick(Object sender, ItemEventArgs e)
   at SoftPro.OrderTracking.Controls.OrderEditor.OnActivated()
   at SoftPro.OrderTracking.Controls.OrderEditor.ActivateMyScreens()
   at SoftPro.OrderTracking.Controls.OrderEditor._navigatorPanel_SelectedPanelChanged(Object sender, PanelActionEventArgs e)
   at Janus.Windows.UI.Dock.UIPanelGroup.OnSelectedPanelChanged(PanelActionEventArgs e)
   at Janus.Windows.UI.Dock.UIPanelGroup.m()
   at Janus.Windows.UI.Dock.JNSE.OnSelectedPanelChanged(Boolean activate)
   at Janus.Windows.UI.Dock.JNSBM.OnSelectedPanelChanged(Boolean activate)
   at Janus.Windows.UI.Dock.JNSE.a(UIPanelBase )
   at Janus.Windows.UI.Dock.UIPanelGroup.set_SelectedPanel(UIPanelBase value)
   at SoftPro.OrderTracking.Controls.OrderEditor.SelectInitialScreenTreeToDisplay()
   at SoftPro.OrderTracking.Controls.OrderEditor.OrderEditor_Validated(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnValidated(EventArgs e)
   at System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation)
   at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError)
   at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl)
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
   at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.SetActiveControlInternal(Control value)
   at System.Windows.Forms.ContainerControl.SetActiveControl(Control ctl)
   at System.Windows.Forms.ContainerControl.set_ActiveControl(Control value)
   at System.Windows.Forms.ContainerControl.Select(Boolean directed, Boolean forward)
   at System.Windows.Forms.Control.SelectNextControl(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
   at TD.SandDock.DockControl.Activate()
   at SoftPro.Select.Controls.DocumentWindow.SoftPro.Select.Shell.IWindowFrame.Activate()
   at SoftPro.Select.Managers.ShellManager.SoftPro.Select.Shell.IShell.OpenDocumentWindow(Uri moniker, String view, Object existingData, Boolean openAsNew, Boolean shellExecute)
   at SoftPro.Select.Managers.ShellManager.SoftPro.Select.Shell.IShell.OpenStandardEditor(Uri moniker)
   at SoftPro.Select.Automation.EnvICE.SoftPro.Select.Shell.IEnvICE.OpenDocument(String documentIdentifier)
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at SoftPro.Select.Runtime.OnRun()
   at SoftPro.Select.Runtime.Start()
   at SoftPro.Select.Automation.EnvICE.Start()
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at SoftPro.Select.Shell.SynchronizationContextAspect.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
   at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args)
   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, InternalCrossContextDelegate ftnToCall, Object[] args)
   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(IMessageSink ms, IMessage reqMsg, ArrayWithSize proxySinks, Thread currentThread, Context currentContext, Boolean bSkippingContextChain)
   at System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(IMethodCallMessage reqMcmMsg, Boolean useDispatchMessage, Int32 callType)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at SoftPro.Select.Automation.EnvICE.Start()
   at SoftPro.Select.Automation.EnvICE.Run(String rootSuffix, Boolean noSplash, Boolean setupMode, Boolean log, Boolean embedding, Dictionary`2 args, String freeArg)
   at SoftPro.Select.Program.Main(String[] args)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SoftPro Select" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-10-12T17:27:22.000000000Z" />
    <EventRecordID>5403270</EventRecordID>
    <Channel>Application</Channel>
    <Computer>2UA9520M78.TGHAWAII.com</Computer>
    <Security UserID="S-1-5-21-32925737-1857757548-1049785555-7759" />
  </System>
  <EventData>
    <Data>Error: Could not create SnapSection called "Timeline"
Stack Trace: 
   at SoftPro.UI.Base.SnapSectionContainerBase.AddSnapSections(ScreenNode[] children, IBusinessObject context)
   at SoftPro.UI.Base.ScreenContainer.OpenScreenEx(String screenName, IBusinessObject context, ScreenDefinition screenDef)
   at SoftPro.UI.Base.ScreenContainer.OpenScreen(ExplorerBarItem screenEBItem, IBusinessObject context)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenScreenEx(ExplorerBarItem screenEBItem, IBusinessObject iContext, Boolean openInNewTab, OpenScreenType type)
XML Log: 
<ILExceptionData>
  <Point module="SoftPro.UI.Base.dll" classFull="SoftPro.UI.Base.SnapSectionContainerBase" methodName="AddSnapSections" methodSignature="SoftPro.UI.Base.ISnapSection[] AddSnapSections(SoftPro.UI.Base.ScreenNode[], SoftPro.BusinessObjects.Base.IBusinessObject)" methodToken="0x60000e5" ILOffset="99" />
  <Point module="SoftPro.UI.Base.dll" classFull="SoftPro.UI.Base.ScreenContainer" methodName="OpenScreenEx" methodSignature="SoftPro.UI.Base.ISnapSectionScreen OpenScreenEx(System.String, SoftPro.BusinessObjects.Base.IBusinessObject, SoftPro.UI.Base.ScreenDefinition)" methodToken="0x600018c" ILOffset="56" />
  <Point module="SoftPro.UI.Base.dll" classFull="SoftPro.UI.Base.ScreenContainer" methodName="OpenScreen" methodSignature="SoftPro.UI.Base.ISnapSectionScreen OpenScreen(Janus.Windows.ExplorerBar.ExplorerBarItem, SoftPro.BusinessObjects.Base.IBusinessObject)" methodToken="0x600018d" ILOffset="0" />
  <Point module="SoftPro.OrderTracking.Controls.dll" classFull="SoftPro.OrderTracking.Controls.OrderEditor" methodName="OpenScreenEx" methodSignature="SoftPro.UI.Base.ISnapSectionScreen OpenScreenEx(Janus.Windows.ExplorerBar.ExplorerBarItem, SoftPro.BusinessObjects.Base.IBusinessObject, Boolean, SoftPro.OrderTracking.Common.OpenScreenType)" methodToken="0x60001de" ILOffset="377" />
</ILExceptionData>


Call Stack: 
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at System.Diagnostics.TraceEventCache.get_Callstack()
   at SoftPro.Select.LogTraceListener.OnLog(TraceEventCache eventCache, String message, TraceEventType eventType)
   at SoftPro.Select.LogTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
   at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
   at System.Diagnostics.Trace.TraceError(String message)
   at SoftPro.Select.Managers.ShellManager.HandleError(IWin32Window parent, String message, Boolean log, Exception ex)
   at SoftPro.Select.Managers.ShellManager.SoftPro.Select.Shell.IShell.HandleError(String message, Boolean log, Exception ex)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenScreenEx(ExplorerBarItem screenEBItem, IBusinessObject iContext, Boolean openInNewTab, OpenScreenType type)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenCustomScreen(ExplorerBarItem ebItem, Boolean openInNewTab)
   at SoftPro.OrderTracking.Controls.OrderEditor.OpenScreen(ExplorerBarItem b, Boolean openInNewTab)
   at SoftPro.OrderTracking.Controls.OrderEditor.NavigateScreens_Impl(ExplorerBarItem explorerBarItem, Boolean closeCurrentScreen)
   at SoftPro.OrderTracking.Controls.OrderEditor._explorerBar_ItemClick(Object sender, ItemEventArgs e)
   at SoftPro.OrderTracking.Controls.OrderEditor.OnActivated()
   at SoftPro.OrderTracking.Controls.OrderEditor.ActivateMyScreens()
   at SoftPro.OrderTracking.Controls.OrderEditor._navigatorPanel_SelectedPanelChanged(Object sender, PanelActionEventArgs e)
   at Janus.Windows.UI.Dock.UIPanelGroup.OnSelectedPanelChanged(PanelActionEventArgs e)
   at Janus.Windows.UI.Dock.UIPanelGroup.m()
   at Janus.Windows.UI.Dock.JNSE.OnSelectedPanelChanged(Boolean activate)
   at Janus.Windows.UI.Dock.JNSBM.OnSelectedPanelChanged(Boolean activate)
   at Janus.Windows.UI.Dock.JNSE.a(UIPanelBase )
   at Janus.Windows.UI.Dock.UIPanelGroup.set_SelectedPanel(UIPanelBase value)
   at SoftPro.OrderTracking.Controls.OrderEditor.SelectInitialScreenTreeToDisplay()
   at SoftPro.OrderTracking.Controls.OrderEditor.OrderEditor_Validated(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnValidated(EventArgs e)
   at System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation)
   at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError)
   at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl)
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
   at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.SetActiveControlInternal(Control value)
   at System.Windows.Forms.ContainerControl.SetActiveControl(Control ctl)
   at System.Windows.Forms.ContainerControl.set_ActiveControl(Control value)
   at System.Windows.Forms.ContainerControl.Select(Boolean directed, Boolean forward)
   at System.Windows.Forms.Control.SelectNextControl(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
   at TD.SandDock.DockControl.Activate()
   at SoftPro.Select.Controls.DocumentWindow.SoftPro.Select.Shell.IWindowFrame.Activate()
   at SoftPro.Select.Managers.ShellManager.SoftPro.Select.Shell.IShell.OpenDocumentWindow(Uri moniker, String view, Object existingData, Boolean openAsNew, Boolean shellExecute)
   at SoftPro.Select.Managers.ShellManager.SoftPro.Select.Shell.IShell.OpenStandardEditor(Uri moniker)
   at SoftPro.Select.Automation.EnvICE.SoftPro.Select.Shell.IEnvICE.OpenDocument(String documentIdentifier)
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at SoftPro.Select.Runtime.OnRun()
   at SoftPro.Select.Runtime.Start()
   at SoftPro.Select.Automation.EnvICE.Start()
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at SoftPro.Select.Shell.SynchronizationContextAspect.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
   at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args)
   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, InternalCrossContextDelegate ftnToCall, Object[] args)
   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(IMessageSink ms, IMessage reqMsg, ArrayWithSize proxySinks, Thread currentThread, Context currentContext, Boolean bSkippingContextChain)
   at System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(IMethodCallMessage reqMcmMsg, Boolean useDispatchMessage, Int32 callType)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at SoftPro.Select.Automation.EnvICE.Start()
   at SoftPro.Select.Automation.EnvICE.Run(String rootSuffix, Boolean noSplash, Boolean setupMode, Boolean log, Boolean embedding, Dictionary`2 args, String freeArg)
   at SoftPro.Select.Program.Main(String[] args)</Data>
  </EventData>
</Event>
Any ideas??
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: SP 2.6 SP1 Snap Sections Broken

Post by roteague »

Thanks, I got the issue. By default, your install program overwrites the SoftPro.snapsections file. This file needs to be edited to add the Snap Section dll.
Robert
Post Reply