When such a log is necessary for troubleshooting purposes, this log can be generated even for successful code downloads through the use of a special registry key.
To force Internet Code Download to generate a log for every download instance, add the following registry entry:
With this setting turned on, when the download is successful you will get a log that indicates an error result of "0". For example:
Code Download Error: (hr = 0) Unknown Error!!
Article ID: 271451 - Last Review: Jun 19, 2014 - Revision: 1