New Sql Login on STANDBY Server -


We have installed a log-upding directory on 2 SQL Server 2005 machines. The secondary database is in STANDBY mode. We want to use this secondary server for the reporting purpose, because report viewers will ask this STANDBY database according to their given rights. So we need many users on this secondary server, which have different execution rights on the STANDBY database.

The problem is that after setting up log shipping, we can not give the necessary permissions for the standby database except to read only

Do you have any suggestions?

Thanks, Trump

For some reason, as long as we have a better reporting system Not set, we need to use the standby server for reporting purposes and there is a way to create new users and essentially give the user the spat rights on the standby server. The simplest solution is to create a login on the primary server and select its SID from the master table. Then create the same login with the same SID on the standby database with "sp_addlogin". After that, give the user the necessary rights on the database on the primary server. With the restored transaction log, the executed rights will ship to the standby server. The password must be the same on two servers, so the standby report viewer user can not access the primary server with the same credentials.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -