Persits Software, Inc. Knowledge Base Articles

XEncrypt ActiveX control fails to download to client machine

Problem Description

On some systems, the XEncrypt ActiveX control fails to be downloaded to the IE browser, and all attempts to use it via client-side script result in errors such as

Error: Object doesn't support this property or method 'XEncrypt.OpenContext'

Solution

Rename a copy of the file aspencrypt.dll into aspencrypt.ocx and place it in a virtual directory where your HTML/ASP files referencing XEncrypt reside. Adjust the <OBJECT> tag to reflect the new file name, as follows:

<OBJECT
  CLASSID="CLSID:F9463571-87CB-4A90-A1AC-2284B7F5AF4E"
  CODEBASE="aspencrypt.ocx"
  ID="XEncrypt">
</OBJECT>