Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
39 views4 pages

User Manual

This document provides instructions for setting up a development environment for a .NET application that connects to a SQL Server database. It includes steps to enable mixed-mode authentication in SQL Server, enable IIS for debugging, setup the database by running SQL scripts, and configure the connection string in the application's web.config file.

Uploaded by

mikoy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views4 pages

User Manual

This document provides instructions for setting up a development environment for a .NET application that connects to a SQL Server database. It includes steps to enable mixed-mode authentication in SQL Server, enable IIS for debugging, setup the database by running SQL scripts, and configure the connection string in the application's web.config file.

Uploaded by

mikoy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

User manual

Pre-requisites

1. User must have visual studio 2017 with “.NET desktop development”,” ASP.NET and web
development”, “Data storage and processing”, “.NET Framework 4.7.2 SDK “and “.NET
Framework 4.7.2 targeting pack” installed
2. User must have Microsoft SQL server 2017, SQL Server Configuration Manager 2017 Microsoft
SQL Management Studio 2017 installed
3. User must have a web browser installed.

Enable mix-mode login in SQL

1. Open SQL Server Management Studio Express.

2. Choose Windows Authentication from the Authentication drop down list.

3. Click Connect to open the Microsoft SQL Server Management Studio Express window.

4. Right-click the SQL instance and choose Properties to open the Server Properties - window.

5. Click Security on the left hand side.

6. Choose SQL Server and Windows Authentication Mode on the right side.

7. Click OK to close the Server Properties - window.

8. Right-click the SQL instance and choose Restart.

9. Click Yes to restart the SQL server.

Enable Local IIS for debugging

1. Press the Windows Key and type Windows Features, select the first entry Turn
Windows Features On or Off.
2. Make sure the box next to IIS is checked, and follow the checked boxes in the
images bellow
Setup Database, Tables and Stored Procedure

1. Open and execute “Create Database.sql” in SQL script folder


2. Open and execute “Create tables and stored proc.sql” in SQL script folder
3. Open and execute “Create User.sql” in SQL script folder

Using the solution

1. Run Visual Studio as administrator


2. Open the file by navigating to its folder
3. Open Microsoft SQL Server Management Studio and look for the Server name. it should look like
this:
4. After opening the solution open web.config and edit the highlighted line based on your server
name

<connectionStrings>

<add name="LibrarySystemConnectionString" connectionString="Data Source=DESKTOP-


4R33VPG\SQLEXPRESS;Initial Catalog=LibrarySystem;User ID=Mikoy;Password=123"

providerName="System.Data.SqlClient" />

</connectionStrings>

5. After that you should be able to debug the solution

You might also like