I solved the problem as following:
Created a new pool for the application.
Set the identity specified in the web config.
Set load profile true.
I could not set the security because the MS Word is not listed in the dcom config. I could add it to there but I did not want to modify the registry.So I had to do as above.