Why do I get this error: “Sys.InvalidOperationException: Two components with the same id **** can be added to the application”?
You may get this error if there is more than one Extender with identical BehaviorID existing on the page. All components on the page are maintained in an internal array. When a new component is going to be added, its ID (which is the exact value of BehaviorID) will be checked against the array to see if it’s already occupied. This exception will be thrown if it’s already there. This usually happens when working with Data presentation controls (GridView, DataList, etc.). If there is an Extender with specified BehaviorID sits in the template, multiple instances of it will be generated. So, the exception occurs. Related threads: http://forums.asp.net/t/1127745.
Related Questions
- For application of Value Added Services, what is the minimum subscription period? Will I be charged if I terminate any of the services?
- Why do I get this error: "Sys.InvalidOperationException: Two components with the same id **** can be added to the application"?
- Ive added FM3 to my IPDriven application, and now I get a Memory Block freed twice error?