473,385 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MissingMethodException

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).

--------------------------------
From: yes healthcare

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>m4B+sp2gm0SkSJ0cGmdSyw==</Id>
Nov 20 '05 #1
8 1380
OHM
Suggest you re-install the .NET framework.

Regards - OHM
"yes healthcare via .NET 247" <an*******@dotnet247.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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).
--------------------------------
From: yes healthcare

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>m4B+sp2gm0SkSJ0cGmdSyw==</Id>

Nov 20 '05 #2
Hi

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

Cor
Nov 20 '05 #3
OHM
Sorry I'm not undertanding you here ?
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Hi

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

Nov 20 '05 #4
* yes healthcare via .NET 247 <an*******@dotnet247.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
OHM
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.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2i************@uni-berlin.de... * yes healthcare via .NET 247 <an*******@dotnet247.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #6
* "OHM" <Me@NoWhere.Com> scripsit:
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.


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

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7
Hi Herfried,
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.

\\\
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

Nov 20 '05 #8
* "Cor Ligthert" <no**********@planet.nl> scripsit:
created new web project and started the application (using F5), the same
error is coming even if i dont write any code in it.

\\\
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?


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

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: andrew | last post by:
Hi, i have a problem that i can't solve for quite a long time. I created a dll with C# and added a reference to it in my project. i create an object from that dll (TableControl), in this object...
1
by: Benjamin | last post by:
I am making a Windows EXE (.NET Visual Basic Windows Application). I would like to make it possible to open Excel Worksheets from my EXE. This should work independent of Excel version on client...
1
by: D. Bron | last post by:
Hello, Can anyone tell me why I'm getting the following exception: Method not found: Void Maple.Collections.Set.UnionAll(System.Collections.ICollection) I'm not using reflection, I'm not...
6
by: Chris Jackson | last post by:
OK, this one has me completely confused. Here's the situation: I have a home-rolled session management system, which allows me to share session state between my ASP.NET applications and my ASP...
0
by: Gos | last post by:
I have a form object (I pass form object into variable obj and do late binding) to be passed as an argument. Dim Prop As String Dim Properties As Type Private Sub LoadObjectSettings(ByRef...
0
by: Harry F. Harrison | last post by:
Hi folks, I'm getting the following error message using the System.Activator.CreateInstance shared method: A first chance exception of type 'System.MissingMethodException' occurred in...
0
by: Tim Anderson | last post by:
I have a multi-project solution imported from VS 2003. It includes an exe and several dlls. If I add a method to a class in a DLL project, and then call it from exe project, this is picked up by...
0
by: MrJim | last post by:
Hi, I'm experiencing an unhandled at 'smsMessage.send' with the following error 'can't find an entry point '#48' in a pinvoke dll 'cemapi.dll''. I've checked the references and they seem...
0
by: Liam | last post by:
I'm using VS 2005 and I have a custom ConfigurationSection class that works perfectly. However, when I reference it from my test project it works fine for all of the properties except when they...
1
by: S Clough | last post by:
I've got a VS2005 solution (written in C# and OpenGL) with an executable, that calls lots of sub project dlls (which are in the same solution). I briefly changed the main project to a dll (class...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.