Can not add new Work ITem

I am trying (for the first time) to add new Working Item in VSTS 2005 Beta 2. IDE crashes immediately after Working Item type selection.
Anyone experience something like this Any ideas




Answer this question

Can not add new Work ITem

  • Luciana69740

    It's not something I've heard of before, so I'll forward this thread onto some of the Work Item UI devs.

    One interesting point about the form is that some of the controls are hosted Html Controls - you don't have anything different about your browser configuration that we should know about

  • Arstan

    Instructions for modifying the work item type definition and uploading a process template are below.  If you don't mind overwriting your existing definition, then you only need to modify the <wit>.xml file and upload it over the existing one.  Then you will need to create a new project using the methodology and try to create and instance of the work item type you modified.  If you don't want to modify your existing type, then you need to edit the ProcessTemplate.xml file and change the name to something different.

    - right click on the team foundation server
    - select Team Foundation Server Settings -> Process Template Manager
    - click download
    - pick a directory to download to (make sure it exists beforehand)
    - after saving, look in the <templateName>\Currituck\TypeDefinitions directory and pick a work item type to modify (e.g. task.xml)
    - Open the work item type file in a text editor and look for the <FORM> element
    - Comment out controls that have the following types: HtmlFieldControl, WorkItemLogControl.  e.g.:
       <Control .... /> would change to <!-- <Control .... /> -->
    - Save the file
    - Open the Process Template Manager again and click the Upload button
    - Navigate to the directory where the ProcessTemplate.xml file exists and click the Open button to upload the template (if you want to upload to a different name you will need to edit ProcessTemplate.xml and give it a new name)
    - Use the PCW to create a new project containing this methodology
    - Once The project has been created, try to create a work item of the type you edited.

    The whole process should take about 10 minutes.  Let us know if you are able to edit the form - if so then it appears it is crashing trying to initialize the html control.


  • Matthew Yeh

    Hi John,
    Thank you for quick reply.

    Installation of Team Foundation Server finished successfully.
    VS 2005 Team Suite beta 2 installed on Win2K SP4.
    MSF Agile project was created without problems.

    Now, when I trying to create new Work Item of any kind (from 4 predefined), IDE crashes. I can see WI form beginning to open; screen freeze and nice "Microsoft Visual Studio has encountered a problem and needs to close." window show up.

    And you are absolutely right; I am having the same problem when trying to open one of existing items (created with new project).



  • Aaron Stern - MSFT

    Leon,

    It's great to hear that you got it working without having to invest a lot of effort into trouble-shooting.  Thank you for getting back to us.

    tony

  • BiohazrD

    Thanks Tony,

    I had this problem on one workstation only (from 3 TS clients installed), so I started with basics: windows update. Apparently this step was skipped in installation process; critical updates were found and installed. After successful update problem was gone.
    Unfortunately I found your post later, so I can not tell if it was specific type of control to blame.

     



  • sbf1100

    That's a good place to start.  The first thing I might try would be editing the Work Item Type for one of your types and remove the two Html controls (HtmlControl and WorkItemLogControl) to see if the form will display without any HTML controls on it.

    I don't think witimport.exe is in Beta2 as part of the main sku, so I will need to log back on later this evening and re-familiarize myself with exporting and re-importing the process templates through the Process Template Manager - I will send exact steps for doing it then.

  • Jayaram Krishnaswamy

    Hi Leon

    Can you give us more details about what you're seeing

    Did your installation of team foundation server appear to go successfully
    Did you successfully create a new Team Project with the project creation wizard
    Are you using the default project MSF Agile methodology

    Can you successfully edit and save existing work items (i.e. is this just for adding new items )

    What sort of new Work Item are you trying to add

    Can you give us details of the crash itself

    Thanks

    John

     



  • Can not add new Work ITem