How to fix the "Automation server can't create object" error

By Akbar

In one of my Win32 DLL projects, whenever I tried to add a resource file, I got the “Automation server can’t create object” object. Similar to other errors, this was not very informative.

After searching for this error, I found this the common cause of this problem is that Windows Scripting host is corrupt. You can find the detail of this in the following Microsoft Knowledge base.

I installed that updated component and it started working correctly. But I am still wondering that how it got corrupted and why it was failing on in the Visual Studio 2005 Win32 project 🙁

Tags: , , ,