i had SP1 of visual studio and TFS installed on my server but it didnt work and i had a server failure, so i removed the SP1
after doing this i had this error:
"Team Foundation Server does not exist or is not accessible at this time. Technical information (for administrator):
HTTP code 503: TF30059: Fatal error while initializing web service"
after searching on line i found that there is problem in version number of Microsoft.TeamFoundation.VersionControl.Server.dll file so i changed it to be compatible with TFS version number.
by dowing this the following erro appeared "
Please contact your administrator. There was an error contacting the server.
Technical information (for administrator):
HTTP code 500: Internal Server Error "
after that i removed the TFS and tried to reinstall it on the same server, here i had the following error:
"Error 28922.TFServerStatusValidator: ErrorConnectingToDatabaseWhenImpersonated - Most likely the service account doesn't have permission to access TFS database (because the tool succeeded connecting to the TFS database as the current user - user running setup)"
and here im totaly stuck , coz the user of services can connect to sql server , i used the sevice account to connect to sql server and connection was established successfully.