Mogens Hansen wrote:
>
http://products.lowepro.com/Catalog/DisplayImage.aspx?ImgURL=http://products.lowepro.com//CatalogImages/18-1936-IMG4L.jpeg&Title=DryZone%20Rover
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="CommerceServices"
SubscriptionId="{SUBSCRIPTION_GUID}"
CartKey="ShoppingCartKey" AffiliateKey="AffiliateKey"
Expires="24"></Settings> </ClientConfig>
...
<connectionStrings>
<add name="CommerceService"
connectionString="
http://localhost/ecfwebservices/eCFCommerceService.asmx"/>
</connectionStrings>
</configuration>
Error Message:
System.Configuration.ConfigurationErrorsException: An error occurred
creating the configuration section handler for IgnFacadeConfig: Index was
outside the bounds of the array. (C:\Lowepro\publish\web.config line 406)
---> System.IndexOutOfRangeException: Index was outside the bounds of the
array. at System.Array.Clear(Array array, Int32 index, Int32 length) at
System.Collections.Generic.SortedList`2.Clear() at
Unicorn.eComComponents.FacadeLayer.Configuration.FacadeConfig.Create(Object
parent, Object configContext, XmlNode section) at
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionImpl(RuntimeConfigurationRecord
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader) at
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionWithRestrictedPermissions(RuntimeConfigurationRecord
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader) at
System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean
inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader) at
System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean
inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader, String filename, Int32 line)
--- End of inner exception stack trace --- at
System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys,
SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord,
SectionRecord sectionRecord, Object parentResult) at
System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean
getLkg, Boolean getRuntimeObject, Object& result, Object&
resultRuntimeObject) at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean
getRuntimeObject, Boolean requestIsHere, Object& result, Object&
resultRuntimeObject) at
System.Configuration.BaseConfigurationRecord.GetSection(String configKey,
Boolean getLkg, Boolean checkPermission) at
System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at
System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String
configKey) at System.Configuration.ConfigurationManager.GetSection(String
sectionName) at
Unicorn.eComComponents.FacadeLayer.Configuration.FacadeConfig.Init() at
Unicorn.eComComponents.FacadeLayer.Engine.PipelineManager.ExecutePipeline(ContentProcessor
processor, IList`1& errors) at
Unicorn.eComComponents.FacadeLayer.SiteNodeManager.CreateSiteNodes(SiteNodeLookupRequest
request, IList`1& errorArray) at
Unicorn.eComComponents.FacadeLayer.SiteNodeManager.SiteNodeLookup(SiteNodeLookup
lookup) at
Unicorn.eComComponents.ClientLib.ClientCatalog.LookupCategories(Int32[]
categories, String[] responseGroups, ErrorsError[]& errors)
--
Med venlig hilsen - Niels Riis Ebbesen
http://www.niels-ebbesen.net - grafiker, fotograf & webdesigner
http://www.photo-gallery.dk - Skandinaviens største fotoarkiv
http://home3.inet.tele.dk/elgo - Links til alverdens søgemaskiner