When you launch Windows SBS Console, it may crash instantly. When the crash occurs, SBS Console will terminate and the user will see the following window.
If you analyze the Console.log file that is located at c:\program files\windows small business server\logs you will notice the following error:
---------------------------------------
An exception of type 'Type: System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 09/16/2011 12:35:58
Message: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Stack: at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.AnalyzeMshSnapinAssembly(Assembly assembly, PSSnapInInfo mshsnapinInfo)
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo)
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo, PSSnapInException& warning)
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.DoAddPSSnapIn(String name, PSSnapInException& warning)
at Microsoft.WindowsServerSolutions.PowerShell.PSRuntime.InitializeRuntime(String consoleFilePath, ICollection`1 snapIns)
at Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupWorker..ctor()
at Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupUtility.GetStatus(String dateFormat, String& statusText, String& lastBackup, String& nextBackup, Boolean& nextBackupPaused)
at Microsoft.WindowsServerSolutions.Console.Controls.ReportCard.ReportCard.GetBackupHealthInfo(LEDstates& ledState, String& reportDescription)
at Microsoft.WindowsServerSolutions.Console.Controls.SystemHealthInfo.SystemHealthInfo.BackgroundWorkerDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
[56084] 110916.123558.6854: Admin: !!!!FATAL: Console shutting down due to unhandled exception: Exception has been thrown by the target of an invocation.
[56084] 110916.123558.8064: Exception:
---------------------------------------
An exception of type 'Type: System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 09/16/2011 12:35:58
Message: Exception has been thrown by the target of an invocation.
Stack: at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
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.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
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: System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 09/16/2011 12:35:58
Message: Exception has been thrown by the target of an invocation.
Stack: at Microsoft.WindowsServerSolutions.Console.Controls.SystemHealthInfo.SystemHealthInfo.RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
---------------------------------------
An exception of type 'Type: System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 09/16/2011 12:35:58
Message: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Stack: at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.AnalyzeMshSnapinAssembly(Assembly assembly, PSSnapInInfo mshsnapinInfo)
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo)
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo, PSSnapInException& warning)
at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.DoAddPSSnapIn(String name, PSSnapInException& warning)
at Microsoft.WindowsServerSolutions.PowerShell.PSRuntime.InitializeRuntime(String consoleFilePath, ICollection`1 snapIns)
at Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupWorker..ctor()
at Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupUtility.GetStatus(String dateFormat, String& statusText, String& lastBackup, String& nextBackup, Boolean& nextBackupPaused)
at Microsoft.WindowsServerSolutions.Console.Controls.ReportCard.ReportCard.GetBackupHealthInfo(LEDstates& ledState, String& reportDescription)
at Microsoft.WindowsServerSolutions.Console.Controls.SystemHealthInfo.SystemHealthInfo.BackgroundWorkerDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)