Test System Setup Issues
Test System Setup Issues
I recieved my license key this week, and have recompiled the application with the key. I'm now trying to get everything moved over to our test server, so our test people can start working on our new snap sections and package. However, I running into a couple of things:
1.) the new tabs don't show up in Select.
2.) My Screens menu doesn't show up, so I can't get to the new SnapSections.
I have registered the package on the test server; it didn't throw any errors. Everything runs fine on my local maching, in both the exp hive and the normal hive.
So, what am I missing that I didn't check.
Thanks,
1.) the new tabs don't show up in Select.
2.) My Screens menu doesn't show up, so I can't get to the new SnapSections.
I have registered the package on the test server; it didn't throw any errors. Everything runs fine on my local maching, in both the exp hive and the normal hive.
So, what am I missing that I didn't check.
Thanks,
Robert
Re: Test System Setup Issues
A new registry key should have been added for your package under HKEY_LOCAL_MACHINE\SOFTWARE\SoftPro\Select\2.x\Packages. Can you find it there?
It would help if you can provide me with more details about your test server environment, the Select version running on it, and the steps you took to deploy the package there.
It would help if you can provide me with more details about your test server environment, the Select version running on it, and the steps you took to deploy the package there.
Re: Test System Setup Issues
Hi Hady,
It's SP 2.3 that we are running. I checked the registry key, it is there.
I neglected to associate the snap section with a profile. Once I did that, I got the "My Screen" menu to show up, and the snap section to show in the menu. The snap section doesn't display, it throws an error:
-----------------------------------------------------------------------
Event Type: Error
Event Source: Select
Event Category: None
Event ID: 0
Date: 4/28/2009
Time: 7:07:41 AM
User: *************
Computer: WTS20
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="0x60000ed" 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="0x60001a9" 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="0x60001aa" 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, OpenScreenType)" methodToken="0x60000e8" 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.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.JNSCW.OnSelectedPanelChanged(Boolean activate)
at Janus.Windows.UI.Dock.JNSE.a(UIPanelBase )
at Janus.Windows.UI.Dock.JNSCW.ProcessMouseUp(MouseEventArgs e)
at Janus.Windows.UI.Dock.UIPanelGroup.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(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)
-----------------------------------------------------------------------
I just started looking at this issue.
BTW, is there any way to change "My Screens" to something like "TG Screens"?
Thanks,
Robert
It's SP 2.3 that we are running. I checked the registry key, it is there.
I neglected to associate the snap section with a profile. Once I did that, I got the "My Screen" menu to show up, and the snap section to show in the menu. The snap section doesn't display, it throws an error:
-----------------------------------------------------------------------
Event Type: Error
Event Source: Select
Event Category: None
Event ID: 0
Date: 4/28/2009
Time: 7:07:41 AM
User: *************
Computer: WTS20
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="0x60000ed" 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="0x60001a9" 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="0x60001aa" 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, OpenScreenType)" methodToken="0x60000e8" 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.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.JNSCW.OnSelectedPanelChanged(Boolean activate)
at Janus.Windows.UI.Dock.JNSE.a(UIPanelBase )
at Janus.Windows.UI.Dock.JNSCW.ProcessMouseUp(MouseEventArgs e)
at Janus.Windows.UI.Dock.UIPanelGroup.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(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)
-----------------------------------------------------------------------
I just started looking at this issue.
BTW, is there any way to change "My Screens" to something like "TG Screens"?
Thanks,
Robert
Robert
-
- Posts: 411
- Joined: Thu Sep 11, 2008 11:35 am
- Location: Raleigh, NC, USA
- Contact:
Re: Test System Setup Issues
Did you create a .snapsections file that points to your assembly? In 2.3, the snapsection assembly registration process changed. The SDK shoud have documentation concerning this change.
John Morris
Sr. Software Architect
SoftPro
Sr. Software Architect
SoftPro
Re: Test System Setup Issues
I'm aware of the need for a .snapsection file, but the SDK documentation doesn't tell me anything about the file. SnapSections are only mentioned one place in the SDK help file.John Morris wrote:Did you create a .snapsections file that points to your assembly? In 2.3, the snapsection assembly registration process changed. The SDK shoud have documentation concerning this change.
I tried both, adding my assembly name to the existing snapsection file (SoftPro.snapsection) and creating my own .snapsection file. Both methods fail, with the same error message. In fact, I get the same error message, regardless whether my module is listed or not. It seems like SP's method is either ignoring the entry I put into the file, or it doesn't like the module name (TG.SoftPro.UI).
This is what is in my snapsection file:
Code: Select all
SoftPro.OrderTracking.Controls
SoftPro.UI.Base
TG.SoftPro.UI
Robert
-
- Posts: 411
- Joined: Thu Sep 11, 2008 11:35 am
- Location: Raleigh, NC, USA
- Contact:
Re: Test System Setup Issues
Does your assembly have the SnapSectionContainer attribute on it?
John Morris
Sr. Software Architect
SoftPro
Sr. Software Architect
SoftPro
Re: Test System Setup Issues
The assembly contains a SnapSectionAssembly attribute.John Morris wrote:Does your assembly have the SnapSectionContainer attribute on it?
The assembly works fine on both my machine (both hives) and Jakes'. The only place it doesn't work for us, is on our Windows 2003 server.
Robert
-
- Posts: 411
- Joined: Thu Sep 11, 2008 11:35 am
- Location: Raleigh, NC, USA
- Contact:
Re: Test System Setup Issues
There must be something different about your Win2003 machine configuration. I'd suggest reviewing its configuration for differences from your development machine.
John Morris
Sr. Software Architect
SoftPro
Sr. Software Architect
SoftPro
Re: Test System Setup Issues
I solved the issue: somehow we picked up a reference to Microsoft.VisualBasic.PowerPacks.Vs.dll. Not something that would normally be on any non-development machine.
Thanks for all your help John.
Thanks for all your help John.
Robert