[ Configuration Database ] TF255062: A connection cannot be made to the
following SQL Server Instance: Communited11\Development. Verify that you
have entered the correct name for the server, including the instance
name, that the server you are attempting to
connect to is online, and that you have the required permissions to
connect. If you are attempting to connect to the remote SQL Server
instance, then verify that it is configured to allow remote connections,
that TCP/IP protocol is both enabled and configured
to use port 1433 (default), and that Windows Firewall does not block
this port.
این TFS بعضی وقتها عجب ما را سر کار می گذاره ! دیروز هر کار کردیم که configure اش کنیم نشد که نشد. امروز اومدم سر کار و از یک سیستم دیگر که داشت خوب کار می کرد نگاه کردم دیدم تو security دیتابیس sql server 2008 r2 کاربر Administrator وجود داره ولی تو اون سیستمی که مشکل داشت این user نبود.
شک کردم نکنه از اون وقتی که من کاربر قبلی سیستم و پاک کردم و با administrator وارد می شم این مشکل بوجود اومده باشه رفتم تو اون سیستمی که سر کار گذاشته بود ما را (نگارش فارسی صفر ولی خطم خوبه) با windows authentication اومدم بالا دیدم بعععععععععله مشکل از همینه خودم هم نمی تونستم با اکانت ویندوز بالا بیام حالا Team foundation server که جای خود دارد.
خلاصه اینکه به راحتی با اضافه کردن اکانت جدید که administrator بود و دادن sysadmin بهش مشکل را حل کردم و دوباره به configure کردن TFS پرداختم.
Test if you can login to sql server by windows authentication user, if there is problem in connecting to Sql Server then go to security panel and add the Administrator or the current user account.