Developer Workstation Installation

Open 'Developer Workstation Installation' wizard, choose your scenario to see more provider-related information of the installation manual.

Configure the 404 and 500 Pages

Step 1: Open the 'web.config' of the Sana Commerce frontend project in any text editor.

Step 2: Locate the 'customErrors' section in the 'system.web' configuration section:

<customErrors mode="RemoteOnly">
    <error statusCode="404" redirect="~/PageNotFound.aspx"/>
    <error statusCode="500" redirect="~/PageError.aspx"/>
</customErrors>

Step 3: Configure the 404 & 500 'statusCodes'. Also, set the mode attribute of the 'customErrors' node to 'RemoteOnly' to make sure the customer 404 & 500 pages are shown to external visitors. Local visitors, who visit through the web browser on the server, will be presented the error messages for debugging reasons. 

Now you need to configure the custom errors pages in IIS:

Step 1: Open the IIS Manager ('Start > Administrative Tools').

Step 2: Select your website, locate the 'Error Pages' in the IIS 'Features' list and click it.

Step 3: Double click the '404' page.

Step 4: Select 'Execute a URL on this site' and enter '/PageNotFound.aspx' in the 'URL' field.

Step 5: For a 500,100 page, you need to use the 'Add option in the 'Actions' block.

Step 6: Enter '500.100' in the 'Status code' field and '/PageError.aspx' in the 'URL' field:

Configuring Custom Error Pages in IIS 7