none
.Net Runtime Error Framework Version: v4.0.30319

    Question

  • We have a VB.Net application and we are using Microsoft Visual Studio 2010 Professional for the development purpose.

    The problem we are facing is that after deploying the application on client system it sometime gives .Net runtime error and the application crashes.

    We have used Try Catch in all our code to handle exceptions then why it gets crashed due to this .Net runtime error?

    After the application crash on viewing the error in Application event viewer we get the following 2 errors:-

    1)

    Event Type:        Error

    Event Source:    .NET Runtime

    Event Category:                None

    Event ID:              1023

    Date:                     7/28/2011

    Time:                     4:04:38 PM

    User:                     N/A

    Computer:          VERNIKA

    Description:

    Application: Opkey_CT.exe

    Framework Version: v4.0.30319

    Description: The process was terminated due to an internal error in the .NET Runtime at IP 791F9AAA (79140000) with exit code 80131506.

     

    2)

    Event Type:        Error

    Event Source:    .NET Runtime 4.0 Error Reporting

    Event Category:                None

    Event ID:              1000

    Date:                     7/28/2011

    Time:                     4:04:39 PM

    User:                     N/A

    Computer:          VERNIKA

    Description:

    Faulting application opkey_ct.exe, version 1.0.0.0, stamp 4e2fe406, faulting module clr.dll, version 4.0.30319.1, stamp 4ba1d9ef, debug? 0, fault address 0x000b9aaa.

     

    Any suggestions to resolve this issue will be very helpful.


    Regards, Premjeet Singh
    Thursday, July 28, 2011 12:54 PM

Answers

  • Your symptoms strongly suggest that there is an issue with the configuration of that particular PC.

    When you reinstalled the OS, did you wipe the OS hard drive partition and do a clean install? If not the issue could persist.

     

    • Marked as answer by Alexander Sun Monday, August 08, 2011 8:07 AM
    Friday, July 29, 2011 1:58 PM

