From: mjma2000 on
I have an SBS 2008 Server running latest SP and patches.

Everything was running fine until I added a new User Role through the SBS
console by copying an existing user for the new role.

Now when I open SBS console and click on User Roles the Console just crashes.
All other tabs in the console work fine.
I can still add user accounts and do general work but can't manage any of
the roles.

I get the following information from the SBS console log located in
C:\Program Files\Windows Small Business Server\Logs\console.log

Apologies about the amount of information:

An exception of type 'Type: System.Reflection.TargetInvocationException,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
has occurred.
Timestamp: 04/19/2010 15:46:00
Message: Exception has been thrown by the target of an invocation.
Stack: at
Microsoft.WindowsServerSolutions.Admin.Common.AD.IsAdExceptionShowError(Exception exception, String message)
at
Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
at
System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
---------------------------------------
An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
occurred.
Timestamp: 04/19/2010 15:46:00
Message: Not a valid Win32 FileTime.
Parameter name: fileTime
Stack: at System.DateTime.FromFileTimeUtc(Int64 fileTime)
at System.DateTime.FromFileTime(Int64 fileTime)
at
Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.User.GetPartialData(SearchResult sr)
at
Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.UserHelper.GetActiveDirectoryUsers(String ldap, String filter)
at
Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()

[8408] 100419.154600.3507: Admin: !!!!FATAL: Console shutting down due to
unhandled exception: Exception has been thrown by the target of an invocation.
[8408] 100419.154600.3526: Exception:
---------------------------------------
An exception of type 'Type: System.Reflection.TargetInvocationException,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
has occurred.
Timestamp: 04/19/2010 15:46:00
Message: Exception has been thrown by the target of an invocation.
Stack: at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle 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)
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.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
Microsoft.WindowsServerSolutions.Console.Program.Main(String[] args)
---------------------------------------
An exception of type 'Type:
Microsoft.WindowsServerSolutions.Console.Pages.Common.PageRefreshException,
Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
has occurred.
Timestamp: 04/19/2010 15:46:00
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.Reflection.TargetInvocationException,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
has occurred.
Timestamp: 04/19/2010 15:46:00
Message: Exception has been thrown by the target of an invocation.
Stack: at
Microsoft.WindowsServerSolutions.Admin.Common.AD.IsAdExceptionShowError(Exception exception, String message)
at
Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
at
System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
---------------------------------------
An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
occurred.
Timestamp: 04/19/2010 15:46:00
Message: Not a valid Win32 FileTime.
Parameter name: fileTime
Stack: at System.DateTime.FromFileTimeUtc(Int64 fileTime)
at System.DateTime.FromFileTime(Int64 fileTime)
at
Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.User.GetPartialData(SearchResult sr)
at
Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.UserHelper.GetActiveDirectoryUsers(String ldap, String filter)
at
Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()


From: Susan Bradley on
mjma2000 wrote:
> I have an SBS 2008 Server running latest SP and patches.
>
> Everything was running fine until I added a new User Role through the SBS
> console by copying an existing user for the new role.
>
> Now when I open SBS console and click on User Roles the Console just crashes.
> All other tabs in the console work fine.
> I can still add user accounts and do general work but can't manage any of
> the roles.
>
> I get the following information from the SBS console log located in
> C:\Program Files\Windows Small Business Server\Logs\console.log
>
> Apologies about the amount of information:
>
> An exception of type 'Type: System.Reflection.TargetInvocationException,
> mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> has occurred.
> Timestamp: 04/19/2010 15:46:00
> Message: Exception has been thrown by the target of an invocation.
> Stack: at
> Microsoft.WindowsServerSolutions.Admin.Common.AD.IsAdExceptionShowError(Exception exception, String message)
> at
> Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
> at
> System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
> ---------------------------------------
> An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
> occurred.
> Timestamp: 04/19/2010 15:46:00
> Message: Not a valid Win32 FileTime.
> Parameter name: fileTime
> Stack: at System.DateTime.FromFileTimeUtc(Int64 fileTime)
> at System.DateTime.FromFileTime(Int64 fileTime)
> at
> Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.User.GetPartialData(SearchResult sr)
> at
> Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.UserHelper.GetActiveDirectoryUsers(String ldap, String filter)
> at
> Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
>
> [8408] 100419.154600.3507: Admin: !!!!FATAL: Console shutting down due to
> unhandled exception: Exception has been thrown by the target of an invocation.
> [8408] 100419.154600.3526: Exception:
> ---------------------------------------
> An exception of type 'Type: System.Reflection.TargetInvocationException,
> mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> has occurred.
> Timestamp: 04/19/2010 15:46:00
> Message: Exception has been thrown by the target of an invocation.
> Stack: at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
> Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
> RuntimeTypeHandle 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)
> 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.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
> Microsoft.WindowsServerSolutions.Console.Program.Main(String[] args)
> ---------------------------------------
> An exception of type 'Type:
> Microsoft.WindowsServerSolutions.Console.Pages.Common.PageRefreshException,
> Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
> has occurred.
> Timestamp: 04/19/2010 15:46:00
> 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.Reflection.TargetInvocationException,
> mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> has occurred.
> Timestamp: 04/19/2010 15:46:00
> Message: Exception has been thrown by the target of an invocation.
> Stack: at
> Microsoft.WindowsServerSolutions.Admin.Common.AD.IsAdExceptionShowError(Exception exception, String message)
> at
> Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
> at
> System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
> ---------------------------------------
> An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
> occurred.
> Timestamp: 04/19/2010 15:46:00
> Message: Not a valid Win32 FileTime.
> Parameter name: fileTime
> Stack: at System.DateTime.FromFileTimeUtc(Int64 fileTime)
> at System.DateTime.FromFileTime(Int64 fileTime)
> at
> Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.User.GetPartialData(SearchResult sr)
> at
> Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.UserHelper.GetActiveDirectoryUsers(String ldap, String filter)
> at
> Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
>
>
>
Try going into active directory users and comptuers and delete that
template role in there.
From: Robbin on

