Hey,
I used to work a lot with SharePoint. Recently I am facing a problem in SharePoint. I created a SharePoint WCF service that uses Word automation service to convert documents to other formats. Sometimes the service fails abruptly without leaving a message. How to handle this situation? Is the problem related to configuration? Please explain me. Thanks.
Error
The security token request cannot be Completed.
OK
The security token request cannot be completed
The work behind Word Automation Services occurs in a separate rendering engine which is capable of rendering word documents, file format conversions, dynamic data updates and many more activities. In the SharePoint content database the output of the rendering engine is stored as new document. It is found sometimes a user profile is necessary. So what you can do is add a SharePoint user profile, for the account, that the word automation services is running. The reason behind this is claim based authentication that is, Token Service uses user profile to create claim token.