I did an ActiveX control for a web site and I can't get it to download properly. When a user tries to download the ActiveX he does not get an error but the ActiveX is not displayed, a red X is displayed in the top left corner of the control like an image that is not available. An html page is created in the Temporary internet files folder containing this information:
*** Code Download Log entry (09 Feb 2004 @ 13:40:02) ***
Code Download Error: (hr = 800c0300) Unknown Error!!
Operation failed. Detailed Information:
CodeBase:
http://dmweb/ActiveX/RPMViewGraph.cab CLSID: {60228641-A519-4943-AB77-2
FB1CBBB58C
0}
Extension:
Type:
LOG: Item RPMViewGraph.ocx being processed.
--- Detailed Error Log Follows ---
LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
LOG: Item RPMViewGraph.ocx being processed.
LOG: Item msado15.dll being processed.
ERR: INF Processing: Failed (800c0300) processing: msado15.dll
. Cannot get primary/default language!LOG: URL Download Complete: hrStatus:0, hrOSB:800c0300, hrResponseHdr:0, URL:(
http://dmweb/ActiveX/RPMViewGraph.cab)
LOG: Reporting Code Download Completion: (hr:800c0300 (FAILED), CLASSID: 60228641..., szCODE:(
http://dmweb/ActiveX/RPMViewGraph.cab)
, MainType:(null), MainExt:(null))
It works correctly on my computer. I have tried unregestering the associated files on my computer and when I go on the page it downloads the package and runs the ActiveX correctly.
Specifications:
-The control was done using VB6.
-The web page was done using .NET (this particular page is an aspx)
-The cab file was compiled using VB6's Package & Deployment Wizard
-The cab file is signed with Authenticode and so is the ocx inside
-The cab file is dependent on VB6 runtime files and another cab file
Here is how I reference the ActiveX:
<OBJECT id="gphEF" codeBase="
http://dmweb/ActiveX/RPMViewGraph.cab#version=0,3,0,0" height="100%" width="100%" classid="clsid:0A88AF9A-76
35-4AFF-A5
D9-1E45E4F
C7647" VIEWASTEXT>
<PARAM NAME="ScaleXInterval" VALUE="5">
<PARAM NAME="ScaleYInterval" VALUE="100">
</OBJECT>
What should I do so the user can download my control correctly?