A common cause of this is that there is an anti-virus program preventing scripting running on the server.
Alternatively the classes may not be installed although I doubt that with the FileSystemObject.
As a side issue automating Excel via COM on a server is a risky and possibly illegal thing to do.
--
Joe (
Microsoft MVP - XML)