0% found this document useful (0 votes)
16 views

Carrier Path: A) Code B) Database C)

This document provides instructions for restoring a database backup file and connecting a project to the restored database in SQL Server Management Studio. The key steps are: 1) Restore the .bak database backup file located in the DataBase folder to create a new database. 2) Open SQL Server Management Studio, select the server and login with sa credentials. 3) Open the project located in the Code folder in Visual Studio. 4) Update the connection string in the web.config file to point to the newly restored database. 5) Set the start page and run the project.

Uploaded by

Shashi Campher
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Carrier Path: A) Code B) Database C)

This document provides instructions for restoring a database backup file and connecting a project to the restored database in SQL Server Management Studio. The key steps are: 1) Restore the .bak database backup file located in the DataBase folder to create a new database. 2) Open SQL Server Management Studio, select the server and login with sa credentials. 3) Open the project located in the Code folder in Visual Studio. 4) Update the connection string in the web.config file to point to the newly restored database. 5) Set the start page and run the project.

Uploaded by

Shashi Campher
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Carrier Path

Copy The Folder of Carrier Path in Your System.


In the folder there are 3 sub folders:
a) Code
b) DataBase
c) Doc

Restore the database backup file(.bak file) which is present


in folder(b).
Open the SqlServer Management Studio as follows:
Click on Start

Click on Programs
Go to Microsoft Sql Server 2005
Click on SQL Server Management
Studio

Select Server Type : DataBase Engine


Server Name: System Name/localhost/.
Login:sa
Password: Type the password as mentioned at the time of
Installment.
Click on Connect.
Extract /click on + symbol of Databases of Object Explorer.
Right click on the Databases folder.
Click on New Database..
Write the Database Name. Then click on ok
Now the database has been created with the specified name.
Right click on the newly created database and go to Tasks
and Restore and click on Database..
Select the radiobutton From Device:
Click on Browse button..

Click on Add
Select Files of the Type :All Files

Select .bak file from folder (DatabaseDCMS) and click on Ok.


Check the checkbox appear at the down
column of Restore.
Click on Options which appear on the
Top of LeftHandside
Check/Select the First Check
Box(Overrite the Ex..)
Click on Ok.

To Open Project:
Click on Start
Click on Programs
Microsoft Visual Studio 2005 /2008.

Click on file and Click on Open and select WebSite.


Click on File System.
Go to Location where this project has been copied and select
the folder(a)/which starts with code then click on open.
Change the configuration settings as follows:
Double click on the file web.config file in solution explorer.
In <connectionStrings>
In <add name="CareerPathConnectionString">
Change Database=Newly created database name
Data source=System Name/IP address/./localhost.
Password=sql server password given at the time of
installment and save.
Right click on Default.aspx file and click on set as start
page
Press f5 or click on debug.

You might also like