Knowledge Base

PRB: ActiveX Control with DLL Extension Doesn't Download

Article ID: 174864

Article Last Modified on 5/11/2006


APPLIES TO


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:

Additional query words: ATL

Keywords: kbdownload kbprb kbfaq kbcode KB174864