TF255440: The following account has a SQL Server login, but the login was denied access: lsw\lishewen. The server selected to host the databases for Team Foundation Server is: lswserver. The SQL Server login associated with the user account must be granted access to the SQL Server instance on that server.
解决方法:
首先将你的账号加入sqlserver管理员组(如果是,则不用加)
如security\logins下添加账号 赋予systemadmin,serveradmin权限