cancel
Showing results for 
Search instead for 
Did you mean: 

error with sr_add_message_server

Baron
Participant
675

What could be the reason that while calling sr_add_message_server('Cons'), I get the following error:

Unable to connect to server 'dbremote_msgs_server': DirectoryAccess servers require an externlogin

the user Cons is existing and the publish role is granted to him, and a role is created for him!

Accepted Solutions (1)

Accepted Solutions (1)

Baron
Participant

I have two databases:

  1. @@version = '17.0.9.4882': this one had the problem, the procedure sr_add_message_server is defined here with sql security definer
  2. @@version = '17.0.9.4803': this worked fine, the procedure sr_add_message_server is defined here with sql security invoker

Changing the sql security to invoker has solved the problem in the first database.

VolkerBarth
Contributor
0 Kudos

Wow, a subtle difference with a drastic effect 🙂

Answers (0)