This WSH script will try to create an object specified by a given progID. If the create fails, it will try to diagnose the reason why.
diagnosecreateobject.zip.