.net 故障模块: kernelbase.dll 。应用程序崩溃
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10327908/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Fault module: kernelbase.dll . Application crash
提问by Nithesh Narayanan
I Have an applicationdone in .Net framework 3.5(C#.Net).
I installed the application in Windows 7. But while opening some forms, the application causes the following error

我已经application完成了。Net framework 3.5(C#.Net)。我在Windows 7. 但是在打开某些表单时,应用程序会导致以下错误

If anybody knows the solution please share. This error comes only in windows 7.
如果有人知道解决方案,请分享。此错误仅在 Windows 7 中出现。
回答by ZoolWay
Just to add because I got the same issue:
补充一下,因为我遇到了同样的问题:
Sometimes this is related to a stack overflow due to recursion.
有时这与由于递归导致的堆栈溢出有关。
回答by Paul Zahra
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.
我的问题是 Windows 服务安装项目或解决方案的一部分已损坏;它没有正确检测依赖项,因此在尝试启动 Windows 服务时导致了 IO 问题。
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.
所以我基本上删除了旧的安装项目并重新创建了一个新的,然后当我添加主输出时它仍然没有正确更新依赖项,如果我然后添加另一个主输出依赖项会填充,然后如果我尝试删除其中一个现在两个主输出条目VS2010会崩溃,所以我查看了安装项目的文件,然后添加了三个,然后删除了两个条目?!?!?!?!等等……不再崩溃。
回答by Gilles
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.
检查您的事件查看器并找出导致崩溃的应用程序。它可能是 kernelbase.dll。这不是办公室问题,因为 KERNELBASE.dll 是一个系统文件。如果系统文件导致崩溃,则您需要修复 Windows 7 系统文件。
Go here and follow all instructions: http://support.microsoft.com/kb/929833
转到此处并按照所有说明进行操作: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
- MSN Messenger 不再加载
- 每当我尝试单击“插入”选项卡时,所有 Office 2010 程序都会崩溃
- 在大文件夹中搜索文件或文档时,Windows 资源管理器崩溃
Hope this helps.
希望这可以帮助。
Gilles
吉尔斯