Hello,

Thanks for your post and Susan's input.

As supplement to Susan, to find and delete the "problematic" user role
template, you should open ADUC and locate to MyBusiness\Users\SBSUsers, then
delete the new user(role).

However, if the issue persists and you have Trend anti-virus program, please
temporarily disable the Trend anti-virus program and monitor the issue again.


Hope this helps.


Sincerely,
Robbin Meng
Microsoft Online Newsgroup Support



"Susan Bradley" wrote:

> mjma2000 wrote:
> > I have an SBS 2008 Server running latest SP and patches.
> >
> > Everything was running fine until I added a new User Role through the SBS
> > console by copying an existing user for the new role.
> >
> > Now when I open SBS console and click on User Roles the Console just crashes.
> > All other tabs in the console work fine.
> > I can still add user accounts and do general work but can't manage any of
> > the roles.
> >
> > I get the following information from the SBS console log located in
> > C:\Program Files\Windows Small Business Server\Logs\console.log
> >
> > Apologies about the amount of information:
> >
> > An exception of type 'Type: System.Reflection.TargetInvocationException,
> > mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> > has occurred.
> > Timestamp: 04/19/2010 15:46:00
> > Message: Exception has been thrown by the target of an invocation.
> > Stack: at
> > Microsoft.WindowsServerSolutions.Admin.Common.AD.IsAdExceptionShowError(Exception exception, String message)
> > at
> > Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
> > at
> > System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
> > ---------------------------------------
> > An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib,
> > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
> > occurred.
> > Timestamp: 04/19/2010 15:46:00
> > Message: Not a valid Win32 FileTime.
> > Parameter name: fileTime
> > Stack: at System.DateTime.FromFileTimeUtc(Int64 fileTime)
> > at System.DateTime.FromFileTime(Int64 fileTime)
> > at
> > Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.User.GetPartialData(SearchResult sr)
> > at
> > Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.UserHelper.GetActiveDirectoryUsers(String ldap, String filter)
> > at
> > Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
> >
> > [8408] 100419.154600.3507: Admin: !!!!FATAL: Console shutting down due to
> > unhandled exception: Exception has been thrown by the target of an invocation.
> > [8408] 100419.154600.3526: Exception:
> > ---------------------------------------
> > An exception of type 'Type: System.Reflection.TargetInvocationException,
> > mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> > has occurred.
> > Timestamp: 04/19/2010 15:46:00
> > Message: Exception has been thrown by the target of an invocation.
> > Stack: at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
> > Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
> > RuntimeTypeHandle 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)
> > 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.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
> > Microsoft.WindowsServerSolutions.Console.Program.Main(String[] args)
> > ---------------------------------------
> > An exception of type 'Type:
> > Microsoft.WindowsServerSolutions.Console.Pages.Common.PageRefreshException,
> > Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
> > has occurred.
> > Timestamp: 04/19/2010 15:46:00
> > 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.Reflection.TargetInvocationException,
> > mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> > has occurred.
> > Timestamp: 04/19/2010 15:46:00
> > Message: Exception has been thrown by the target of an invocation.
> > Stack: at
> > Microsoft.WindowsServerSolutions.Admin.Common.AD.IsAdExceptionShowError(Exception exception, String message)
> > at
> > Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
> > at
> > System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
> > ---------------------------------------
> > An exception of type 'Type: System.ArgumentOutOfRangeException, mscorlib,
> > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
> > occurred.
> > Timestamp: 04/19/2010 15:46:00
> > Message: Not a valid Win32 FileTime.
> > Parameter name: fileTime
> > Stack: at System.DateTime.FromFileTimeUtc(Int64 fileTime)
> > at System.DateTime.FromFileTime(Int64 fileTime)
> > at
> > Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.User.GetPartialData(SearchResult sr)
> > at
> > Microsoft.WindowsServerSolutions.Console.Common.ActiveDirectory.UserHelper.GetActiveDirectoryUsers(String ldap, String filter)
> > at
> > Microsoft.WindowsServerSolutions.Console.Pages.Users.Roles.UserRoleGroupDataProvider.PopulateSchema()
> >
> >
> >
> Try going into active directory users and comptuers and delete that
> template role in there.
> .
>