index > Team Foundation Server - General > TF80070 Error in Microsoft Project

TF80070 Error in Microsoft Project


We are using Team Foundation Server Workgroup edition. I open up Microsoft Project and 'Choose Team Project'. Then I can 'Get Work Items' into the project, but it throws the error below before all of the work items are rendered (but they all show up after I hit OK). Also I can't 'Publish' or 'Refresh' the Work Items from Project. When I try, I get the following error:

"TF80070: Team Foundation encoutered an error while performing the operation. It is recommended that you save your work and restart the application."

Any help/ideas would be greatly appreciated.

JDCAMP

Hi

Did you get then same error when you open a query in MS Project from IDE? That is, from team explorer under work items, rightclick any query that results at least one WI, and then click Open in MS Project. Let me know what happens.

In addition please try this. Start Control panel and open Add Remove Programs. Select Visual Studio 2005 Tools for Office Runtime and then repait it. You might need to select Uninstall (based on this OS) and then select Repair in the dialog and follow the wizard. Perform what you tried

Thanks

Sagar




SDET Visual Studio Team Foundation
Sagar Sura
From VS I right clicked on All Work Items and selected 'Open in Microsoft Project'. Project brings back all of the work items but when it is done throws the same TF80070 error as before. I ran the repair on Visual Studio 2005 Tools for Office Runtime and tried again with the same TF80070 result.
JDCAMP

While I am working on this I thought I would provide some information to you...

Here is one forum posting related to this error. This error is more like a general error. If there are any unexpected errors then TFS show this error. BTE, does Excel integration works fine?

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=123770&SiteID=1

Thanks
Sagar




SDET Visual Studio Team Foundation
Sagar Sura

Yes, Excel integration works perfectly.

JDCAMP
Okay. I'm going to need a log file to have any hope of figuring out what is going on. Please create a new file in the location where WINPROJ.exe exists called winproj.exe.config and place the following XML in that file:

<configuration>
<system.diagnostics>
<switches>
<add name="General" value="3" />
</switches>
<trace autoflush="false" indentsize="3" />
</system.diagnostics>
</configuration>

This will cause a log file to be generated in your %temp% directory called tfs_winproj.log. Run Project, cause the problem to occur, then post the contents of the generated log file (there should be an exception entry in it).

Thanks

Sagar




SDET Visual Studio Team Foundation
Sagar Sura
I created the file as instructed above and I am able to reproduce the error, but I can't find a reference of a tfs_winproj.log file anywhere on my computer much less the %temp% directory.
JDCAMP

Sorry... the file name is tfs_msproject.log.

Thanks

Sagar




SDET Visual Studio Team Foundation
Sagar Sura

I opened All Work Items in Microsoft Project from Visual Studio. Made a change in Visual Studio to a Work Item, refreshed Microsoft Project and everything looked alright. Made a change in Microsoft Project and tried to publish and got the TF80070 error. Here is the contents of that log file:

----------------------------------------------------------------------------------------------------------------------------------------------------------------

