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.Configuration.Provider.ProviderException: ImageServiceProvider Failed. Check the writes permissions to the following directory: C:\Websites\Catoma Outdoor\CatomaStore\images\temp at Mediachase.eCF.Providers.FileImageProvider.SaveImage(String name, Image image, String contentType) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\SupportProjects\Providers\ImageServiceProvider\FileImageProvider.cs:line 370 at Mediachase.eCF.Providers.FileImageProvider.SaveImage(String name, Byte[] image, String contentType) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\SupportProjects\Providers\ImageServiceProvider\FileImageProvider.cs:line 325 at Mediachase.eCF.Providers.ImageService.SaveImage(String name, Byte[] image, String contentType) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\SupportProjects\Providers\ImageServiceProvider\ImageService.cs:line 96 at Mediachase.eCF.BusLayer.Common.Util.Helper.GetCachedImageUrl(ObjectMetaField metafield) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\BusinessLayer\BusinessLibrary\Common\Util\Helper.cs:line 109 at Mediachase.eCF.BusFacade.Engine.ServicePipeHelper.PopulateMetaAttributes(ArrayList attributes, ArrayList files, ArrayList images, ObjectMetaField[] fields) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\BusinessLayer\FacadeLibrary\Engine\ServicePipeHelper.cs:line 798 at Mediachase.eCF.BusFacade.Filters.Products.MetaAttributesContentFilter.CreateItem(Item& item, IMetaObject metaObject, String[] responseGroup, IList`1& errorArray) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\BusinessLayer\FacadeLibrary\Filters\Product\MetaAttributesContentFilter.cs:line 71 at Mediachase.eCF.BusFacade.ContentFilters.PopulateProductItem(Item& productItem, Product product, String currencyCode, String[] responseGroup, IList`1& errorArray) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\BusinessLayer\FacadeLibrary\ContentFilters.cs:line 42 at Mediachase.eCF.BusFacade.SiteManager.ProcessSiteLookupRequest(SiteLookupRequest request, IList`1& errorArray) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\BusinessLayer\FacadeLibrary\SiteManager.cs:line 139 at Mediachase.eCF.BusFacade.SiteManager.SiteLookup(SiteLookup lookup) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\BusinessLayer\FacadeLibrary\SiteManager.cs:line 93 at Mediachase.eCF.ClientLib2.ClientProduct.LookupProducts(SiteLookupRequestIdType type, Int32[] objects, String[] responseGroups, ErrorsError[]& errors) in C:\Documents and Settings\mlosapio\My Documents\~Projects\CatomaOutdoor\PublicLayer\ClientLibrary\ClientProduct.cs:line 116

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