Skip to content

Commit 0dbd478

Browse files
authored
Merge pull request #721 from mardukbp/patch-2
SQL Server authentication must be enabled for the example to work
2 parents db2574d + b6cc50d commit 0dbd478

File tree

1 file changed

+6
-4
lines changed
  • samples/features/security/contoso-clinic

1 file changed

+6
-4
lines changed

samples/features/security/contoso-clinic/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,17 @@ This project has adopted the [Microsoft Open Source Code of Conduct](http://micr
3030
## Setup
3131
### Set up the Demo Database
3232
1. Clone/Download the repository
33-
2. Import the *Clinic* database
34-
+ Open SSMS and connect to your SQL Server 2016 instance
33+
2. Open SSMS and connect to your SQL Server 2016 instance
34+
+ In Object Explorer right-click on the server instance and select Properties. In the Security tab set Server authentication to SQL Server and Windows Authentication. Close the Properties window.
35+
+ In Object Explorer right-click on the server instance and select Restart.
36+
3. Import the *Clinic* database
3537
+ In SSMS, right-click on *Databases* in Object Explorer and select *Import Data-tier Application...*.
3638
+ Locate your copy of the bacpac file, located in the */setup* folder.
3739
![Import Data-tier Application Wizard](img/import-bacpac.png)
3840
+ Complete the steps of the wizard.
39-
3. While connected to your database (master) via SSMS, execute [setup/Create-Application-Login.sql](setup/Create-Application-Login.sql) link.
41+
4. While connected to your database (master) via SSMS, execute [setup/Create-Application-Login.sql](setup/Create-Application-Login.sql) link.
4042
+ Before running the script, create a password for the `ContosoClinicApplicaation` user.
41-
+ This script creates a login and user, assigns `datareader` and `datawriter` permissions, and gives several Always Encrypted specific permissions to the `ContosoClinicApplication` user
43+
+ This script creates a login and user, assigns `datareader` and `datawriter` permissions, and gives several Always Encrypted specific permissions to the `ContosoClinicApplication` user
4244

4345
### Modify and Set up the Sample Application Project
4446
1. Start Visual Studio and open the Contoso Application solution file- located in /src.

0 commit comments

Comments
 (0)