[Info, PID 5580, TID 4636, 12:57:57.186] Managed ELead Project AddIn loaded
[Error, PID 5580, TID 4636, 12:58:04.701] {

[Error, PID 5580, TID 4636, 12:58:04.748] Exception: {
Exception Message: An unexpected error occurred with the method. (type COMException)

Exception Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Microsoft.Office.Interop.MSProject._MSProject.get_ActiveWindow()
at Microsoft.TeamFoundation.OfficeIntegration.Client.Connect.OnConnectionInternal(Object application, ext_ConnectMode connectMode, Object addInInst)

}
[Error, PID 5580, TID 4636, 12:58:04.748] }
[Error, PID 5580, TID 4636, 12:58:58.139] {

[Error, PID 5580, TID 4636, 12:58:58.139] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.139] }
[Error, PID 5580, TID 4636, 12:58:58.623] {

[Error, PID 5580, TID 4636, 12:58:58.623] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.623] }
[Error, PID 5580, TID 4636, 12:58:58.655] {

[Error, PID 5580, TID 4636, 12:58:58.655] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.655] }
[Error, PID 5580, TID 4636, 12:58:58.733] {

[Error, PID 5580, TID 4636, 12:58:58.733] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.733] }
[Error, PID 5580, TID 4636, 12:58:58.795] {

[Error, PID 5580, TID 4636, 12:58:58.795] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.795] }
[Error, PID 5580, TID 4636, 12:58:58.842] {

[Error, PID 5580, TID 4636, 12:58:58.842] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.842] }
[Error, PID 5580, TID 4636, 12:58:58.889] {

[Error, PID 5580, TID 4636, 12:58:58.889] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.889] }
[Error, PID 5580, TID 4636, 12:58:58.920] {

[Error, PID 5580, TID 4636, 12:58:58.920] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.920] }
[Error, PID 5580, TID 4636, 12:58:58.967] {

[Error, PID 5580, TID 4636, 12:58:58.967] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.967] }
[Error, PID 5580, TID 4636, 12:58:58.983] {

[Error, PID 5580, TID 4636, 12:58:58.998] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:58.998] }
[Error, PID 5580, TID 4636, 12:58:59.014] {

[Error, PID 5580, TID 4636, 12:58:59.030] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:59.030] }
[Error, PID 5580, TID 4636, 12:58:59.092] {

[Error, PID 5580, TID 4636, 12:58:59.092] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:59.092] }
[Error, PID 5580, TID 4636, 12:58:59.123] {

[Error, PID 5580, TID 4636, 12:58:59.123] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:59.123] }
[Error, PID 5580, TID 4636, 12:58:59.170] {

[Error, PID 5580, TID 4636, 12:58:59.170] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:59.170] }
[Error, PID 5580, TID 4636, 12:58:59.201] {

[Error, PID 5580, TID 4636, 12:58:59.201] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 12:58:59.201] }
[Error, PID 5580, TID 4636, 13:00:18.576] {

[Error, PID 5580, TID 4636, 13:00:18.576] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.576] }
[Error, PID 5580, TID 4636, 13:00:18.608] {

[Error, PID 5580, TID 4636, 13:00:18.608] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.608] }
[Error, PID 5580, TID 4636, 13:00:18.639] {

[Error, PID 5580, TID 4636, 13:00:18.639] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.639] }
[Error, PID 5580, TID 4636, 13:00:18.655] {

[Error, PID 5580, TID 4636, 13:00:18.655] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.655] }
[Error, PID 5580, TID 4636, 13:00:18.686] {

[Error, PID 5580, TID 4636, 13:00:18.686] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.686] }
[Error, PID 5580, TID 4636, 13:00:18.701] {

[Error, PID 5580, TID 4636, 13:00:18.701] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.701] }
[Error, PID 5580, TID 4636, 13:00:18.733] {

[Error, PID 5580, TID 4636, 13:00:18.733] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.733] }
[Error, PID 5580, TID 4636, 13:00:18.748] {

[Error, PID 5580, TID 4636, 13:00:18.748] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.748] }
[Error, PID 5580, TID 4636, 13:00:18.780] {

[Error, PID 5580, TID 4636, 13:00:18.780] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.780] }
[Error, PID 5580, TID 4636, 13:00:18.795] {

[Error, PID 5580, TID 4636, 13:00:18.795] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.795] }
[Error, PID 5580, TID 4636, 13:00:18.842] {

[Error, PID 5580, TID 4636, 13:00:18.842] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.842] }
[Error, PID 5580, TID 4636, 13:00:18.858] {

[Error, PID 5580, TID 4636, 13:00:18.858] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.858] }
[Error, PID 5580, TID 4636, 13:00:18.889] {

[Error, PID 5580, TID 4636, 13:00:18.889] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.889] }
[Error, PID 5580, TID 4636, 13:00:18.905] {

[Error, PID 5580, TID 4636, 13:00:18.905] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.905] }
[Error, PID 5580, TID 4636, 13:00:18.936] {

[Error, PID 5580, TID 4636, 13:00:18.936] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:18.936] }
[Error, PID 5580, TID 4636, 13:00:37.748] {

[Error, PID 5580, TID 4636, 13:00:37.826] Exception: {
Exception Message: Input string was not in a correct format. (type FormatException)

Exception Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToDouble(String value, IFormatProvider provider)
at System.String.System.IConvertible.ToDouble(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.get_Item(String fieldReferenceName)
at Microsoft.TeamFoundation.OfficeIntegration.Client.BulkWorkItemUpdater.TryCopyTo(WorkItemBase source, CurrituckWorkItem target)

}
[Error, PID 5580, TID 4636, 13:00:37.826] }
[Error, PID 5580, TID 4636, 13:00:37.826] {

[Error, PID 5580, TID 4636, 13:00:37.826] Exception: {
Exception Message: Input string was not in a correct format. (type FormatException)

Exception Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToDouble(String value, IFormatProvider provider)
at System.String.System.IConvertible.ToDouble(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.get_Item(String fieldReferenceName)
at Microsoft.TeamFoundation.OfficeIntegration.Client.BulkWorkItemUpdater.TryCopyTo(WorkItemBase source, CurrituckWorkItem target)

}
[Error, PID 5580, TID 4636, 13:00:37.826] }
[Error, PID 5580, TID 4636, 13:00:45.248] {

[Error, PID 5580, TID 4636, 13:00:45.248] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.248] }
[Error, PID 5580, TID 4636, 13:00:45.280] {

[Error, PID 5580, TID 4636, 13:00:45.280] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.280] }
[Error, PID 5580, TID 4636, 13:00:45.295] {

[Error, PID 5580, TID 4636, 13:00:45.295] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.295] }
[Error, PID 5580, TID 4636, 13:00:45.326] {

[Error, PID 5580, TID 4636, 13:00:45.326] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.326] }
[Error, PID 5580, TID 4636, 13:00:45.358] {

[Error, PID 5580, TID 4636, 13:00:45.358] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.358] }
[Error, PID 5580, TID 4636, 13:00:45.373] {

[Error, PID 5580, TID 4636, 13:00:45.373] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.373] }
[Error, PID 5580, TID 4636, 13:00:45.405] {

[Error, PID 5580, TID 4636, 13:00:45.405] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.405] }
[Error, PID 5580, TID 4636, 13:00:45.420] {

[Error, PID 5580, TID 4636, 13:00:45.420] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.420] }
[Error, PID 5580, TID 4636, 13:00:45.451] {

[Error, PID 5580, TID 4636, 13:00:45.451] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.451] }
[Error, PID 5580, TID 4636, 13:00:45.467] {

[Error, PID 5580, TID 4636, 13:00:45.467] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.467] }
[Error, PID 5580, TID 4636, 13:00:45.498] {

[Error, PID 5580, TID 4636, 13:00:45.498] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.498] }
[Error, PID 5580, TID 4636, 13:00:45.514] {

[Error, PID 5580, TID 4636, 13:00:45.514] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.514] }
[Error, PID 5580, TID 4636, 13:00:45.545] {

[Error, PID 5580, TID 4636, 13:00:45.545] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.545] }
[Error, PID 5580, TID 4636, 13:00:45.561] {

[Error, PID 5580, TID 4636, 13:00:45.561] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.561] }
[Error, PID 5580, TID 4636, 13:00:45.592] {

[Error, PID 5580, TID 4636, 13:00:45.592] Exception: {
Exception Message: This is not a valid Units value. (type COMException)

Exception Stack Trace: at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.set_Item(String fieldReferenceName, Object value)

}
[Error, PID 5580, TID 4636, 13:00:45.592] }
[Error, PID 5580, TID 4636, 13:00:45.655] {

[Error, PID 5580, TID 4636, 13:00:45.655] Exception: {
Exception Message: Stack empty. (type InvalidOperationException)

Exception Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Microsoft.TeamFoundation.OfficeIntegration.Client.WorkItemDictionaryBase.UnFilter()
at Microsoft.TeamFoundation.OfficeIntegration.Client.ChopSuiHelper.Sync1(ChopPacket chopPacket, Int32& publishedItemsCount)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ChopSuiHelper.Sync(IWin32Window parent, OfficeWorkItemDictionaryBase localDictionary, ProjectContext projectContext, Boolean publishToDB, WorkItemRefreshOption refreshOptions, CultureInfo uiCultureInfo)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.Sync(Boolean publishToDB)
at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.Synchronize()
at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectCommands.SynchronizeCommand_Click(CommandBarButton cmdBarbutton, Boolean& cancel)

}
[Error, PID 5580, TID 4636, 13:00:45.655] }


