MissingMethodException

  • Thread starter Thread starter yes healthcare via .NET 247
  • Start date Start date
Y

yes healthcare via .NET 247

I am suddenly getting the following error.

Initially I thought that it is due to some errors in my code. But then I created new web project and started the application (using F5), the same error is coming even if i dont write any code in it.

Exception Details: System.MissingMethodException: Method not found: Void System.EventHandler..ctor(System.Object, IntPtr).
 
Suggest you re-install the .NET framework.

Regards - OHM


yes healthcare via .NET 247 said:
I am suddenly getting the following error.

Initially I thought that it is due to some errors in my code. But then I
created new web project and started the application (using F5), the same
error is coming even if i dont write any code in it.
Exception Details: System.MissingMethodException: Method not found: Void
System.EventHandler..ctor(System.Object, IntPtr).
 
Hi

What is that in the Thames valley, first Nak now you, do we see Fergus too?

Cor
 
* yes healthcare via .NET 247 said:
Initially I thought that it is due to some errors in my code. But then I created new web project and started the application (using F5), the same error is coming even if i dont write any code in it.

Exception Details: System.MissingMethodException: Method not found: Void System.EventHandler..ctor(System.Object, IntPtr).

'EventHandler' is defined as follows:

\\\
Delegate Sub EventHandler(sender As Object, e As EventArgs)
///

You cannot pass an 'IntPtr' in the 2nd parameter.
 
You missed this !
Initially I thought that it is due to some errors in my code. But then I
created new web project and started the application (using F5), the same
error is coming even if i dont write any code in it.



created new web project and started the application (using F5), the same
error is coming even if i dont write any code in it.System.EventHandler..ctor(System.Object, IntPtr).
 
* "OHM said:
You missed this !

created new web project and started the application (using F5), the same
error is coming even if i dont write any code in it.

Interesting. But the OP's code IMO doesn't work because no such method
exists.
 
Hi Herfried,
\\\
Delegate Sub EventHandler(sender As Object, e As EventArgs)
///

Interesting. But the OP's code IMO doesn't work because no such method
exists.

Will you explain us how we can add that without adding any code in the app,
than the OP has as well the answer?

:-)

Cor
 
* "Cor Ligthert said:
Will you explain us how we can add that without adding any code in the app,
than the OP has as well the answer?

Mhm... The full exception message + callstack would be great...
 
Back
Top