I've never used the compacted database, but if it makes the game run faster I'll give it a try, then again on this PC I seem to suffer a CPU bottleneck, compaction might make it worse.
Although I just tried and got the same error, I'm not sure which dll it would be, as far as I can find online active x controls are user created dll's therefore there's nothing specific I can find related to the error.