You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests.NHibernate.Spatial.MsSql2008/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,24 @@ In order to run the tests, a MS SQL Server 2008 instance must be available for c
4
4
5
5
### Installation
6
6
7
-
MS SQL Server 2008 Express with Tools is free and can be downloaded from the [MS website](https://www.microsoft.com/en-us/download/details.aspx?id=22973).
7
+
MS SQL Server 2008 Express with Tools is free and can be downloaded from the [MS website](https://www.microsoft.com/en-us/download/details.aspx?id=30438) (download and install the `SQLEXPRWT_x64_ENU.exe` package).
8
8
9
9
### Configuration
10
10
11
11
Once MS SQL Server 2008 has been set up, it must be initialized for testing:
12
12
13
13
1. Ensure that the "Server authentication" is set to "SQL Server and Windows Authentication mode" (see image below).
2. After changing the authentication mode, the server must be restarted for the changes to take effect (this can be done via the "SQL Server Configuration Manager").
18
18
19
19
3. Add a new `nhsp_test` user, using SQL Server authentication with `nhsp_test` for the password and making sure to untick "Enforce password policy" (see image below).
20
20
21
-

21
+

22
22
23
23
4. Create a new `nhsp_test` database, owned by the `nhsp_test` user (see image below).
24
24
25
-

25
+

26
26
27
-
5. Finally, the `Server=.` part of the connection string in the [app.config](app.config) file should be updated with the name of your server instance, e.g. `Server=hostname\MSSQLSERVER2008`.
27
+
5. Finally, the `Server=.` part of the connection string in the [appsettings.json](appsettings.json) file should be updated with the name of your server instance, e.g. `Server=hostname\MSSQLSERVER2008`.
"_comment": " NOTE: Must specify SQL Server 2012 rather than SQL Server 2008 for the Type System Version attribute (see issue #72)",
4
-
"MsSql2008": "Server=(local)\\SQL2008R2SP2;Initial Catalog=nhsp_test;User ID=nhsp_test;Password=nhsp_test;Type System Version=SQL Server 2012"
3
+
"_comment1": "NOTE: Must specify SQL Server 2012 rather than SQL Server 2008 for the Type System Version attribute (see issue #72)",
4
+
"_comment2": "NOTE: TrustServerCertificate=True required after updating from System.Data.Sql to Microsoft.Data.Sql as Encrypt is now set to true by default; see: https://stackoverflow.com/a/17658821/3628232",
5
+
"MsSql2008": "Server=(local)\\MSSQLSERVER2008;Initial Catalog=nhsp_test;User ID=nhsp_test;Password=nhsp_test;Type System Version=SQL Server 2012;TrustServerCertificate=True"
Copy file name to clipboardExpand all lines: Tests.NHibernate.Spatial.MsSql2012/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,24 @@ In order to run the tests, a MS SQL Server 2012 instance must be available for c
4
4
5
5
### Installation
6
6
7
-
MS SQL Server 2012 Express with Tools is free and can be downloaded from the [MS website]().
7
+
MS SQL Server 2012 Express with Tools is free and can be downloaded from the [MS website](https://www.microsoft.com/en-us/download/details.aspx?id=50003) (download and install the `SQLEXPRWT_x64_ENU.exe` package).
8
8
9
9
### Configuration
10
10
11
11
Once MS SQL Server 2012 has been set up, it must be initialized for testing:
12
12
13
13
1. Ensure that the "Server authentication" is set to "SQL Server and Windows Authentication mode" (see image below).
2. After changing the authentication mode, the server must be restarted for the changes to take effect (this can be done via the "SQL Server Configuration Manager").
18
18
19
19
3. Add a new `nhsp_test` user, using SQL Server authentication with `nhsp_test` for the password and making sure to untick "Enforce password policy" (see image below).
20
20
21
-

21
+

22
22
23
23
4. Create a new `nhsp_test` database, owned by the `nhsp_test` user (see image below).
24
24
25
-

25
+

26
26
27
-
5. Finally, the `Server=.` part of the connection string in the [app.config](app.config) file should be updated with the name of your server instance, e.g. `Server=(local)\MSSQLSERVER2012`.
27
+
5. Finally, the `Server=.` part of the connection string in the [appsettings.json](appsettings.json) file should be updated with the name of your server instance, e.g. `Server=(local)\MSSQLSERVER2012`.
"MsSql2012": "Server=(local)\\SQL2012SP1;Initial Catalog=nhsp_test;User ID=nhsp_test;Password=nhsp_test;Type System Version=SQL Server 2012"
3
+
"_comment": "NOTE: TrustServerCertificate=True required after updating from System.Data.Sql to Microsoft.Data.Sql as Encrypt is now set to true by default; see: https://stackoverflow.com/a/17658821/3628232",
4
+
"MsSql2012": "Server=(local)\\MSSQLSERVER2012;Initial Catalog=nhsp_test;User ID=nhsp_test;Password=nhsp_test;Type System Version=SQL Server 2012;TrustServerCertificate=True"
0 commit comments