Type Initializer for Outlook.WorkItems.Extension.Managers.FavoritesTeamProjectManager threw an exception.


After installing the Team Explorer 2010 RC version of BOWIE, I get the following exception when I try to select a project (click on the 'no project selected' button within an existing email.
Type Initializer for Outlook.WorkItems.Extension.Managers.FavoritesTeamProjectManager threw an exception.
The stack trace is as follows.


samunro wrote Feb 22, 2010 at 11:23 AM

I get a further exception if I click on he 'Add Team Project' button in the 'Select Team Project' dialog (this window opens after I close the window that displays the first exception. Note that I replaced the real sever name with question marks in the message below. The server name was correct and is available.

Microsoft.TeamFoundation.TeamFoundationInvalidServerNameException: TF249051: No URL can be found that corresponds to the following server name: ???. Verify that the server name is correct.
bei Microsoft.TeamFoundation.Client.TfsConnection.GetFullyQualifiedUriForName(String name, String locationServiceRelativePath, Func`2 getRegisteredUri)
bei Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.GetFullyQualifiedUriForName(String name)
bei Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore..ctor(String teamSystemName)
bei Outlook.WorkItems.Extension.Managers.FavoritesTeamProjectManager..cctor()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Outlook.WorkItems.Extension.Managers.FavoritesTeamProjectManager.GetFavoritesProjects()
bei Outlook.WorkItems.Extension.Controls.TeamTreeView.toolStripButton1_Click(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

SuddenBen wrote Feb 22, 2010 at 1:05 PM


Have you install previous version of BOWIE ?
If yes, go to C:\Users[username]\AppData\Roaming\OWIPlugin\ and delete FavoritesTeamProject.owi file.
Stop and restart Outlook, then retry.

samunro wrote Feb 22, 2010 at 2:20 PM

Thanks Ben! I was just able to attach an email to a Work Item. Deleting the FavoritesTeamProject.owi file as you suggested above did the trick.

wrote Feb 22, 2010 at 2:26 PM

wrote Feb 26, 2010 at 2:08 PM

wrote Feb 14, 2013 at 12:36 AM

wrote May 16, 2013 at 2:40 AM

wrote May 16, 2013 at 2:40 AM

wrote Jun 14, 2013 at 7:35 AM