This project is read-only.

LongBar won't start

Nov 2, 2009 at 12:23 PM

After installing LongBar and either letting it start automatically or starting it myself, the process will run (I can see longbar.exe in the task manager) but nothing appears on the screen. I can still install tiles by double clicking them, but nothing appears.

Originally I had the gadget/sidebar disabled, but enabling it again has made no difference (not sure if it would have, but anyways).

Help?

Running Windows 7 x86 with .NET 4.0, ask for any further details if needed.

Nov 2, 2009 at 2:08 PM

I think LongBar was installed incoreectly. Try to apple this .reg file.

Nov 2, 2009 at 2:27 PM

Thanks, but didn't help. Nor did reinstalling it.

Nov 2, 2009 at 2:29 PM

Look at the <AppData>\Roaming\LongBar Project Group\LongBar\Logs folder. If there are any log files, give me it.

Nov 3, 2009 at 1:45 AM

02/11/2009 14:25:03
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.General.SystemTray.AddIcon(Window wnd)
   at LongBar.LongBarMain.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:25:24
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.Dwm.Glass.EnableGlass(IntPtr& handle, IntPtr rgn)
   at LongBar.LongBarMain.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:31:14
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.General.SystemTray.AddIcon(Window wnd)
   at LongBar.LongBarMain.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:31:31
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.Dwm.Glass.EnableGlass(IntPtr& handle, IntPtr rgn)
   at LongBar.LongBarMain.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:32:41
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.General.SystemTray.AddIcon(Window wnd)
   at LongBar.LongBarMain.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:32:55
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.Dwm.Glass.EnableGlass(IntPtr& handle, IntPtr rgn)
   at LongBar.LongBarMain.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:37:03
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.General.SystemTray.AddIcon(Window wnd)
   at LongBar.LongBarMain.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
02/11/2009 14:37:18
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.Dwm.Glass.EnableGlass(IntPtr& handle, IntPtr rgn)
   at LongBar.LongBarMain.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------

Nov 4, 2009 at 1:37 PM

Any help?

Nov 4, 2009 at 1:46 PM

I have no ideas. Try to remove .NET 4.0. If still doesn't work, try previous LongBar 2.0 builds. Also try LongBar 1.4. And tell if they are work.

Nov 4, 2009 at 7:03 PM

One of the errors looks related to Glass. Are you using Windows 7 Starter or Home Basic? Are you using WindowBlinds? Are you using a unsigned modified theme on your windows (uxtheme), or something that changes glass behavior?

Try changing your theme to Classic and run LongBar again.

Nov 5, 2009 at 1:37 PM

Hey guys, thanks for trying, but still nothing.

Removed .NET 4.0, now running 3.5. I was using unsigned modified themes with patched uxtheme, etc, but I've now restored everything and running Aero theme, but to no avail.

I installed every build, the majority of which gave me an error related to 'Core' if that helps at all. Most of the logs were the same, but I'll post the ones that differed.

 

1.5.176

05/11/2009 12:46:26
 System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Seti.General.SystemTray.AddIcon(Window& Wnd)
   at LongBar.LongBar.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
05/11/2009 12:46:34
 System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Seti.Dwm.Glass.EnableGlass(IntPtr& handle, Int32 Rgn)
   at LongBar.LongBar.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------

 

The main log

05/11/2009 13:12:17
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.General.SystemTray.AddIcon(Window wnd)
   at LongBar.LongBarMain.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
05/11/2009 13:12:25
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.Dwm.Glass.EnableGlass(IntPtr& handle, Int32 rgn)
   at LongBar.LongBarMain.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------

 

2.0.250

05/11/2009 13:22:37
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.General.SystemTray.AddIcon(Window wnd)
   at LongBar.LongBarMain.LongBar_SourceInitialized(Object sender, EventArgs e)
   at System.Windows.Window.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
05/11/2009 13:22:44
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Slate.Dwm.Glass.EnableGlass(IntPtr& handle, IntPtr rgn)
   at LongBar.LongBarMain.LoadAnimation_Completed(Object sender, EventArgs e)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------
05/11/2009 13:22:52
System.TypeInitializationException: The type initializer for 'Slate.General.SideBar' threw an exception. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at System.Windows.Forms.Screen..ctor(IntPtr monitor, IntPtr hdc)
   at System.Windows.Forms.Screen.MonitorEnumCallback.Callback(IntPtr monitor, IntPtr hdc, IntPtr lprcMonitor, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.EnumDisplayMonitors(HandleRef hdc, COMRECT rcClip, MonitorEnumProc lpfnEnum, IntPtr dwData)
   at System.Windows.Forms.Screen.get_AllScreens()
   at System.Windows.Forms.Screen.get_PrimaryScreen()
   at Slate.General.SideBar..cctor()
   --- End of inner exception stack trace ---
   at LongBar.LongBarMain.LongBar_Closed(Object sender, EventArgs e)
   at System.Windows.Window.OnClosed(EventArgs e)
   at System.Windows.Window.CloseWindowBeforeShow()
   at System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
   at System.Windows.Application.DoShutdown()
   at System.Windows.Application.ShutdownImpl()
   at System.Windows.Application.ShutdownCallback(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--------------------------------------------------------------------------------------

Nov 5, 2009 at 8:29 PM

Most of the errors seem related to Glass, did you try running LongBar using Windows 7 Basic Theme or Classic Theme?

The last error is regarding multi-monitor support. Do you have the latest DirectX 9 installed? Windows Vista and 7 do not come with the latest Directx9 components. Try installing from here http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en

Nov 7, 2009 at 12:51 AM

Tried on both basic and classic, bringing up the same errors.

I'm not running multiple monitors, however, nor am I running DX9, Windows 7 comes with DX11 installed.

Also doesn't run in safe mode.

Does longbar rely on any services or programs to be running because I may have disabled something necessary in my tweaking?

Nov 7, 2009 at 2:34 AM

I know Windows 7 comes with DX 11, but it doesn't include all components of DX9. Anyway I don't think that's the issue.

Try running "sfc /scannow" in a command-prompt as administrator, it looks like your .net framework might be damaged.

Nov 8, 2009 at 4:03 AM

Ok can't find the problem, I think there may have been a fault in the W7 installation. Thanks for your help guys. When I get some free time I'm gonna do a clean install and then try longbar again.

Nov 14, 2009 at 9:53 PM

Hey guys, thanks again for all your help. Clean install and everything seems fine now, great piece of software.

To everyone considering using this, download, download, download!!

Nov 15, 2009 at 8:02 AM

Glad that you finally can use it