Locating
Errors |
Previous Top Next |
Exceptions
|
Many
applications generate exceptions while they are running; exceptions
do not always indicate an error or fault, but are generally a good
indicator. Exceptions have different types, (C++, .NET, Floating
point, Access Violation, Data Execution Prevention, etc). The trace
file will record the type of exception generated and the DLL which
generated the exception. If the application threw an exception from
self-generating code, as is sometimes the case for .NET and Java
applications, the trace will indicate "unknown_module".
|
|
example
trace entry for an exception: |
***
Exception EXCEPTION_ACCESS_VIOLATION on read of 0x10 from
unknown_module:0x7c9105f8 |
|
Note:VB6
applications throw many floating point exceptions during their
normal execution, you can ignore these. |
Once
you find an exception, look higher in the trace file to see if you
can locate the source of the exception. |
|
MSI
error messages |
The
MSI system will often kick in for applications that are not
installed correctly and will try to perform self-repair. Unless a
feature was installed using "on demand install", it usually
indicates that there is something wrong in the environment.
Luckily, MSI provides good indicators and error messages in the
trace file before it starts self-repair. Search your trace file for
calls to FormatMessage; this will also give you important
information from the MSI installer. |