Microsoft KB Archive/252937

= How to find more information about why code download failed =

Article ID: 252937

Article Last Modified on 4/21/2006

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01

-



This article was previously published under Q252937



SUMMARY
When an ActiveX control or an ActiveX document fails to download, Microsoft Internet Explorer does not always display or indicate the reason for the download failure.

This article demonstrates how to acquire information about download failures by looking at the Code Download Log file generated in the Temporary Internet Files folder.



MORE INFORMATION
When an ActiveX control or an ActiveX document fails to download in Internet Explorer, a log is generated to display detailed information about the error. Developers might not be aware of this log or of how to view it.

The following are two methods to view this information:
 * Use a tool provided by Microsoft called Code Download Error Log Viewer to display the error information.
 * Display the error information in Internet Explorer directly.

The following paragraphs provide more details for each method.

Using the Code Download Log Viewer tool
 Download the Code Download Log Viewer file from the following Microsoft Web site:

http://msdn.microsoft.com/downloads/samples/internet/browsertools/cdllogvw/default.asp

 Start the Code Download Log Viewer tool if it is not already running. After the installation of the tool, navigate to your Web page that contains the ActiveX component. If the component fails to install, go to the Code Download Error Log Viewer tool and click Refresh. Double-click the ClassID that corresponds to your component. This opens the Error Log in the Internet Explorer and displays detailed information about the download failure.</ol>

Display error information directly in Internet Explorer

 * 1) Navigate to your Web page that contains the ActiveX component.
 * 2) After the component has failed, open the Internet Options dialog box.

Note For Internet Explorer 4, the Internet Options dialog box is under the View/Internet Options menu. For Internet Explorer 5, the Internet Options dialog box is under the Tools/Internet Options menu.
 * 1) Go to the General tab under the Internet Options dialog box, and click Settings under the "Temporary Internet files" section.
 * 2) Click View Files under the Settings dialog box.
 * 3) An Explorer Window appears pointing to the folder containing all the temporary internet files.
 * 4) Sort all the files, ascending by name, and note one or more files that start with

"?CodeDownloadErrorLog!."
 * 1) Every time an ActiveX component fails to download, a similar log is generated. (Do not be surprised if you have many ?CodeDownloadErrorLog!* on your log).
 * 2) Go to the file that has the ClassID of your object specified in the error log file name. Verify the modified date and find out the correct log that was just created.
 * 3) Leave this window open and click Cancel on both the Settings dialog box and the Internet Options dialog box.
 * 4) Drag the log file and drop it to the Internet Explorer window.
 * 5) If you are unable to drop the file on Internet Explorer, then go back and make sure that you closed all the pop-up dialog boxes. Then open another Internet Explorer window and drop the file on it.

<div class="references_section">