July 23, 2010 at 3:42 am
I'm trying to integrate database unit tests into the build process of a VS team project. The build runs on a dedicated build server. The unit tests start running but they fail with an exception ('Login failed for user XY').
I think the problem might be that the password I store in Test > Database Test Configuration > Edit Connection is not stored anywhere in the project configuration files, so it is not copied to the build server during the build. The connection string in the test project's app.config only contains the User Id, and adding the password there does not help either.
How can I specify the password so that the tests can login successfully on the server too?
I use Visual Studio 2005 with the Team Edition for Database Professionals add-on and SQL server 2005.
Viewing 0 posts
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy