Reputation: 11775
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 application causes the following error
If anybody knows the solution please share. This error comes only in windows 7.
Upvotes: 8
Views: 99433
Reputation: 19
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:
Upvotes: 0
Reputation: 5914
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.
Upvotes: 0
Reputation: 9725
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.
Upvotes: 0
Reputation: 5505
Just to add because I got the same issue:
Sometimes this is related to a stack overflow due to recursion.
Upvotes: 4