Last post Apr 26, 2005 12:34 PM by leep2
Apr 26, 2005 09:39 AM|leep2|LINK
A critical error has occurred.
The method or operation is not implemented.
I just wanted to make the comment that that has to be the most (at least close to it) generic message I've ever seen. It doesn't tell me where it came from or give me the slightest hint where to start hunting it down.
Now I can't imagine I'm the first to hit this error, but I tried searching the forums here method or operation is not implemented" and came back with 100+ results, none of which seemed to have that phrase in them, so I'm posting this now. As soon as I hunt
down the cause of the error, I'll post the solution here in hopes that the next person who hits it can pick up a hint as to where to start looking.
In the mean time, would it be possible (in future versions of DNN) to expose a little more detail about a "critical error"? Like maybe some hint as to whether it was caused by a call to the data provider, or something? If there is some setting I can change
to get more detailed error messages, somebody please let me know. I will be eternally grateful. [:)]
Apr 26, 2005 10:07 AM|phr0ze|LINK
Apr 26, 2005 12:34 PM|leep2|LINK
Ok, here's the deal. It was a third party treeview control I was using. It has an Elements collection and I tried to to call .Clear() on the collection in order to clear the tree before populating it. Wouldn't you know, Clear is implemented as:
public void Clear( )
throw new NotImplementedException();
The control is TreeWebControl found at
http://www.codeproject.com/aspnet/treeweb.asp. Just in case any of you are or decide to start using it, there are several methods on the Elements collection (Clear, Remove, RemoveAt) that aren't emplemented. Since it comes with source, I'll probably look
into implementing them, but I have to assume there's a reason simple methods like that weren't implemented already.