All replies

  • Have you verified the .NET Framework 4.0 installation on the client's system?

    I suggest you run the verification tool on the system where the problem is occurring:

    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    If issues are revealed, then remove and reinstall.

    An alternative approach is to consider that most errors like the one you cite are caused by the application that is using the .NET Framework, but are uncaught in the using application. reviewing and retesting your app may well reveal the problem.

    As your app is VB.NET, the best place to get expert advice is:

    http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic

    When you post there, be sure to include code in the crashing area.

     

    Thursday, July 28, 2011 3:58 PM
  • Hello pvdg42,

    Thanks for replying.

    I have used the verification tool as per your suggestion. On verifiying .Net Framework 4 Full it shows succeeded but on seeing the log file it shows some warning in error log file. The warnings are listed below:

    [07/29/11,10:59:20] Beginning of new SetupVerifier error logging session

    [07/29/11,10:59:20] Activity log file location: C:\DOCUME~1\DHRUVK~1.YAD\LOCALS~1\Temp\setupverifier_main_07-29-11_10.59.20.txt

    [07/29/11,10:59:20] Error log file location: C:\DOCUME~1\DHRUVK~1.YAD\LOCALS~1\Temp\setupverifier_errors_07-29-11_10.59.20.txt

    [07/29/11,10:59:20] Build created on January 17, 2011

    [07/29/11,10:59:20] Detected operating system: Windows XP (x86)

    [07/29/11,10:59:27] ***WARNING*** File C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Windows.ApplicationServer.Applications\v4.0_4.0.0.0__31bf3856ad364e35\Microsoft.Windows.ApplicationServer.Applications.dll is not installed on the system

    [07/29/11,10:59:33] ***WARNING*** File C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Windows.ApplicationServer.Applications.dll is not installed on the system

    [07/29/11,10:59:34] ***WARNING*** File C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ServiceModelPerformanceCounters.dll is not installed on the system

    [07/29/11,10:59:34] ***WARNING*** File C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ServiceModelPerformanceCounters.man is not installed on the system

    [07/29/11,10:59:39] ***WARNING*** File C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\CLR-ETW.man is not installed on the system

    [07/29/11,10:59:39] ***WARNING*** File C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clretwrc.dll is not installed on the system

    [07/29/11,11:01:02] SetupVerifier exiting with return value 0

     

    Can you please let us know that the problem we are facing is due to these warnings or not?


    Regards, Premjeet Singh
    Friday, July 29, 2011 5:47 AM
  • They could be. But, first, does the XP machine have SP3 for XP installed? SP3 is a mandatory prerequisite for soccessful operation of .NET Framework 4.0 on Windows XP.

    Further, these warnings appear to be emblemetic of a problem reported in several threads whetre .NET 4 was installed but is not working. Unfortunately, the common solution appears to be OS reinstallation.

    Example: http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/6e23cf43-ae47-483b-9347-b2af3d96c4f2

    Friday, July 29, 2011 12:47 PM
  • Yes the machine have SP3 for Windows XP installed as .NET 4 requires SP3 as a pre-requisite.

    Also we have re-installed the OS already twice but it doesn't resolves the issue. We are facing this issue on one machine only and on other machines the same application build is working fine. So if there is any problem within the code then it should occur on other machines also.

     

    Kindly let us know if we can try some other resolution to resolve this issue.


    Regards, Premjeet Singh
    Friday, July 29, 2011 1:28 PM
  • Your symptoms strongly suggest that there is an issue with the configuration of that particular PC.

    When you reinstalled the OS, did you wipe the OS hard drive partition and do a clean install? If not the issue could persist.

     

    • Marked as answer by Alexander Sun Monday, August 08, 2011 8:07 AM
    Friday, July 29, 2011 1:58 PM
  • Hello pvdg42,

    As per your suggestion we have raised a request to out support team for clean OS install because normally the OS install is done using the quick format.

    Thanks for your suggestions.

     

    We will come back to you if it doesn't resolves the issue and also we will try to collect more information regarding this issue.


    Regards, Premjeet Singh
    Monday, August 01, 2011 6:14 AM
  • Hi Premjeet,

     

    Welcome to the MSDN forum.

     

    Is your problem resolved after you have reinstall OS? If you have any other concerns, please feel free to let me know.

     

    Best Regards,


    Alexander Sun [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, August 04, 2011 10:32 AM
  • We have a VB.Net application and we are using Microsoft Visual Studio 2010 Professional for the development purpose.

    The problem we are facing is that after deploying the application on client system it sometime gives .Net runtime error and the application crashes.

    We have used Try Catch in all our code to handle exceptions then why it gets crashed due to this .Net runtime error?

    After the application crash on viewing the error in Application event viewer we get the following 2 errors:-

    1)

    Event Type:        Error

    Event Source:    .NET Runtime

    Event Category:                None

    Event ID:              1023

    Date:                     7/28/2011

    Time:                     4:04:38 PM

    User:                     N/A

    Computer:          VERNIKA

    Description:

    Application: Opkey_CT.exe

    Framework Version: v4.0.30319

    Description: The process was terminated due to an internal error in the .NET Runtime at IP 791F9AAA (79140000) with exit code 80131506.

     

    2)

    Event Type:        Error

    Event Source:    .NET Runtime 4.0 Error Reporting

    Event Category:                None

    Event ID:              1000

    Date:                     7/28/2011

    Time:                     4:04:39 PM

    User:                     N/A

    Computer:          VERNIKA

    Description:

    Faulting application opkey_ct.exe, version 1.0.0.0, stamp 4e2fe406, faulting module clr.dll, version 4.0.30319.1, stamp 4ba1d9ef, debug? 0, fault address 0x000b9aaa.

     

    Any suggestions to resolve this issue will be very helpful.


    Regards, Premjeet Singh
    Hi Premjeet Singh i 'm facing the same problem as you , Is your problem resolved after you have reinstall OS? i need answer. thank you.
    Monday, October 29, 2012 9:54 AM