Microsoft KB Archive/261165

From BetaArchive Wiki

Article ID: 261165

Article Last Modified on 5/11/2006



APPLIES TO

  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.5
  • Microsoft Windows 95



This article was previously published under Q261165

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 Description of the Microsoft Windows Registry


SYMPTOMS

When you download a component to a computer running Microsoft Windows 95 that does not have an active desktop installed, and then you specify a destination directory for the component with a path that contains either a space or more than eight characters, the code download error log displays the following error message:

Code Download Error: (hr = 8007000e) Not enough storage is available to complete this operation.

CAUSE

This behavior occurs because the pointer to an item identifier list (PIDL) generation in the Shell32.dll file fails.

RESOLUTION

To resolve this behavior, install an active desktop. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

165695 How to Add or Remove Windows Desktop Update


STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

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.

Steps to Reproduce Behavior

  1. On the computer running Windows 95, set the following destination directories in the registry:

    HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\InternetSettings ActivexCache = "C:\DestinationDir"

    and

    HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\InternetSettings\ActiveX Cache "C:\DestinationDir"

  2. Create a component (either a .dll file or an .ocx file), and then wrap it into a Component.cab file.
  3. Create an HTML page, and then download the component that you created. Use the following code to create the HTML page:

    <HTML>
    <OBJECT ID="Component1"
    CLASSID="CLSID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    CODEBASE="Component.CAB#version=x,x,x,x">
    </OBJECT>
    </HTML>
                        
  4. Open Microsoft Internet Explorer, and then navigate to the HTML page that you created. The code download error log displays the error message referenced in the "Symptoms" section of this article.

NOTE: When you call the CoGetClassObjectFromURL function to download the component that you created, you receive the same error message.

REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

174653 How to Call CoGetClassObjectFromURL() in an MFC App


179420 PRB: CoGetClassObjectFromUrl Fails with "Generic Trust Failure"


252937 HOW TO: Find out more information about why code download failed


165695 How to Add or Remove Windows Desktop Update


For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:


Additional query words: CoGetClassObjectFromURL "code download"

Keywords: kbbug kbcode kbdownload KB261165