PRB: CoGetClassObjectFromUrl Fails with "Generic Trust Failure"

Last reviewed: January 19, 1998
Article ID: Q179420
The information in this article applies to:
  • Microsoft ActiveX SDK, version 1.0
  • Internet Client SDK, version 4.0

SYMPTOMS

When attempting to download code using the CoGetClassObjectFromUrl API, the client's IBindStatusCallback::OnStopBinding method is called with the hrStatus parameter set to "Generic Trust Failure" (0x800B010B).

CAUSE

The code to be downloaded is not signed.

RESOLUTION

Sign the code that you are attempting to download using Microsoft's Authenticode Technology.

STATUS

This behavior is by design.

MORE INFORMATION

If Internet Explorer (IE) is installed on the client machine, to force the unsigned code to be downloaded, set the security level to low. Note that this is recommended for testing purposes only.

REFERENCES

"Signing Code with Microsoft Authenticode Technology" in the "Component Development\ActiveX Controls" section of the Internet Client SDK (http://www.microsoft.com/msdn/sdk/inetsdk/help)


Additional query words: CoGetClassObjectFromUrl
Keywords : AXSDKCompDownload AXSDKUrlMon
Technology : kbinetdev
Version : WINDOWS:1.0,4.0
Platform : WINDOWS
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: January 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.