One final idea which especially relates to site licenses and IP-based authentication:
On rare occasions, people have experienced a message box displaying
"Automation error ClassFactory cannot supply requesed class"
A solution to this is typing the following from within the windows 'Run' menu:
regsvr32 c:\directrt\license2008ip.dll