15

I got the following error while trying to run windows application: Faulting application name: cribbageDemo.exe, version: 1.0.0.0, time stamp: 0x4f685fe3 Faulting module name: KERNELBASE.dll, version: 6.1.7600.16850, time stamp: 0x4e211da1 Exception code: 0xe0434f4d

more error information::::

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" /> 
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level> 
<Task>100</Task> 
<Keywords>0x80000000000000</Keywords> 
<TimeCreated SystemTime="2012-03-20T10:47:40.000000000Z" /> 
<EventRecordID>4148</EventRecordID> 
<Channel>Application</Channel> 
<Computer>Mayank-PC</Computer> 
<Security /> 
</System>
<EventData>
<Data>cribbageDemo.exe</Data> 
<Data>1.0.0.0</Data> 
<Data>4f685fe3</Data> 
<Data>KERNELBASE.dll</Data> 
<Data>6.1.7600.16850</Data> 
<Data>4e211da1</Data> 
<Data>e0434f4d</Data> 
<Data>000000000000a88d</Data> 
</EventData>
</Event>

When i am running my application application crashes ....not able to get logs also...

deacons
  • 303
  • 1
  • 4
  • 9
  • Is this an application you've written? – ChrisF Mar 20 '12 at 11:48
  • This is actually a very good question because this is one of the net framework failures states that makes no sense at all but the error code is in the title so Google finds this one right away. – Joshua Mar 30 '20 at 22:52

1 Answers1

21

If you are using a .config file with "supportedRuntime", check if the runtime given is >= the compiling runtime.

I got this error when changing to .Net 4.5 and in this file was an old 2.x entry.

JJJ
  • 32,902
  • 20
  • 89
  • 102
Ralph Erdt
  • 537
  • 4
  • 16
  • This does not provide an answer to the question. Once you have sufficient [reputation](http://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](http://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](http://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/low-quality-posts/12643167) – potame Jun 10 '16 at 07:46
  • 7
    I'm a bit confused. Please help me:Why is this not the answer to the question? I got exact the same error codes. Even this post is four years old, I did not find anything on web. This happens often, if the .Net loader could not load the assembly. And my answer was one the possible reasons which is easily overseen. With this I want so archive my experience for other searchers... – Ralph Erdt Jun 10 '16 at 08:08
  • Please read http://stackoverflow.com/help/answering... What you have written should be a comment, IMO, since you're asking info to the OP. – potame Jun 10 '16 at 08:17
  • 4
    This *does* at least try to answer the question, it was just worded badly. – JJJ Jun 11 '16 at 08:39
  • 1
    I had a similar error and in my case the problem was a lack of an app.config file. Once that was added to the project the problem went away. – RenniePet Sep 20 '16 at 23:52
  • 1
    This answer worked for me.Thanks @RalphErdt ! =) – marianotigre Aug 02 '17 at 19:16
  • 1
    This is a good answer. The 'duplicate' marked answer seems too vaguely related to be considered a duplicate. The answer addresses the specific problem in the question. – Jim W Aug 24 '17 at 18:54
  • This answer worked for me too. Someone left an old .config file indicating 2.0 which caused the error. Thanks @RalphErdt. – Brain2000 Jul 09 '18 at 15:57