Re: Create Certificate Error - Service Broker Question
- From: "Roger Wolter[MSFT]" <rwolter@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 May 2006 10:51:18 -0700
If this is indeed your code then I assume the problem is you are creating
user: Server_2_DB2_User
and assigning authorization to: Server_2_DB_2_User_Cert
Notice DB2 != DB_2
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Philip" <Philip@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:98B7D74D-8C2E-4C7D-83ED-C5A0550ABE55@xxxxxxxxxxxxxxxx
I'm trying to create a certificate for use with a remote service broker
instance.
Code:
create login sbLogin
create user Server_2_DB2_User from login sbLogin
create certificate Server_2_DB_2_User_Cert
authorization Server_2_DB_2_User
from file = 'c:\Server_2_DB_2_User_Cert.cer'
The last statement returns the following error:
Msg 15151, Level 16, State 1, Line 2
Cannot find the user 'Server_2_DB_2_User', because it does not exist or
you
do not have permission.
Note I am a sys admin on the sql server 2005 instance.
Please help.
.
- Prev by Date: Changing login for dbo object (SQL Server 2000)
- Next by Date: Re: Changing login for dbo object (SQL Server 2000)
- Previous by thread: Changing login for dbo object (SQL Server 2000)
- Next by thread: Sql Server services
- Index(es):