Critical Error: Data Store Unavailable

The data store used by eCommerce Framework cannot be opened.


Resolution:
Please ensure that your data service is online and running and that the connection string in your web.config file is correct and make sure the key specified by
ConnnectionStringName exists in connectionStrings section.

To configure your connection string:

1. Open [Install Location of eCommerce Framework]\PublicStore\web.config

2. Within web.config find the configuration section (highlighted) below:

<configuration>
   <ClientConfig>
        <Settings ConnectionStringName="EcfSqlConnection" SubscriptionId="{SUBSCRIPTION_GUID}" 
CartKey="ShoppingCartKey" AffiliateKey="AffiliateKey" Expires="24"></Settings> 
   </ClientConfig> 
   ...

   <connectionStrings>
        <add name="EcfSqlConnection" connectionString="{connection string to your database}"/>
   </connectionStrings>
</configuration>
Error Message:
System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

  For more information visit http://www.mediachase.com.