I created a test system on my PC in order to backup databases asynchronously using Service Broker.
the backup procedure is executed through such a queue:
CREATE QUEUE [dbo].[MyQueue] WITH STATUS=ON , RETENTION=Off , ACTIVATION (STATUS=ON, PROCEDURE_NAME=[dbo].[MyBackupProc], MAX_QUEUE_READERS=1, EXECUTE AS Owner) ON [PRIMARY]
The backup succeeds as far as it concerns the database on which the system is installed,
and fails in the other databases.
When I install the system on the other database - it succeeds now on it, and fails in the previous.
As I have already mentioned - everything was tested on my pc, no special definitions, both database were created using a simple "Create Database MyDB;" command, I'm the only user (and apparently- the sa), etc.
The backup commands (Full) always succeed when I execute them directly.
Microsoft SQL Server 2012 Standard (64-bit) And Microsoft SQL Server 214 CTP2 Enterprise Evaluation (64-bit)
Do you have any solution or explanation to the problem?