Link to home
Start Free TrialLog in
Avatar of systembridge
systembridgeFlag for Canada

asked on

Small Business Server console crashing when selecting Reports Tab

Hi, all. I have a client running Small Business Server 2011. For the past week, we haven't received any reports regarding their backups. The backups are run by NT Backup through the Small Business Console. The console is configured to send a backup report daily. While investigating, I've come to find that the console crashes each time the Reports tab at the top is selected. According to Event Viewer, the backup has, in fact, been running successfully.

 

The following is an excerpt from the Console.2.log file

[14388] 140127.124812.8628: Admin: !!!!FATAL: Console shutting down due to unhandled exception: Exception has been thrown by the target of an invocation.
[14388] 140127.124813.0848: Exception:
---------------------------------------
An exception of type 'Type: System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 01/27/2014 12:48:12
Message: Exception has been thrown by the target of an invocation.
Stack:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         at System.Delegate.DynamicInvokeImpl(Object[] args)
         at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
         at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
         at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
         at System.Windows.Forms.Control.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(IntPtr 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 Microsoft.WindowsServerSolutions.Console.Program.Main(String[] args)
---------------------------------------
An exception of type 'Type: Microsoft.WindowsServerSolutions.Console.Pages.Common.PageRefreshException, Console, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has occurred.
Timestamp: 01/27/2014 12:48:13
Message: Exception of type 'Microsoft.WindowsServerSolutions.Console.Pages.Common.PageRefreshException' was thrown.
Stack:    at Microsoft.WindowsServerSolutions.Console.Pages.ExtendedListViewTaskPanePage.OnRefreshWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
---------------------------------------
An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 01/27/2014 12:48:13
Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Stack:    at System.Collections.ArrayList.get_Item(Int32 index)
         at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
         at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ADUtil.GetUsers(String query)
         at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportConfiguration.UpdateDomainEmailAddresses(String domainEmailAddressesXML)
         at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.MonitoringSQLDataStore.GetOneReportConfiguration(SqlConnection conn, SqlDataReader reader)
         at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.MonitoringSQLDataStore.GetReportConfigurations()
         at Microsoft.WindowsServerSolutions.Console.Pages.Reports.UsageReport.ReportsGroupDataProvider.PopulateSchema()
         at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)




Below I've included problem details generated by the Windows Error component:

Problem signature:
  Problem Event Name:      CLR20r3
  Problem Signature 01:      console.exe
  Problem Signature 02:      6.1.7900.1
  Problem Signature 03:      4ce6d9cf
  Problem Signature 04:      mscorlib
  Problem Signature 05:      4.0.30319.18408
  Problem Signature 06:      52310544
  Problem Signature 07:      1fae
  Problem Signature 08:      22
  Problem Signature 09:      N3CTRYE2KN3C34SGL4ZQYRBFTE4M13NB
  OS Version:      6.1.7601.2.1.0.305.9
  Locale ID:      4105
  Additional Information 1:      6cba
  Additional Information 2:      6cba0611fd8ef6ea9eac29d618fe0e10
  Additional Information 3:      31fc
  Additional Information 4:      31fccc96924923ccf4890ec47984ada9

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt




I can provide more information if needed.
Much thanks in advance
Avatar of WORKS2011
WORKS2011
Flag of United States of America image

does running fix my network help

have you updated .NET lately, this can cause issues.
Running the BPA will tell you if you have .Net or Sharepoint issues (needing a manual running of the psconfig to update) or other common issues.
It will even suggest if you need to reinstall the console if it is corrupt and advise you on how to do it.
You can find out how to install and use here:
http://support.microsoft.com/kb/2673284
We are up to release 1.5
Hope that helps,
Olaf
Avatar of systembridge

ASKER

@WORKS2011: .NET version is 4.5, I'll look into running this this evening

