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.ArgumentException: Parameter is not valid. at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement) at Mediachase.eCF.BusLayer.Common.Util.ImageGenerator.CreateImageThumbnail(Stream stream, String contentType, Int32 height, Int32 width, Boolean stretch) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\BusinessLibrary\Common\Util\ImageGenerator.cs:line 25 at Mediachase.eCF.BusLayer.Common.Util.ImageGenerator.CreateImageThumbnail(Byte[] data, String contentType, Int32 height, Int32 width, Boolean stretch) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\BusinessLibrary\Common\Util\ImageGenerator.cs:line 18 at Mediachase.eCF.BusLayer.Common.Util.Helper.GetCachedImageUrl(ObjectMetaField metafield) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\BusinessLibrary\Common\Util\Helper.cs:line 103 at Mediachase.eCF.BusFacade.Engine.ServicePipeHelper.PopulateMetaAttributes(ArrayList attributes, ArrayList files, ArrayList images, ObjectMetaField[] fields) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\FacadeLibrary\Engine\ServicePipeHelper.cs:line 845 at Mediachase.eCF.BusFacade.Filters.Products.MetaAttributesContentFilter.CreateItem(Item& item, IMetaObject metaObject, String[] responseGroup, IList`1& errorArray) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\FacadeLibrary\Filters\Product\MetaAttributesContentFilter.cs:line 111 at Mediachase.eCF.BusFacade.ContentFilters.PopulateProductItem(Item& productItem, Product product, String currencyCode, String[] responseGroup, IList`1& errorArray) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\FacadeLibrary\ContentFilters.cs:line 42 at Mediachase.eCF.BusFacade.SiteManager.ProcessSiteLookupRequest(SiteLookupRequest request, IList`1& errorArray) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\FacadeLibrary\SiteManager.cs:line 139 at Mediachase.eCF.BusFacade.SiteManager.SiteLookup(SiteLookup lookup) in C:\devlocal\Websites\TAMU_ECF\BusinessLayer\FacadeLibrary\SiteManager.cs:line 93 at Mediachase.eCF.ClientLib2.ClientProduct.LookupProducts(SiteLookupRequestIdType type, Int32[] objects, String[] responseGroups, ErrorsError[]& errors) in C:\devlocal\Websites\TAMU_ECF\PublicLayer\ClientLibrary\ClientProduct.cs:line 116

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