This is one of the most irritation I always get with IE Browsers. IE8,IE9 Miss many features compare to other browsers(Chrome,FF). ActiveX is a great plugin, which will give those missing features. For example lets take File API in Chore or FF. By using this we can calculate the size of a file even before upload it to the server side scrip. If you ask be I would say that's really a great feature. But IE na! it don't like that.
In order to solve this problem ActiveX come into picture.
var Fobj = new ActiveXObject("Scripting.FileSystemObject");
This little ActiveX object will help us to solve the problem.
Automation Server can't create object problem fix Now let me tell you how to fix the our actual problem.
It's just a security setting issue. Shocked! ya me too when first time I found this.
It is very easy to resolve.
Open your IE and go to
Tool > Internet Options > Security > Custom Level
Enable all ActiveX control.
Now restart your browser. Now it should work fine.