Top "Invalidoperationexception" questions

The exception that is thrown when a method call is invalid for the object's current state.

Is there a Java equivalent of C#'s InvalidOperationException?

I'm converting some C# code to Java and I need to include an exception that is similar to C#'s …

java exception invalidoperationexception
When to use InvalidOperationException or NotSupportedException?

I am implementing a custom collection implementation that can either be readonly or non-readonly; that is, all the methods that …

c# .net exception invalidoperationexception notsupportedexception
A first chance exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll

All, I'm using DataBase First Entity Framework v4.4. In the DB (and data model) is Table1 that has a 1:many …

wpf entity-framework exception invalidoperationexception
Is there an alternate hashing algorithm to MD5 for FIPS-enabled systems?

Whenever I try to use MD5 on a Windows XP machine that has FIPS enabled, I am getting a System.…

c# .net cryptography md5 invalidoperationexception
InvalidOperationException with Process

I'm starting a new process using the following code: Process p = new Process(); p.StartInfo.FileName = "..."; p.StartInfo.Arguments = "..."; p.…

c# process invalidoperationexception
DataGrid 'EditItem' is not allowed for this view when dragging multiple items

I have a datagrid which gets data like this: public struct MyData { public string name { set; get; } public string artist { …

wpf datagrid invalidoperationexception
C# System.InvalidOperationException: Collection was modified; enumeration operation may not execute

I have researched this issue and haven't found what pertains to me yet. I am not trying to edit something …

c# invalidoperationexception
How to evade reentrant call to setCurrentCellAddressCore?

I have a function that is called from cell_endedit. It moves a dataGridViewRow inside a dataGridView: private void moveRowTo(…

c# datagridview invalidoperationexception
decimal.InvalidOperation in python

I was testing my code and I thought that this piece of code was correct: while True: try: p = Decimal(…

python python-2.7 invalidoperationexception
HttpContext.Current.Request.Form.AllKeys in ASP.NET CORE version

foreach (string key in HttpContext.Current.Request.Form.AllKeys) { string value = HttpContext.Current.Request.Form[key]; } What is the .net …

c# asp.net-core httpcontext invalidoperationexception