@Olaf: I've run the BPA, looks like the only issue it found was a Noncompliant warning: Windows SBS Manager Service isn't started. Not sure this is related to my issue, as the rest of the server (and console) seem to be running fine.
Please start SBS Manager manually. It will be the the reason or at least the result of the crash.
If that service stops again (While crashing the console) we will need to find some event logs relating to that service.
Let me know.
Olaf
@Olaf: When starting the service, I end up with the notification:
The Windows SBS Manager service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

It looks like the service has no dependencies. A(n attempted) start of the service produces the following error in the Application section of Windows Logs:

Level: Error
Source: DataCollectorSvc
Event ID: 0
Description: Service cannot be started. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ADUtil.GetUsers(String query)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportConfiguration.UpdateDomainEmailAddresses(String domainEmailAddressesXML)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.MonitoringSQLDataStore.GetOneReportConfiguration(SqlConnection conn, SqlDataReader reader)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.MonitoringSQLDataStore.GetReportConfigurations()
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.DataCollectorSvc.InitializeReportGenerationTask()
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.DataCollectorSvc.InitializeTaskList()
   at Micro...
(Sorry, the rest of the event description seems cut-off)

Hope this helps!
What happens if you rollback to .NET 4

Download .NET 4 here
in the systems event log do you have any 7034 event id's?
Anything else in the eventlog that might be relevant?
Olaf
@Olaf: The 7034 Event ID breakdown is as follows:
Application: 0 Events
Security: 0 Events
Setup: 0 Events
System: 1 Event
The QBCFMonitorService service terminated unexpectedly.  It has done this 1 time(s). - January 25th 2014 11:02PM
Forwarded Events: 0 Events

The following are in the Event Viewer and have been generated by the console taking a nosedive:

Time: 29/01/2014   16:13:24
Level: Error
Source: .NET Runtime
Event ID: 1026
Description: Application: Console.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
   at System.Delegate.DynamicInvokeImpl(System.Object[])
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at Microsoft.WindowsServerSolutions.Console.Program.Main(System.String[])



Followed by:

Time: 29/01/2014   16:13:24
Level: Error
Source: Application Error
Event ID: 1000
Task Category: (100)
Description: Faulting application name: Console.exe, version: 6.1.7900.1, time stamp: 0x4ce6d9cf
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
Exception code: 0xe0434352
Fault offset: 0x000000000000940d
Faulting process id: 0x5068
Faulting application start time: 0x01cf1c4a4019b360
Faulting application path: C:\Program Files\Windows Small Business Server\Bin\Console.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 301b0aa4-892a-11e3-b2b8-d4ae52b89708



And finally:

Time: 29/01/2014   16:13:38
Level: Information
Source: Windows Error Reporting
Event ID: 1001
Description:
Fault bucket 3967163723, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: console.exe
P2: 6.1.7900.1
P3: 4ce6d9cf
P4: mscorlib
P5: 4.0.30319.18408
P6: 52310544
P7: 1fae
P8: 22
P9: N3CTRYE2KN3C34SGL4ZQYRBFTE4M13NB
P10:

Attached files:
C:\Users\<redacted>\AppData\Local\Temp\WER5970.tmp.WERInternalMetadata.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_console.exe_485eba7ab17c26c38aa57924450deaf5a688dbe_1c9e7dc2

Analysis symbol:
Rechecking for solution: 0
Report Id: 301b0aa4-892a-11e3-b2b8-d4ae52b89708
Report Status: 0


It does look like it may be a .NET Framework issue, though, according to what I'm reading under the .NET Runtime event, it's still running on v4.0 so I'm not sure that, as suggested by @WORKS2011  rolling back will help. I'm still looking over the roll-back process in case it comes to that.
ASKER CERTIFIED SOLUTION
Avatar of systembridge
systembridge
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Console crashing due to SQL database becoming unstable; solution was to create and attach new blank database.
Avatar of 3PNTTECH
3PNTTECH

I've tried this a few times and my console still seems to crash.  I even re-created the entire console still crashes.   Any thoughts?  I guess the next option is to calling MS.

Kevin