Is Excel installed on the server? (I don't think it is that common to install Excel on servers.)
Is the drive X available on the server? You talk about a mapped drive, but drive mapping is done on user level, and typically not seen by something that runs as a service. I think you should try a UNC path instead.