[Mono-list] New codebehind issue

David B. Bitton david@codenoevil.com
Mon, 06 Jan 2003 12:40:40 -0500


Thanks for the quick fix.  This is the next error:

---

System.Web.HttpException:  ---> System.ArgumentException: Key 
duplication when adding: ez
in <0x0026d> 00 System.Collections.Hashtable:PutImpl (object,object,bool)
in <0x0001c> 00 System.Collections.Hashtable:Add (object,object)
in <0x00050> 00 
System.Web.Compilation.AspComponentFoundry:RegisterFoundry 
(string,string,string,string)
in <0x006ac> 00 System.Web.Compilation.AspGenerator:RegisterDirective 
(System.Web.Compilation.TagAttributes)
in <0x00653> 00 System.Web.Compilation.AspGenerator:ProcessDirective ()
in <0x00093> 00 System.Web.Compilation.AspGenerator:JustDoIt ()
in <0x00011> 00 System.Web.Compilation.AspGenerator:ProcessElements ()
in <0x00128> 00 System.Web.Compilation.PageCompiler:GenerateSourceFile ()
in <0x0004f> 00 System.Web.Compilation.PageCompiler:GetCompiledType ()
in <0x000e8> 00 System.Web.Compilation.PageCompiler:CompilePageType 
(System.Web.UI.PageParser)
in <0x0000e> 00 System.Web.UI.PageParser:CompileIntoType ()
in <0x0004e> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance 
(string,string,System.Web.HttpContext)
in <0x0004c> 00 System.Web.UI.PageParser:GetCompiledPageInstance 
(string,string,System.Web.HttpContext)
in <0x00014> 00 System.Web.UI.PageHandlerFactory:GetHandler 
(System.Web.HttpContext,string,string,string)
in <0x001a5> 00 System.Web.HttpApplication:CreateHttpHandler 
(System.Web.HttpContext,string,string,string)
in <0x00094> 00 .CreateHandlerState:Execute ()
in <0x00092> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
--- End of inner exception stack trace ---

---

There are multiple controls on the page that use the "ez:" prefix.

Gonzalo Paniagua Javier wrote:
> El lun, 06-01-2003 a las 05:39, David B. Bitton escribió:
> 
>>Gonzalo's fix took care of my initial codebehind problems, but a new one 
>>has come up.  I went back to the original code I was attempting to run, 
>>and now I get
> 
> 
> Fixed in CVS.
> 
> -Gonzalo
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


-- 
David B. Bitton
david@codenoevil.com
www.codenoevil.com

Code Made Fresh Daily™