[SOLVED] When running apps: External component has thrown an exception.

mgrzeg

BSOD Kernel Dump Senior Analyst
Joined
Jul 26, 2012
Posts
131
Location
Warsaw, Poland
I give up :( Every time I try to use the new app, I get the error
Read More:


What I did so far:
Downloaded & extracted, ran install.bat, put every (even the newest, 0.9.9.5) version in the %userprofile%\SysnativeBSODApps\ directory and started the app. Dump files are in the same dir as the app.
Uncheck all options in 'files to save' section (all but **-debug.txt) and other left default (also tried to change the symbols & kd.exe paths). Save & Run the apps and after few seconds -> crash :(

Read More:


Any ideas? :)

m.g.
 
Rename your SysnativeBSODApps directory to backup or SysnativeBSODBackup. Do not rename it to anything containing the string "SysnativeBSODApps" as that will cause further issues. Let the program generate the directory structure and see if you can get it to run. You will need to set up your kd path first.

If that does not work, upload a compressed (.zip) version of the SysnativeBSODApps directory that exists within your user directory. Also upload a compressed (.zip) version of the tmp directory within the directory containing the SysnativeBSODApps.exe that you are running.


Unhandled Exception: System.Runtime.InteropServices.SEHException: External component has thrown an exception.
points to this problem being local to your system. It could be other software installed, or one of the parms files that is causing problems with the apps. If it is a parms file, the .zip files should reveal the issue.

You could try re-installing .NET Framework 4. Fully uninstall it through Start Menu -> Control Panel -> Uninstall a program. Then download a fresh copy and install it. A Google search of the quoted error found that re-installing the .NET Framework version resolved that error for some people.

You may also want to try uninstalling the Visual C++ 2010 Redistributable and then installing a fresh version. You need version (x86) for the program to work.
 
Last edited:
Thanks for your support... but it didn't help :(. I made clean installation of the app, used 0.9.9.6 & .7. Currently I'm trying to run the app at home, using another pc and still having the same exception. On both computers I have similar installation - win7x64sp1 (polish) +vs2k10 (no sp1). I didn't want to mess with .net & msvcrt because of vs 2010. I tried to 'repair' the installation of both libs, but the effect is the same :(

Finally it works! :)
OK, I ran it again, but this time with active procmon (filters on cmd.exe & sysnativebsodapps.exe) and discovered, that the app tries to open different files directly from c:\SysnativeBSODApps. So, I copied entire dir to c:\, ran the app one more time (again from %userprofile%\SysnativeBSODApps), and this time it didn't crash :)))

m.g.
 
Is there a different command in polish for getting the userprofile directory? %userprofile% in command prompt? Type
Code:
Echo %userprofile%
in a command prompt and see if it gives your user profile location.
 
Very strange... I do not know why it would be writing directly to the C: drive. It should have found the %userprofile% location and put all files there.
 
Start the test, and then stop it before SysnativeBSODApps.exe finishes. Upload the tmp folder in .zip format. That may yield a clue to the userprofile issue.
 
tmp.zip :)
I think parmPath.txt is the answer :).

m.g.

Edit: I did the test without c:\SysnativeBSODApps directory (just as before, with an exception thrown)
 

Attachments

You're welcome! :D

Glad I could resolve the problem for you. That will help others using other languages, as well. Thank you for bringing it to my attention.
 
Back
Top