PRB: CoGetClassObjectFromUrl Fails with "Generic Trust Failure" (179420)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 3.0

This article was previously published under Q179420

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

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:kbCodeSign kbFAQ kbprb KB179420