PRB: ActiveX Control with DLL Extension Doesn't Download (174864)



The information in this article applies to:

  • Microsoft ActiveX SDK

This article was previously published under Q174864

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

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

Modification Type:MajorLast Reviewed:5/11/2006
Keywords:kbcode kbDownload kbFAQ kbprb KB174864