Gold crashes array bounds error. IIS restart fixes.
Posted: Tue Nov 19, 2013 12:16 pm
We are having a problem that is crashing our Ablecommerce Gold website.
Ablecommerce Gold 7.0.85
Windows Server 2008R2
SQL Server 2012
With version 7, we the had occasional errors that didn't affect anything.
Now, we have high error rates prior to page load and checkout problems.
Sometimes, images show incorrectly.
Sometimes, the final payment page fails.
Other times, the site totally crashes with no pages responding.
Restarting IIS clears the problems.
Using the IIS Dynamic IP Restrictor to reduce the number of hits reduces the frequency of fatal errors.
From the Ablecommerce error log, the relevant problems are similar to:
An error has occured at http://domain.com/Errors/GeneralError.aspx?aspxerrorpath=/Fiber-ST-Cables-
C10731.aspx
Exception: Index was outside the bounds of the array. Stack Trace: at
System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes) at
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at
CommerceBuilder.Utility.LRUCache`2.IndexedLinkedList`1.Add(T value) at
CommerceBuilder.Utility.LRUCache`2.set_Item(TKey key, TValue value) at
CommerceBuilder.Utility.LRUCache`2.AddOrUpdate(TKey key, TValue value) at
CommerceBuilder.Catalog.UrlCache.GetCustomUrl(String requestPath) at
CommerceBuilder.Catalog.DefaultUrlRewriter.a(String A_0) at
CommerceBuilder.Catalog.DefaultUrlRewriter.RewriteUrl(String sourceUrl, String appPath, String host) at
CommerceBuilder.Catalog.DefaultUrlRewriter.RewriteUrl(String sourceUrl) at
CommerceBuilder.Services.HttpModule.b(Object A_0, EventArgs A_1) at
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously
[more complete listings are available if needed. Similar]
Are these errors due to problems with the Custom URL functions?
Fix
AC8-1951 Normal Url Cache and Redirect Service cache are not thread safe
We started Gold development with 7.0.85. This should include the AC8-1951 patch.
I find nothing on the web listing which files of entries are involved with the AC8-1951 fix.
What do we check to confirm that the AC8-1951 patch is active. Was it a change to Web.config?
We have not purchased the Ablecommerce code - yet. We do not know what array bounds are exceeded - or
why.
IIS max concurrent requests is set to default 4294967295. What other IIS, ASP... settings might cause the
problem ?
Thanks
Ablecommerce Gold 7.0.85
Windows Server 2008R2
SQL Server 2012
With version 7, we the had occasional errors that didn't affect anything.
Now, we have high error rates prior to page load and checkout problems.
Sometimes, images show incorrectly.
Sometimes, the final payment page fails.
Other times, the site totally crashes with no pages responding.
Restarting IIS clears the problems.
Using the IIS Dynamic IP Restrictor to reduce the number of hits reduces the frequency of fatal errors.
From the Ablecommerce error log, the relevant problems are similar to:
An error has occured at http://domain.com/Errors/GeneralError.aspx?aspxerrorpath=/Fiber-ST-Cables-
C10731.aspx
Exception: Index was outside the bounds of the array. Stack Trace: at
System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes) at
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at
CommerceBuilder.Utility.LRUCache`2.IndexedLinkedList`1.Add(T value) at
CommerceBuilder.Utility.LRUCache`2.set_Item(TKey key, TValue value) at
CommerceBuilder.Utility.LRUCache`2.AddOrUpdate(TKey key, TValue value) at
CommerceBuilder.Catalog.UrlCache.GetCustomUrl(String requestPath) at
CommerceBuilder.Catalog.DefaultUrlRewriter.a(String A_0) at
CommerceBuilder.Catalog.DefaultUrlRewriter.RewriteUrl(String sourceUrl, String appPath, String host) at
CommerceBuilder.Catalog.DefaultUrlRewriter.RewriteUrl(String sourceUrl) at
CommerceBuilder.Services.HttpModule.b(Object A_0, EventArgs A_1) at
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously
[more complete listings are available if needed. Similar]
Are these errors due to problems with the Custom URL functions?
Fix
AC8-1951 Normal Url Cache and Redirect Service cache are not thread safe
We started Gold development with 7.0.85. This should include the AC8-1951 patch.
I find nothing on the web listing which files of entries are involved with the AC8-1951 fix.
What do we check to confirm that the AC8-1951 patch is active. Was it a change to Web.config?
We have not purchased the Ablecommerce code - yet. We do not know what array bounds are exceeded - or
why.
IIS max concurrent requests is set to default 4294967295. What other IIS, ASP... settings might cause the
problem ?
Thanks