Community & Support
Skip Navigation LinksHome / Announcements / Forums / TFS Work Item Manager and Project Dashboard: TFS Work Item Manager > DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) error in connecting to a Team Project

Not answered DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) error in connecting to a Team Project

Feed from this thread
  • Sara avatar

    Posted on Mar 17, 2011 (permalink)

    Steps to reproduce the problem:
    1. I launch Telerik WIM
    2. I click on Connect, and I select my DefaultCollection and the desired Team Project
    3. The system starts processing to load the team project, and after a couple of seconds raises a dialog box with the following error message: DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server).
      Of course it does not manage to load the chosen Team Project (all sections about queries, iteration/areapath, etc. remain empty).


    I am using Telerik Wim for TFS2010 version 1.4.0.21430, and I am connecting to a TFS2010 server (after migration from version TFS2008 just some weeks ago). I connect to TFS with Server Administration rights, but also all my colleagues (standard TFS users) have the same problem.

    Most of the team projects on this server are from the same process template, which is a customization of MSF CMMI process template for TFS2008, to resemble what is now in Scrum 1.0 team project by Microsoft. All team projects were created while on TFS2008 server, and were ported to TFS2010 with the migration.
    The strange thing is that I do not get the error message with all the team projects, but only with two of them (while others work perfectly): since the error message is no clue for me, I cannot think of anything particular these two team project may have with respect to the others... even if there must be something.

    In addition, just before the migration to tfs2010 (so, using the Telerik WIM for TFS2008) everything worked just fine, on all the team projects.


    Any idea about how to investigate and solve the problem? Unfortunately the error message did not help me very much... maybe it tells you something more?

    Thanks,
    Sara

    Reply

  • Joel Joel admin's avatar

    Posted on Mar 17, 2011 (permalink)

    Hi Sara,

    We are going to need to have a look at the log file to know what went wrong.  The log file is located at {My Documents}\Work Item Manager 2010\WIM-log.txt.  Can you please look in that file and post any erorrs that you find?

    Regards,
    Joel
    the Telerik team

    Reply

  • Sara avatar

    Posted on Mar 18, 2011 (permalink)

    Hi Joel,
    thank you for your help.

    I post you the log related to me launching WIM, where the system tries to load the default team project (called SITLibraries, which is also one of the problematic ones). Last row is me normally closing the application after the error.


    Thanks again,
    Sara

    ===================================

    2011-03-18 09:44:55,477 [4584] [1] INFO  IRC.Gear.WorkItemManager.Wpf.App - Application Starting.   
    2011-03-18 09:44:59,696 [4584] [1] DEBUG IRC.Gear.WorkItemManager.Wpf.MainWindow - Successfully loaded layout. Layout string:
    <?xml version="1.0" encoding="utf-8"?><RadDocking><DocumentHost><RadSplitContainer><Items><RadPaneGroup SelectedIndex="-1"><Items /></RadPaneGroup></Items></RadSplitContainer></DocumentHost><SplitContainers><RadSplitContainer Dock="DockedLeft" Width="200"><Items><RadSplitContainer Orientation="Vertical"><Items><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="AreaIterationFilterDockPane" IsDockable="True" Title="Area/Iteration Filters" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="WorkItemLinksDockPane" IsDockable="True" Title="Work Item Links" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup></Items></RadSplitContainer></Items></RadSplitContainer><RadSplitContainer Dock="DockedRight" Width="200"><Items><RadSplitContainer Orientation="Vertical"><Items><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="ViewExplorerDockPane" IsDockable="True" Title="Work Item Queries" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="AggregateGraphDockPane" IsDockable="True" Title="Aggregate Graph" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup></Items></RadSplitContainer></Items></RadSplitContainer></SplitContainers></RadDocking>.   
    2011-03-18 09:45:02,821 [4584] [1] INFO  IRC.Gear.WorkItemManager.Data.SourceControlManager - Source Control Get Result (SITLibraries): No Action Needed=False, Resolvable Warnings=False, Conflicts=0, Failures=0, Operations=1, Warnings=0.   
    2011-03-18 09:45:03,446 [4584] [1] INFO  IRC.Gear.WorkItemManager.Data.Planning.IterationPlanningSession - Could not find iteration planning session file for SITLibraries. (C:\Documents and Settings\itr00655\My Documents\Work Item Manager 2010\cm-mesgoa.siemens.it\DefaultCollection\SITLibraries\IterationPlanningSession.xml).   
    2011-03-18 09:45:04,133 [4584] [1] ERROR IRC.Gear.WorkItemManager.Wpf.App - Unhandled exception.  Csla.DataPortalException: DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) ---> Csla.Reflection.CallMethodException: DataPortal_Fetch method call failed ---> Csla.DataPortalException: ChildDataPortal.Fetch failed on the server ---> Csla.Reflection.CallMethodException: Child_Fetch method call failed ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at IRC.Gear.WorkItemManager.Data.QueryTextParser.GetSorting()
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.Child_Fetch(QueryTextCriteria criteria)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       at Csla.DataPortal.FetchChild[T](Object[] parameters)
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.GetWorkItemSortList(String queryText)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.LoadQueryData(QueryDefinition query)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.DoFetch(QueryDefinition query)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
       --- End of inner exception stack trace ---
       at Csla.DataPortal.Fetch(Type objectType, Object criteria)
       at Csla.DataPortal.Fetch[T](Object criteria)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItems(Project project, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.LoadViewsForCurrentProject()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.OnProjectChanged()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.MainWindow_ContentRendered(Object sender, EventArgs e)
       at System.Windows.Window.OnContentRendered(EventArgs e)
       at System.Windows.Window.<PostContentRendered>b__4(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     
    2011-03-18 09:45:09,321 [4584] [1] INFO  IRC.Gear.WorkItemManager.Wpf.App - Application Shut Down.   

    Reply

  • Joel Joel admin's avatar

    Posted on Mar 21, 2011 (permalink)

    Hello Sara,

    It looks like WIM is having trouble parsing one of the queries in your project.  The hard part now becomes finding out which query and why it's causing a problem.  I have attached a small utility that can be used to export all the queries in your project.  Can you please do the following:

    1. Download and unzip the attached utility.
    2. Open a command prompt and go to the directory where you unzipped the utility.
    3. Use the utility to export all the queries to a local folder.
      • Example: TfsQueryExport.exe "http://tfs-server:8080/tfs/DefaultCollection" "My Project" "Queries"
    4. Zip up all the files that were created.
    5. Open a support ticket for TeamPulse and attach the zipped up queries.
      • You can't attach files in the WIM forums so for this one problem we'll just get you to open a support ticket for TeamPulse where you can attach files.

    Thanks,
    Joel
    the Telerik team

    Attached files

    Reply

  • Sara avatar

    Posted on Mar 28, 2011 (permalink)

    Thank you Joel,
    but I have not understood in which section of the site I should go to open the ticket:
    is it here?
    http://www.telerik.com/support/pits.aspx#/home

    or where?



    Thanks again,
    Sara

    Reply

  • Joel Joel admin's avatar

    Posted on Mar 30, 2011 (permalink)

    Hello Sara,

    We have found a bug in our query parsing logic that is causing an error.  When this error happens you can no longer load the project as you have seen.  The symptom of the problem is that if you have a field/column with the word "Mode" in it, the query parsing fails and an exception is thrown.

    The workaround is to remove any fields that contain the word "Mode" from any queries.  We are planning on releasing an update to WIM in the next few weeks to fix this and a couple other bugs.

    Regards,
    Joel
    the Telerik team

    Reply

  • jimmy avatar

    Posted on May 11, 2011 (permalink)

    I'm having same problem..  see attached WIM-log.txt


    2011-05-11 14:27:43,112 [8160] [1] INFO  IRC.Gear.WorkItemManager.Wpf.App - Application Starting.   
    2011-05-11 14:28:46,455 [8160] [1] INFO  IRC.Gear.WorkItemManager.Data.SourceControlManager - Source Control Get Result (AdvancedAnalyticsProjects): No Action Needed=False, Resolvable Warnings=False, Conflicts=0, Failures=0, Operations=1, Warnings=0.   
    2011-05-11 14:28:46,971 [8160] [1] INFO  IRC.Gear.WorkItemManager.Data.Planning.IterationPlanningSession - Could not find iteration planning session file for AdvancedAnalyticsProjects. (C:\Documents and Settings\Jo70223\My Documents\Work Item Manager 2010\10.8.8.103\AdvancedAnalyticsCollection\AdvancedAnalyticsProjects\IterationPlanningSession.xml).   
    2011-05-11 14:28:47,111 [8160] [1] INFO  IRC.Gear.WorkItemManager.Common.TfsConnection - TFS Connection error.  Csla.DataPortalException: DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) ---> Csla.Reflection.CallMethodException: DataPortal_Fetch method call failed ---> Csla.DataPortalException: ChildDataPortal.Fetch failed on the server ---> Csla.Reflection.CallMethodException: Child_Fetch method call failed ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at IRC.Gear.WorkItemManager.Data.QueryTextParser.GetSorting()
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.Child_Fetch(QueryTextCriteria criteria)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       at Csla.DataPortal.FetchChild[T](Object[] parameters)
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.GetWorkItemSortList(String queryText)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.LoadQueryData(QueryDefinition query)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.DoFetch(QueryDefinition query)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
       --- End of inner exception stack trace ---
       at Csla.DataPortal.Fetch(Type objectType, Object criteria)
       at Csla.DataPortal.Fetch[T](Object criteria)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItems(Project project, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.LoadViewsForCurrentProject()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.OnProjectChanged()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.TfsConnection_ProjectChanged(Object sender, ProjectChangedEventArgs e)
       at IRC.Gear.WorkItemManager.Common.TfsConnection.OnProjectChanged(Project oldProject, Project newProject)
       at IRC.Gear.WorkItemManager.Common.TfsConnection.ConnectToTeamFoundationServer(String serverAddress, String projectName, Boolean throwExceptionOnError)
     
    2011-05-11 14:29:09,345 [8160] [1] ERROR IRC.Gear.WorkItemManager.Wpf.App - Unhandled exception.  Csla.DataPortalException: DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) ---> Csla.Reflection.CallMethodException: DataPortal_Fetch method call failed ---> Csla.DataPortalException: ChildDataPortal.Fetch failed on the server ---> Csla.Reflection.CallMethodException: Child_Fetch method call failed ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at IRC.Gear.WorkItemManager.Data.QueryTextParser.GetSorting()
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.Child_Fetch(QueryTextCriteria criteria)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       at Csla.DataPortal.FetchChild[T](Object[] parameters)
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.GetWorkItemSortList(String queryText)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.LoadQueryData(QueryDefinition query)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.DoFetch(QueryDefinition query)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
       --- End of inner exception stack trace ---
       at Csla.DataPortal.Fetch(Type objectType, Object criteria)
       at Csla.DataPortal.Fetch[T](Object criteria)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItems(Project project, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.LoadViewsForCurrentProject()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.ShowOptionsWindow()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.OptionsCommand_Executed(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at Telerik.Windows.Controls.RadButton.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     
    2011-05-11 14:29:22,876 [8160] [1] INFO  IRC.Gear.WorkItemManager.Wpf.App - Application Shut Down.   
    2011-05-11 14:29:26,720 [6604] [1] INFO  IRC.Gear.WorkItemManager.Wpf.App - Application Starting.   
    2011-05-11 14:29:51,548 [6604] [1] DEBUG IRC.Gear.WorkItemManager.Wpf.MainWindow - Successfully loaded layout. Layout string:
    <?xml version="1.0" encoding="utf-8"?><RadDocking><DocumentHost><RadSplitContainer><Items><RadPaneGroup SelectedIndex="-1"><Items /></RadPaneGroup></Items></RadSplitContainer></DocumentHost><SplitContainers><RadSplitContainer Dock="DockedLeft" Width="200"><Items><RadSplitContainer Orientation="Vertical"><Items><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="AreaIterationFilterDockPane" IsDockable="True" Title="Area/Iteration Filters" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="WorkItemLinksDockPane" IsDockable="True" Title="Work Item Links" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup></Items></RadSplitContainer></Items></RadSplitContainer><RadSplitContainer Dock="DockedRight" Width="200"><Items><RadSplitContainer Orientation="Vertical"><Items><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="ViewExplorerDockPane" IsDockable="True" Title="Work Item Queries" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup><RadPaneGroup SelectedIndex="0"><Items><RadPane SerializationTag="AggregateGraphDockPane" IsDockable="True" Title="Aggregate Graph" Header="System.Windows.Controls.StackPanel" CanDockInDocumentHost="False" /></Items></RadPaneGroup></Items></RadSplitContainer></Items></RadSplitContainer></SplitContainers></RadDocking>.   
    2011-05-11 14:29:53,282 [6604] [1] INFO  IRC.Gear.WorkItemManager.Data.Planning.IterationPlanningSession - Could not find iteration planning session file for AdvancedAnalyticsProjects. (C:\Documents and Settings\Jo70223\My Documents\Work Item Manager 2010\10.8.8.103\AdvancedAnalyticsCollection\AdvancedAnalyticsProjects\IterationPlanningSession.xml).   
    2011-05-11 14:29:53,548 [6604] [1] ERROR IRC.Gear.WorkItemManager.Wpf.App - Unhandled exception.  Csla.DataPortalException: DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) ---> Csla.Reflection.CallMethodException: DataPortal_Fetch method call failed ---> Csla.DataPortalException: ChildDataPortal.Fetch failed on the server ---> Csla.Reflection.CallMethodException: Child_Fetch method call failed ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at IRC.Gear.WorkItemManager.Data.QueryTextParser.GetSorting()
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.Child_Fetch(QueryTextCriteria criteria)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       at Csla.DataPortal.FetchChild[T](Object[] parameters)
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.GetWorkItemSortList(String queryText)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.LoadQueryData(QueryDefinition query)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.DoFetch(QueryDefinition query)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
       --- End of inner exception stack trace ---
       at Csla.DataPortal.Fetch(Type objectType, Object criteria)
       at Csla.DataPortal.Fetch[T](Object criteria)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItems(Project project, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.LoadViewsForCurrentProject()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.OnProjectChanged()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.MainWindow_ContentRendered(Object sender, EventArgs e)
       at System.Windows.Window.OnContentRendered(EventArgs e)
       at System.Windows.Window.<PostContentRendered>b__4(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     
    2011-05-11 14:30:24,563 [6604] [1] INFO  IRC.Gear.WorkItemManager.Data.SourceControlManager - Source Control Get Result (AdvancedAnalyticsProjects): No Action Needed=False, Resolvable Warnings=False, Conflicts=0, Failures=0, Operations=1, Warnings=0.   
    2011-05-11 14:30:24,704 [6604] [1] ERROR IRC.Gear.WorkItemManager.Wpf.App - Unhandled exception.  Csla.DataPortalException: DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) ---> Csla.Reflection.CallMethodException: DataPortal_Fetch method call failed ---> Csla.DataPortalException: ChildDataPortal.Fetch failed on the server ---> Csla.Reflection.CallMethodException: Child_Fetch method call failed ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at IRC.Gear.WorkItemManager.Data.QueryTextParser.GetSorting()
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.Child_Fetch(QueryTextCriteria criteria)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Server.ChildDataPortal.Fetch(Type objectType, Object[] parameters)
       at Csla.DataPortal.FetchChild[T](Object[] parameters)
       at IRC.Gear.WorkItemManager.Data.WorkItemSortList.GetWorkItemSortList(String queryText)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.LoadQueryData(QueryDefinition query)
       at IRC.Gear.WorkItemManager.Data.WorkItemView.DoFetch(QueryDefinition query)
       at dm(Object , Object[] )
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       --- End of inner exception stack trace ---
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[] parameters)
       at Csla.Reflection.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
       at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
       --- End of inner exception stack trace ---
       at Csla.DataPortal.Fetch(Type objectType, Object criteria)
       at Csla.DataPortal.Fetch[T](Object criteria)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetTfsQueryFolder(QueryFolder queryFolder, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItem(QueryItem item, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Data.TfsQueryFolder.GetQueryItems(Project project, Boolean foldersOnly)
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.LoadViewsForCurrentProject()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.ShowOptionsWindow()
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.OptionsCommand_Executed(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at Telerik.Windows.Controls.RadButton.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     

    Reply

  • Sebastian avatar

    Posted on May 13, 2011 (permalink)

    Hi I seem to have a similar problem.

    I checked all my queries but I did not see any "mode" string in it.

    Is there another workaround?

    Thanks, Sebastian

    Reply

  • Joel Joel admin's avatar

    Posted on May 17, 2011 (permalink)

    Hi Sebastian,

    While fixing the bug with the "mode" string we also made a couple other enhancements to the query parsing logic.  I suspect that when a fix is released that your problem should be solved.  On top of those fixes we also improved the error handling so that failing to load a single query will not prevent the rest of the queries from loading.

    Regards,
    Joel
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Sebastian avatar

    Posted on May 20, 2011 (permalink)

    Sounds good to me.

    Is there a time frame for a next release?

    Reply

  • Greg Greg admin's avatar

    Posted on May 25, 2011 (permalink)

    Hello Sebastian,

    We are planning to release an updated version this year, but it has not been planned so I can't give you a definite date. Discussions about when the release will happen are ongoing within Telerik.

    Kind regards,
    Greg
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Joel Joel admin's avatar

    Posted on Jun 29, 2011 (permalink)

    We have uploaded a new version of WIM to the site and this issue should be fixed. Please log in to your account and download the new version and let us know if the problem remains.

    Thanks,
    Joel
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Announcements / Forums / TFS Work Item Manager and Project Dashboard: TFS Work Item Manager > DataPortal.Fetch failed (ChildDataPortal.Fetch failed on the server) error in connecting to a Team Project