Are you running the latest version of the code from the repository (or at least version 1.12?
This sounds like threading error when the resource provider is first loading up when there's heavy load and the static hashtable loads up Not sure about the exact location, but this is one thing I addressed a few months back (I thought) with explicit thread locks on loading the ResourceSet.
+++ Rick ---
First off - thanks for the most useful and well documented tool.
I'm seeing an occasional exception in my web server app log and am wondering if you might have some suggestions for tracking it down.
I took a quick look at the code and it doesn't appear that there is a direct array reference in this method.
Regards,
Nick
Here's an excerpt from the log:
Process information:
Process ID: 5484
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: IndexOutOfRangeException
Exception message: Index was outside the bounds of the array.
Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 11
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Collections.Generic.List`1.Add(T item)
at Westwind.Globalization.DbSimpleResourceProvider..ctor(String virtualPath, String className)
at Westwind.Globalization.DbSimpleResourceProviderFactory.CreateLocalResourceProvider(String virtualPath)
| Rick Strahl West Wind Technologies Where do you want to surf today? | Reader Version: 5.0 |