database.dbproj deploy

cant login to sql server when deploying .dbproj via teamcity : error Deploy01234: Login failed for user '...'.
Here http://devnet.jetbrains.net/message/5265779#5265779 it was said to check build agent service permissios - it has admin access on build machine. Any others suggestions?

0
3 comments

Hi Victor.

The account needs rights over SQL database.
Try to logon interactivelly to the account used by TeamCity agent, and run MSBuild manually right from agent's work folder.

Michael

0
Avatar
Permanently deleted user

I did nothing but after rebooting the agent service it worked well. Is it a miracle ? Thanks anyway.

0

That may happen if you add an account to a group in Active Directory - membership in global and universal groups is stored in security token and built on logon/service start.

0

Please sign in to leave a comment.