You are on page 1of 3

Shopping Cart

Copy The Folder of Shopping Cart 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 <appSettings>
In <add key="CONSTR">
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.
Click on Solution Explorer
Right click on Project Shopping
Click on Add reference and click on browse tab
Add dll files from the folders
ShoppingCart.BL\ShoppingCart.BL\bin\Debug
ShoppingCart.DAL\ShoppingCart.DAL\bin\Debug

Shopping Cart\Code-Shopping\Bin
Click on ok respectively
Right click on Default.aspx file and click on set as start
page
Press f5 or click on debug.

You might also like