Hello
I have an ASP.NET 2 intranet application written in C#. I use Active
Directory authentication and parts of the application uses AJAX.
From time to time (about once every 200-300 accesses at least) I get the
following error on the server:
Event code: 3005
Event message: An unhandled exception has occurred.
....
Exception information:
Exception type: ArgumentException
Exception message: An entry with the same key already exists.
....
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Collections.Specialized.ListDictionary.Add( Object key, Object value)
at System.Web.UI.ClientScriptManager.RegisterScriptBl ock(ScriptKey key,
String script, ListDictionary& scriptBlocks, ArrayList& scriptList, Boolean
needsScriptTags, Boolean& inScriptBlock)
at System.Web.UI.ClientScriptManager.RegisterScriptBl ock(ScriptKey key,
String script, ClientAPIRegisterType type)
at System.Web.UI.ClientScriptManager.RegisterClientSc riptInclude(Type
type, String key, String url)
at
System.Web.UI.ScriptRegistrationManager.RegisterCl ientScriptInclude(Control
control, Type type, String key, String url)
at
System.Web.UI.ScriptManager.RegisterClientScriptIn cludeInternal(Control
control, Type type, String key, String url)
at System.Web.UI.ScriptManager.RegisterScripts()
at System.Web.UI.ScriptManager.OnPagePreRenderComplet e(Object sender,
EventArgs e)
at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The page that is throwing this error has an AJAX tab control in it, uses a
master page and has the usual sprinkling of asp.net controls. There is no
code behind on the page.
Any ideas on why I'm getting this error, or a pointer in the right
direction, would be much appreciated.
Zinon