diff --git a/samples/features/security/contoso-clinic/README.md b/samples/features/security/contoso-clinic/README.md index 6ca46325..2a6589e4 100644 --- a/samples/features/security/contoso-clinic/README.md +++ b/samples/features/security/contoso-clinic/README.md @@ -31,7 +31,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct](http://micr ### Set up the Demo Database 1. Clone/Download the repository 2. Import the *Clinic* database - + Open SSMS and connect to your SQL Server 2016 instance (or Azure SQL Database instance) + + Open SSMS and connect to your SQL Server 2016 instance + In SSMS, right-click on *Databases* in Object Explorer and select *Import Data-tier Application...*. + Locate your copy of the bacpac file, located in the */setup* folder. ![Import Data-tier Application Wizard](img/import-bacpac.png) @@ -52,11 +52,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](http://micr ``` - + Update the value of the *Data Source* key word in the database connection string to denote your server (either your local SQL Server instance of your logical server in Azure SQL Database) + + Update the value of the *Data Source* key word in the database connection string to denote your server + Make sure the *password* for your application users is correct (matches the password that you configured earlier) + Make sure the *Initial Catalog* value is set to *Clinic* + Save the file diff --git a/samples/features/security/contoso-clinic/setup/Create-Application-Login.sql b/samples/features/security/contoso-clinic/setup/Create-Application-Login.sql index ceba8b96..d1b69747 100644 --- a/samples/features/security/contoso-clinic/setup/Create-Application-Login.sql +++ b/samples/features/security/contoso-clinic/setup/Create-Application-Login.sql @@ -4,6 +4,6 @@ CREATE USER [ContosoClinicApplication] FOR LOGIN [ContosoClinicApplication] EXEC sp_addrolemember N'db_datareader', N'ContosoClinicApplication' EXEC sp_addrolemember N'db_datawriter', N'ContosoClinicApplication' GRANT VIEW ANY COLUMN MASTER KEY DEFINITION TO [ContosoClinicApplication] -GRANT VIEW ANY COLUMN ENCRYPTION KEY TO [ContosoClinicApplication] +GRANT VIEW ANY COLUMN ENCRYPTION KEY DEFINITION TO [ContosoClinicApplication] diff --git a/samples/features/security/contoso-clinic/src/ContosoClinic/Web.config b/samples/features/security/contoso-clinic/src/ContosoClinic/Web.config index 069e77be..62db89ca 100644 --- a/samples/features/security/contoso-clinic/src/ContosoClinic/Web.config +++ b/samples/features/security/contoso-clinic/src/ContosoClinic/Web.config @@ -11,10 +11,9 @@ requirePermission="false"/> - - +