The exception that is thrown when a method call is invalid for the object's current state.
InvalidOperationException is used in cases when the failure to invoke a method is caused by reasons other than invalid arguments. Author: unknown Code: ASP.NET v1.0 & VB