george sibbald (11/20/2013)
are you connected to the master database when you issue the command?
as this has not received a response what I meant by this was you must be in the context of the master database when issuing the command
alter database [dbname] Set Partner Failover
that is what the error message
Msg 5001, Level16, State 1, Line 1
User must be in the master database.
is referring to
---------------------------------------------------------------------