Error from 'Resolved' or 'Closed' to 'Active' state in bug form

Hi there,
I have customized bug form and applying that process template to team project, when I make bug 'Active' from 'Resolved' or 'Closed' State, I get the below error. What do I need to do to fix this problem?
Thanks,
Anu
Microsoft Visual Studio

Error

This work item has invalid fields, or user has invalid permission.

OK

[371 byte] By [AnuBeniwal] at [2007-12-16]
# 1
Hi,
There is no way to figure out where the problem is from the error message. Is there log or trace of detail of error from VSTS client to get the exact problem?
Thanks,
Anu
AnuBeniwal at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
Anu,
You can try to do the following through the Currituck OM:

try
{
// Initialization is done

workitem.Open();
workitem.State = "Active";
workitem.Save();
}
catch(Exception e)
{
// Save the exception details
}

You can then look at the stack trace of the exception which might give us some more info on the problem.
Thanks,
Avanti

AvantiKetkar at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3
Anu,
You can also run trace monitor tools like dbgview.exe (from sysinternals.com) to view detailed error messages. When you get the error, you can check for each field's validity by looping through each field and checking IsValid to find which field is invalid.
Thanks
Naren
NarenDatha at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4
BTW, we have made many fixes in the error messages code to give better message - such as with the field name and cause of error in next release.
Thanks.
NarenDatha at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified