Share via

My windows based application start crashing suddenly- Seems after some windows/.net framework update

Anonymous
2022-03-16T12:25:57+00:00

Faulting application name: MyApp.exe, version: a.b.c.d, time stamp: 0x6218b46d

Faulting module name: clr.dll, version: 4.8.4470.0, time stamp: 0x61b731cd

Exception code: 0xc0000005

Fault offset: 0x000f11cb

Faulting process id: 0x46c8

Faulting application start time: 0x01d837848309f3be

Faulting application path: C:\Program Files (x86)\MyApp\MyApp.exe

Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll

Report Id: e2995330-1284-4d05-834a-fbb683b0647c

Faulting package full name:

Faulting package-relative application ID:

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.Data.SqlServerCe.SqlCeException

   at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()

   at System.Data.SqlServerCe.SqlCeConnection..ctor()

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. DaveM121 887.2K Reputation points Independent Advisor
    2022-03-16T13:02:20+00:00

    Hi ksrds

    I am Dave, I will help you with this.

    Are you programming that application yourself?

    If you are, does it crash when you compile and run it from the programming environment?

    What method have you used to install your application into the program files folder?

    Is that application using Silverlight functionality?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. DaveM121 887.2K Reputation points Independent Advisor
    2022-03-17T12:05:37+00:00

    Hi ksrds, that's great, I am glad you found a solution by setting that flag on the Garbage Collector, well done.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-03-17T12:02:14+00:00

    Hi DaveM121, Thank for your responses.
    I got a way to fix that issue.

    I turned this element true and issue gets resolved. That was related to Garbage Collector things.
    <runtime>

        <gcConcurrent enabled="false"/>

     </runtime>

    Was this answer helpful?

    0 comments No comments
  4. DaveM121 887.2K Reputation points Independent Advisor
    2022-03-17T07:35:10+00:00

    Hi ksrds

    I apologize, Community is just a consumer forum, due to the scope of your question (Programming) can you please post this question to our sister forum on Microsoft Q&A (The Developer Forum)

    Over there you will have access to a host of developers and programming experts and will get a knowledgeable and quick answer to this question.

    https://docs.microsoft.com/en-us/answers/index....

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-03-17T05:45:03+00:00

    yes, i am programming it myself.
    It's not raising that error on my development machine. Even it's not coming on so many but only on couple of machines only.
    I use .iss script to create the exe of my application and once we install that exe , it copies every files to program files folder.
    No, it's not using silverlight.

    Was this answer helpful?

    0 comments No comments