diff --git a/README.md b/README.md index 5dae803..5695db0 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Change the AttachDbFile name to the full path of the BrainWare.mdf file (located ### Database Setup - Start SQL Server Management Studio as Administrator -- Once conntected to your local SQL Server instance -- Right click on the Database node and select attach +- Once connected to your local SQL Server instance +- Right click on the Database node and select Attach - Select the file BrainWare\Web\App_Data\BrainWare.mdf - You can also deploy the project ProjectDB to your local SQL Server instance @@ -36,4 +36,4 @@ Change the AttachDbFile name to the full path of the BrainWare.mdf file (located - Open solution BrainWare\BrainWare.sln - Set the project Web, as the start up project - Press F5 -- Execpted a browser is open with the result of the first order \ No newline at end of file +- Expected a browser is open with the result of the first order diff --git a/Web/Infrastructure/Database.cs b/Web/Infrastructure/Database.cs index dcbe351..2a2bf09 100644 --- a/Web/Infrastructure/Database.cs +++ b/Web/Infrastructure/Database.cs @@ -14,7 +14,7 @@ namespace Web.Infrastructure public Database() { - // var connectionString = "Data Source=(LocalDb)\\MSSQLLocalDB;Initial Catalog=BrainWAre;Integrated Security=SSPI;AttachDBFilename=D:\\BrainWare\\Web\\App_Data\\BrainWare.mdf" + // var connectionString = "Data Source=(LocalDb)\\MSSQLLocalDB;Initial Catalog=BrainWAre;Integrated Security=SSPI;AttachDBFilename=D:\\BrainWare\\Web\\App_Data\\BrainWare.mdf" var connectionString = "Data Source=LOCALHOST;Initial Catalog=BrainWare;Integrated Security=SSPI"; _connection = new SqlConnection(connectionString);