JDCAMP

Thanks for sharing this with us. While I am looking at it, can you repleat these steps for just one work item? Run the query in IDE.. For the list select on Work Item and right-click open it in Project. Update it and then attempt to publish.

Thanks

Sagar




SDET Visual Studio Team Foundation
Sagar Sura
I recieved the same error when trying to work with only one Work Item.
JDCAMP
reply 11

You can use google to search for other answers

 

More Articles

Tools for drawing UML diagrams
Disconnect from TFS gives error
How to install lightweight Team Foundation Client just for bug tr...
What is the best way to migrate bugs from Beta2 to Beta3
Remote Access to TFS
Error TF84011: Could not connet to team project
team explorer?
Checkout/in binaries either side of Team Build
How to Unlock a lock in another workspace
'Unable to connect to BIS Server' when starting VS Client
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Team Foundation Client for VS 2005 Relea…
MOdified alerts to send to all users
Beta Experience
SQL Server Management Studio Error
Get Latest Version not bring all the fil…
Can't View ShelveSets..
Warehouse refresh fails with "Reque…
Unknown Folder In TeamExpler when view e…
How to delete a /$folder from Source Con…
mixed VSS/TFS source control deployment?
Team Foundation Server API
Extensibility
Organizing changes into changesets prior…
Adventure Works Demo for VSTS
Iteration Security

Hot Articles

How does TFS manage the WSS site images?
How to make a file in source control wri…
How to exclude a Folder from a Webproject
Show Differences
Getting an Error while acessing Work ite…
shared library in team system?
July CTP -- Where is Team Build Installed
Warehouse not updated due to field delet…
Iteration Security
Can multiple team projects use the same …
Build Process and Changesets
Assigning a task to more than one user
Generate Typelib from Team Build
Team Explorer : External component has t…
Error TF53011 on TFS RTM

Recommend Articles

Automatic retrieval of latest version on…
Is the Team Suite trial compatable with …
Getting ready to switch to TFS for work …
Uploading New Process Template
How to reference users and groups of a t…
Test run name and test list
How do you know if team foundation serve…
Working with Cross project Reports
How do I disable "resolve" in …
Problem capturing events from TFS.
Suggestion: Add Version Number to Chang…
Visual Studio 2005 Team Suite Trial cras…
Missing VCOverrides.vsprops
Modifying the default.aspx template
Policy violations email