c# - Exception when I try to create Database on my test, using TeamCity for CI -
in 1 of test need create sql express database , populate it.
it's run fine on machine when teamcity tries run same test throws following exception:
test(s) failed. system.reflection.targetinvocationexception : exception has been thrown target of invocation. ----> system.data.sqlclient.sqlexception : create database permission denied in database 'master'.
what causing this?
in enterprise manager-> data base
richt click on master db select properties
, add permission
Comments
Post a Comment