
tiloprobst asked a question.
Hi there,
I am installing App Broker for the first time on a client's infrastructure, but during installation the installer complains that the database "AppBroker" (which was created for us) exists, but is not valid. The collation setting SQL_Latin1_General_CP1_CI_AS however is set and the service account that I am using is db_owner. When I am using the Browse function he is showing me four system databases and my "AppBroker" database - as expected. But chosing "AppBroker" the install still complains.
So why does this not work? What is a valid database?
As stated above, you should let App Broker Setup create the database for you. Simply delete the existing database and ensure that the installer account has the sysadmin role (or at least dbcreator - and possibly securityadmin if you haven't pre-created the login for the App Broker service account). The installer account will need to be able to create/modify the database, create the service account login (if it doesn't already exist), and assign the service account as db_owner on the new database. If you are using the service account as the installer account, you can always revoke these additional elevated security roles after completing setup.