Application object not initialized (Error 1936)

The Automation server or type library is not registered correctly.