MS Process Editor Bug !!

Hi All,

This post i will show a bug in MS Process Editor, When you try to customize the Process (Workitems Types,Iteration,…..etc) when you try to create a new project with it,you will get an error,this error will be customized based on the customized portion in yur process:
1) Iteration Error or
2)Tasks Error or
3)Work Type Error.

if you want to produce this error ,Do the following:

1) Open Your process.

2) Delete and modify the existing iterations.

3) Upload your Modified Process.

4) Try to create a project using this Process Template,and you will get this error :

Click on the Log File,The first exception is :

—begin Exception entry—Time: 2007-05-30 11:50:22ZModule: Work Item TrackingEvent Description: TF26214: Cannot save the work item. Fields with errors: Iteration Path,IterationIDException Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationExceptionException Message: TF26202: Validation failed. Field ‘Iteration Path’ not supported.Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreValidate() at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreBatchSave() at Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveHelper.BatchSave(WorkItem[] items)— end Exception entry —

The Fix for this problem, The Editor doesn’t change the other files which use the old values and when the TFS try to create the project it searchs for the old values which is not exist on the updated xml file.

This error usually happens on the “workitems.xml” which conatains a default tasks for each project,if you see the below work item :

<field value="$$PROJECTNAME$$\Iteration 0“/>

Iteration value is wrong which makes this problem happen when you create new project in the TFS.

You might face the problem with Other customized items on the TFS.

Hope this helps.

Moustafa arafa

Deploy AJAX ASP.NET Application

Hi Folks,

when you try to deply AJAX ASP.Net application make sure ofthe following :

1) on IIS,the web site select 2.0.

2) on IIS,Make sure the Execute Permssion under Home Directory tab is Scripts Only.

3) AJAX Runtime should be installed on the production since it doesn’t contains the extedability dlls used by ajax such as System.Web.Extensions.dll.

see the below error if you didnt install the AJAX Runtime on the production.

Moustafa arafa

Enable ATLAS/AJAX on your ASP.Net 2.0 Application

Hi Folks,

In This post i want to change the type of my posts by submitting ASP.NET post instead of long period of TS posts ;),I will describe the steps you need to enable AJAX on an Existing ASP.Net 2.0 application not a new ASP.NET AJAX Enable Application.

In Case you want to enable AJAX on your existing 2.0 application,first you have to install ajax 1.0 extensions from website,the download link:

Then after install it,do the following steps :

1) Add reference to ajax control kit DLL file to your project “AjaxControlToolkit.dll”,you can find it once you install the Toolkit on the Sample Website on the installation path.

2) Very Important : Change your web.config since your project will not work,copy & paste the sections from the existing web.config file.

you can get a sample web.config by creating new ASP.NET AJAX Enabled WebSite.

With above 2 steps,your project will run without any errors,proceed to the following to drag & Drop AJAX Controls visually.

3) On Toolbox window,add new tab,name it AJAX Control.

4) Open the created tab and right click on the tab,and select Choose Items from the context menu.

5) Borwse to the location of “AjaxControlToolkit.dll”.

Now,you have all AJAX Controls on the toolbox on VS 2005……….. ENJOY !!!!!!!!!!!!!!

NOTE : Script manager should be added on the Top of each page you are using AJAX Controls or you can put it once on Master Page.

Enjoy with building Rich Internet Application RIA πŸ™‚

This steps is valid only on AJAX v1.0 with VS 2005 ONLY,and doesnt consider using Orcas since it has AJAX as a built in features.

Moustafa arafa

SnagIt- New Tool for TFS – Capturing Bugs on the Screen

Hi Folks,
New Tool has been released for TFS Called “SnagIt”;SnagIt’s output for Team System lets you add screen captures to new or existing bugs with a single click. Stop trying to describe problems with tons of text – just show them. Plus, eliminate the hassle of attaching images!

COOOooool Tool download it now :

Moustafa arafa

change email address for TFS email alerts

Hi Folks,
TO change the email address for email alerts in TFS,do the following:
1) Go to IIS Manager on TFS Server.
2) Expand TFS website,Right Click on Services virtual directory.
3) on ASP.NEt Configuration you will find email notification key “emailnotificationfromaddress”.

Hope this helps.

Moustafa arafa

Max Attachement Size in TFS

Hi Folks,

In TFS the maximum attachement file size is 4,096 kilobytes by default,if you want to increase the file size, open your browser and put this URL :

<a href="http://:8080/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx?op=SetMaxAttachmentSize”>http://<>:8080/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx?op=SetMaxAttachmentSize

you will find a webservie you can put the max. file size and click on invoke…….

Cool Tip in TFS πŸ™‚

Moustafa arafa

TFS Security In Deep 1

Hi Folks,
This Post is to identify Security Tips in TFS best Practices :

1) Implicit & Explicit Permission in TFS:
When you try to manage Group Permission on TFS Server (Server Level or Project Level) you have 2 check boxes to allow/deny the permission.
when you check either allow/deny this is called you explicitly set the permission set.
when you leave the checkboxes un check this called your Implicitly Deny this Permission to the selected group.

2) Inheritence in TFS Security Permission Set:
In TFS,if the user belongs to 2 Groups and one Group has a permission to Create New Project and other doesnt have,The user will inherit this permission from one of those groups.
Note also that the permission on WSS or Reporting Services is not inherited in TFS.

3) Manage The project Lead Permissions to on SQL Reporting Services:
Navigate to this URL :
http:// application-tier /Reports/Pages/Folder.aspx
Select Properties,Click on New Role Assignement,Put the Username (User Account Username) of the Project Lead and select Content Manager then OK

4) Manage Project Lead Permissions on WSS :
From Team Explorer Window,Select Project Portal, Site Settings,Manage Users, Add the username then select either Administrator Role then click add.

Hope This Tips helps πŸ™‚

Moustafa arafa