PRB: ActiveX Control with DLL Extension Doesn't Download

Last reviewed: October 9, 1997
Article ID: Q174864
The information in this article applies to:
  • Microsoft ActiveX SDK, version 1.0

SYMPTOMS

When an ActiveX control with an extension of .dll is placed on an HTML page using the <OBJECT> tag and CODEBASE attribute, it may not download to the client's machine:

   <OBJECT ID="PolyCtl1" WIDTH=192 HEIGHT=192
    CLASSID="CLSID:4CBBC676-507F-11D0-B98B-000000000000"
   CODEBASE="POLYGON.DLL">
   </OBJECT>

CAUSE

If the directory where the DLL resides is set up with Execute access in Internet Service Manager, Internet Explorer will treat it as an ISAPI DLL and attempt to execute it.

RESOLUTION

To resolve this problem, turn off Execute access for the directory in Internet Service Manager. Another alternative is to rename the control from .dll to .ocx. You can also create a CAB file, in which case the extension of the file being downloaded would be .cab (CAB files are documented in the ActiveX SDK and the Cabinet SDK).

STATUS

This behavior is by design.

REFERENCES

ActiveX SDK: http://www.microsoft.com/workshop/prog/sdk/ Cabinet SDK: http://www.microsoft.com/workshop/prog/cab/


Additional query words: ATL
Keywords : AXSDKCompDownload
Technology : kbInetDev kbole
Version : WINDOWS:1.0
Platform : WINDOWS
Hardware : x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.