DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 271451 - Last Review: June 19, 2014 - Revision: 4.0

 
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://support.microsoft.com/kb/256986/EN-US/ ) Description of the Microsoft Windows Registry

Summary

If Internet Code Download fails to download a component, such as an ActiveX control, an error log is silently generated in the Temporary Internet Files folder. By default, this log is not generated if the download is successful.

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.

More information

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


To force Internet Code Download to generate a log for every download instance, add the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ForceCodeDownloadLog
(Add "ForceCodeDownloadLog" as a string value to the Internet Settings key.)

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!!
					
NOTE: No logs will be generated for controls that are already installed on the local computer. An Internet Code Download Log is only generated when a control is not already installed and must go through the internet download process.

References

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
252937  (http://support.microsoft.com/kb/252937/EN-US/ ) How To Find Information About Why Code Download Failed
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
http://msdn.microsoft.com/ie/ (http://msdn.microsoft.com/ie/)

http://support.microsoft.com/iep (http://support.microsoft.com/iep)
Keywords: 
kbcode kbdownload kbhowto KB271451
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support