SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and list item properties.

I then created a workflow using SharePoint Designer 2010 and setup an action to create a new list item on my document library. I gave it a name and set the content type to MyCustomType. The workflow executes without error and creates the document - but I can't open it in Word. I get the following error: The file test.docx cannot be opened because there are problems with the contents. There are no additional details.

I opened up the .docx file and looked at the embedded XML and I can see that it is using the correct template. Any ideas why Word is failing to open the document or something I can do to troubleshoot / get more info on the error?

Update: I recreated the template from an empty word doc and the problem is resolved. I would like to leave the question open for now in hopes of better troubleshooting advice for repairing an existing template.

share|improve this question

I had the same issue. All you have to do is just to save the document template (dotx) as word document (docx ).

share|improve this answer
this is the answer. – Justin Feb 5 '13 at 2:36

I had a similar problem. I had to rename the template to docx in the advanced setting page as well as saving it as a docx file. But I also had to use Word 2010, not Word 2013 to create and save the template. Note: I am currently on SP2010 so it seems it's some kind of conflict with the headers that Word 2013 was introducing. Just in case others may need help with this.

share|improve this answer

I've seen this happen (through the twittersphere) in the past with 2007. This details how to do it,

This article looks to be specifically geared at SPD 2010,

share|improve this answer
I don't have an issue creating the library, content type, template or workflow - those are all fine. The problem is that the document created from the workflow is somehow corrupted when using the workflow, while the document created when choosing a new document from the content type template using the ribbon controls. – Goyuix Jun 4 '12 at 4:21

Please try to add some content in the document using the workflow and please try again.

share|improve this answer

When you're editing the workflow in SP Designer and you add the step to Create New List Item, make sure to add Content Type ID to the list of Fields. I had this exact same error and was able to resolve it by specifying the Content Type ID. Here's where I found the hint:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.