9.5.1.0
541 201 9965 Email Website
Contents
Search:

Home > Installation > Installation - Windows Vista & Windows Server 2008

Installation - Windows Vista & Windows Server 2008

We recommend that you maintain 3 functional types of installs:
  • Live Site: This is your public-facing live site.
  • Staging Site: This is a copy of your live site, usually installed on a separate server. Modifications should be deployed and reviewed here before pushing them to the live site, to protect your live site from issues and down time.
  • Development Site: This is where skinning or code modifications should be made initially. This install is generally the one connected to a source control repository, and is usually installed on one or more developers' local computers. Changes made here should be deployed to the staging site for testing before 'going live'.
Install 3rd-Party Requirements
The following 3 sections cover the installation of 3rd-party software required for the AspDotNetStorefront software to run.

Customers installing the software on shared hosting accounts can skip the directions in this section, as the hosting company will have done these steps for you.

IIS

Windows 7 should come with IIS7 pre-installed, but you may have to enable some features that are not turned on by default. To do so, follow these steps:
  1. First, go to Start > Control Panel, and open Programs and Features


  2. In the panel on the left, click the “Turn Windows features on or off” link.


  3. In the window that opens, ensure that all of the options shown below are checked:
  4. Click “OK” at the bottom, and wait for installation to complete.

.NET Framework 4.5

Windows Vista and Server 2008 should already have this installed. You can verify this by going to Windows Button -> Control Panel -> Programs and Features, then verifying that 'Microsoft >NET Framework 4.5 SDK' is in the list of installed programs. If you are missing it, the download is available at http://www.microsoft.com/en-us/download/details.aspx?id=30653.

Microsoft SQL 2012 Express and Server Management Studio Express

See this page for instructions on installing the database components.

Installing AspDotNetStorefront Software

File Setup

The first step in installing the AspDotNetStorefront software is to get the files in place on your machine.

This guide assumes the files are being installed in the default location for IIS (C:\inetpub\wwwroot\) and that IIS is using the default user for .NET applications (NETWORK SERVICES). Check with your host or server admin to see if other values should be substituted in your case.

  1. Log in to http://license.aspdotnetstorefront.com and click the link to Download the software next to your license. Note: Your licenses page may vary slightly.


  2. The download file is a self-extracting executable. Once the download has completed, double-click the file and follow the prompts to extract the files to your hard drive.

  3. Navigate to the folder you extracted the files into, and open the Web folder. Right-click on the /images folder and click on Properties.

  4. Click the Edit button, then on the next window that opens click Add.


  5. Click Advanced.


  6. Click Find Now, then scroll down in the list of results and highlight the NETWORK SERVICE account (or the IIS_IUSRS group account if Server 2008 with IIS7+), and click OK.


  7. Click OK again.


  8. Make sure that the NETWORK SERVICE (or the IIS_IUSRS group account if Server 2008 with IIS7+) account has Read, Write, and Modify access, then click OK.


  9. Click OK again to close the Web Properties window.


  10. Follow these directions to install a license key file.

Database Setup

Next, you need to create the database that the software will store your data in.

Note: The screenshots in this section are of a standard SQL Server Management Studio install with no extra security measures in place. Your screens may look slightly different depending on the setup and security policies your administrator/host uses.

  1. Open Microsoft SQL Server Management Studio and log in with the credentials given to you by your system administrator or host or that you created while installing SQL Server earlier.


  2. Right-click on Databases in the tree view and click New Database.


  3. Enter a name for the database and click OK.


  4. Click the + next to Databases and your new database should show in the list. Click on it to highlight it, then click File -> Open -> File. Navigate to the /db folder where you just extracted the new storefront files, and double click the ‘Create AspDotNetStorefront Database’ file.

  5. Click the Execute button.

  6. Let the script run until it completes. At the bottom of the window you should see a 'Query executed successfully' message. If you see 'Query completed with errors', scroll through the Messages window and find any text in red, and send it to the Support team in a new ticket for assistance.

  7. Navigate to the /web folder where you extracted the storefront files earlier and open up the web.config file in a text editor (Notepad, Notepad++, etc).

  8. Find this line and change the ‘TBD’ to your own EncryptKey value. The value can be any combination of letters and numbers, and should be at least 10 characters long.

    <add key="EncryptKey" value="TBD" />
  9. Then find the 'DBConn' line and change the following values:

    <add name="DBConn" connectionString="Data Source=xxx.xxx.xxx.xxx;Initial Catalog=AspDotNetStorefront;User Id=user;Password=pwd;Persist Security Info=True;Packet Size=4096" providerName="System.Data.SqlClient"/>
    • Data Source – This is the server/instance name where SQL is installed. If installing on a local server, this will often be simply ‘local’ or the machine name.
    • Initial Catalog – This is the name of the database you just created.
    • User Id – the ID used to connect to the database
    • Password – the password used to connect to the database

    This information was all set up during the SQL Server install you did earlier. If SQL Server was already installed on your computer, your host or server admin will have to provide the information. AspDotNetStorefront cannot tell you what to use for these values.
  10. Save your changes.

IIS Setup

The last step in the install is configuring IIS. Note: Your server admin or host may have to provide additional steps for this portion of the install, depending on the server configuration. These steps cover a basic install.
  1. First, open IIS Manager and expand the tree to view the folders under Default Web Site:


  2. Right-click on Default Web Site, and click ‘Add Application.


  3. Enter a name for your site in the Alias field. This will be the virtual directory name you access the site at on your computer (e.g. http://localhost/myalias).

  4. Click the ‘…’ button and use the browse window to select the folder that contains the web.config file you modified earlier. Click OK.

  5. Right-click the application you just added under Default Web Site, click 'Manage Application', then ‘Browse’. Your site should open in a new browser window – installation is complete! You can access the admin console by adding /admin to the URL opened when you clicked Browse.
Install Demo Data
This part of the install process is optional. The steps below will add ~200 products and some product groups to organize them to your store, along with images for the products. It is recommended to install this demo data if you are looking for some guidance on how to set up products and product groups or just need to set up a store to quickly test something.

The SQL script run below clears out several tables in the database before adding data. Do not run this on a database you have already added anything to that you need to keep.

  1. Open SQL Server Management studio and select the database you created during the install. Click File -> Open -> File and browse to the demo data/db folder wherever you extracted the AspDotNetStorefront software files to on your hard drive. Double click the 'Install Demo Website Data.sql' file.

  2. Click the Execute button to run the script against your new database.

  3. Let the script run until it completes. At the bottom of the window you should see a 'Query executed successfully' message. If you see 'Query completed with errors', scroll through the Messages window and find any text in red, and send it to the Support team in a new ticket for assistance.

  4. Navigate to the demo data/web/images folder on your hard drive, and copy the 2 folders you see there. Then navigate to the /web folder you installed the software to earlier (where the web.config file is), and open the /images folder there. Paste the 2 folders you copied earlier. If you are prompted to overwrite any files, be sure you know what they are before clicking Yes! This likely means that you had set up products previously, and those images will be lost.

  5. Log into the admin console of your new store and click the 'Refresh Store' button. That's it, you should have products on your store!


Actions
Print This Article
Bookmark
Email This Article
Previous Article
Next Article