Fault module: kernelbase.dll . Application crash

前端 未结 4 1914
傲寒
傲寒 2021-01-02 16:29

I Have an application done in .Net framework 3.5 (C#.Net). I installed the application in Windows 7. But while opening some forms, the

相关标签:
4条回答
  • 2021-01-02 16:49

    The issue for me was that the Windows Service setup project or part of the solution had become corrupt; it was not detecting dependencies correctly and so caused an IO problem when trying to start the Windows Service.

    So I basically deleted the old setup project and recreated a new one, then when I added the Primary Output it still did not update dependencies correctly, If I then added another Primary Output the dependencies would populate, then if I tried to delete one of the now two Primary Output entries VS2010 would crash, so I viewed the files of the setup project, then added three, then deleted two entries?!?!?!?! et voila ... no more crashing.

    0 讨论(0)
  • 2021-01-02 16:51

    For me the reason was using Dependency Injection + an Installer. The installer merged the contents of multiple application folders and therefore i had assembly version mismatches which resulted in loading issues.

    The solution was consolidating the referenced assemblies for me.

    0 讨论(0)
  • 2021-01-02 17:06

    I had the same kind of problem and found a solution.

    Check your event viewer and find out what application caused the crash. It is probably kernelbase.dll. This is not an office problem as KERNELBASE.dll is a system file. In case a system file causes the crash, then you need to fix your windows 7 system files.

    Go here and follow all instructions: http://support.microsoft.com/kb/929833

    Doing this solved many other problems I had with my system:

    • MSN messenger not loading any more
    • All office 2010 programs crashing whenever I tried to click on the INSERT tab
    • windows explorer crashing when searching for files or documents in large folders
    0 讨论(0)
  • 2021-01-02 17:11

    Just to add because I got the same issue:

    Sometimes this is related to a stack overflow due to recursion.

    0 讨论(0)
提交回复
热议问题