January 11, 2009

Installing Interprise Suite and ASPDotNetStorefront

Filed under: General news — Tags: , , — Webopius @ 4:26 pm

Webopius have recently done a standalone install of the Interprise Suite with ASPDotNetStorefront on Windows XP and we thought it would be helpful to write an install guide to complement the existing install instructions.

The official install guide for Interprise Suite with ASPDotNetStorefront

For our install, we were following the ASPDotNetStorefront for Interprise Suite installation guide last updated on 24th January 2008.

Allow Time for this

This can be a long install process. I would recommend allowing up to 2 hours – more if you have to download the components.

Interprise Suite System Requirements

Step 1 of the process is to make sure that your system is running the correct components to support web based access (ASPDotNetStorefront) with a database backend. We were running a standalone test system and our system was configured with:

Windows XP Professional with Service Pack 2
Microsoft Internet Information Services v5.1
Microsoft SQL Server 2005 Express Edition
Microsoft SQL Server Management Studio Express
Microsoft .Net 3.5 Service Pack 1
Microsoft Web Service Enhancements 3.0
Microsoft Installer 4.5

Note, this differs from the official install guide in four areas:

1. The .Net Service Pack
2. The Web Service Enhancements
3. The Microsoft Installer version
4. SQL Server Management Studio express

SQL Server Management Studio is required for configuring the database. The other files are probably different due to these being the latest versions and as we installed the other components such as SQL Server Express, it insisted we needed these versions.

If you run the Interprise installer without having installed these components first, it will offer to install them for you. Be aware though that the installer doesn’t come with these products pre-loaded and will download the software during the installation phase. We found it much better to install them first.

Download ASPDotNetStorefront with Interprise Suite

Having configured your system, you can now download and unzip the Interprise Suite zip file into a temporary directory on your hard drive. This file contains installs of Interprise Suite and ASPDotNetStorefront.

Start the Interprise Install

Having unzipped the files into a directory, if you navigate to this directory you should see a folder called something similar to “Interprise Suite 2007 Standard Edition (SP4)”, within this folder you will see an icon that looks like a globe called “Interprise Suite 2007 Standard Edition (SP4) installer” or similar.

Double click on this icon to start the Interprise Suite installation.

The installer will now check for all the required software. Now, as long as you have installed IIS, SQL Server Express 2005 as detailed previously you should not exprience any issues here.

Install Process

Having checked the software you should be presented with the license agreement. Read it and if you are happy click “I accept…”. Then click the “next>” button.

Now a screen will appear asking you to back up your previous web store. Once you have done this, check “I confirm…” and click the “next>” button.

Next a screen will ask you to choose which component you want installed. In our case, we chose the Client Component, eCommerce Component and just the Demo Company United Kingdom server component.

Next, the SQL Server screen will be shown. At this stage you should already have a SQL Server Express instance available so choose ‘Use an existing installation of SQL Server’ and click the “Next>” button. You will now be asked for the SQL Server login details to allow Interprise Suite to connect to SQL Server. Complete these details for you system and click the “Next>” button.

Finally, you will be asked to choose an installation directory (usually C:\Program Files\Interprise Solutions\Interprise Suite 2007). Change this if needed and click “Next>”. The system is now ready to complete the phase 1 install and you can click “Next>” to start this.

Post Interprise Suite Installation Steps

The copying and install of the Interprise Suite files will take some time. Once it is complete you can click the “Finish” button.

If you are reading the installation guide, there is a slightly ominous statement that setup if “far from over yet”. That is certainly true.

Install ASPDotNetStoreFront files

Having installed interprise, the next step is to copy and configure the ASPDotNetStorefront (ASPDNSF) files. To do this, locate the unzipped files you prepared earlier in the process and locate the “AspDotNetStorefrontIS” file. You need to unpack this into a directory for your store.

As ASPDNSF is a web application, we installed it directly into the c:\Inetpub\WWWroot directory as we are just running a local instance. This way it is the default web site on the machine and the steps in the install guide about virtual directories can be ignored and you can skip steps 1 to 7 of this part of the official install guide.

Configuring ASPDotNetStorefront

You now need to configure the web store. Launch Internet Information Services (usually in Control Panel -> Administrative Tools). Navigate to Web Sites to find the store (probably called Default). Right click and choose properties.

Choose the “Home Directory” tab and make sure that Read, Log Visits and Index this resource are checked.
Choose the “Document” tab and make sure there is an entry for “default.aspx”.
Now click OK.

Now within IIS, look for the “images” folder within your website, right click it and choose properties.
In the “Directory” tab, make sure that Read, Write, Log Visits and Index this Resource are checked.
Click OK.

Do the same as above for the “Download” and “CustomPlugin” directories.

Configure the Database

Launch SQL Server Management Studio and right click on the name of your SQL Database instance. Click properties. Choose “security” from the list on the left. Choose “SQL Server and Windows Authentication Mode” on the right and click OK.

Now, within SQL Server Management Studio, connect to one of your Interprise databases. On our system, we have two Interprise databases, one called “ISSIDEMOUK” and another called “ISSIMODEL”.

Now, click File->Open and locate the “update.sql” file that you should find within the db directory of your ASPDNSF installation (your website files). Choose the correct database name in the toolbar (to the left of ! Execute. Now click “! Execute”. This will update your Interprise database to support ASPDotNetStorefront.

Repeat the above process against any other Interprise databases you have installed.

Create a database user

You now need to create a user to access Interprise and the ASPDNSF data.

Within SQL Server Management Studio, click “Security” in the left list. Then “Logins”. Right Click over “Logins” and select “New Login…”.

Give the new user a name, choose “SQL Server authentication” and de-select “Enforce password policy”.

Now choose “User Mapping” from the list on the left. Choose the Interprise databases you wish this user to have access to. For each database, select the “db_Owner” option. Now click OK.

Configure Interprise Suite

We’re getting close to the end of the install. We now have to configure Interprise to recognise the web site you have just created. From the Windows Start menu, click “All Programs -> Interprise Solutions -> Interprise Suite 2007 Standard Edition -> Interprise Suite 2007 Standard Edition”. This will launch Interprise.

Sign in with your Interprise user code and password, NOT the username/password we just created.

Now navigate to the e-commerce module (800). Usually shown with a shopping cart icon at the bottom of the left menu. Choose “Tools -> Web Store”.

You should now see Web store code WEB-000001. Double click on this name to show the configuration panel for the web store.

Change the URL and Web Service URL to match your recent web installation. For example, on our locally installed system they were:

URL: http://localhost/
Web Service URL: http://localhost/storefrontservice.asmx

You can come back to this page later to change other details but we recommend you get the site working first.

Click “Save and Close”

Configure the connection

Now you need to tell ASPDotNetStorefront how to connect to Interprise.

From the Windows Start menu, click “All Programs -> Interprise Solutions -> Interprise Suite 2007 Standard Edition -> Management Tool -> Configuration Tool”. This will launch the configuration manager.

Use File->Open and locate the ASPDotNetStorefront Web.config file (located in the web site directory).

Enter the connection details as required and click “Save and Close”.

Test the store

Finally, you should be able to test your store by opening Internet Explorer and navigating to “http://localhost” (assuming you have done a local install as we did). If successful you will see your Interprise Suite eCommerce store.

If not, Webopius would be happy to help all we can. You can contact us here.

  • Tags