Docviewer is not opening automatically?
Are you trying to have a file auto open in the docviewer? I'm not sure from your question if that is the exact issue but below is a guide for how you can set a file to auto-open. If this is not this issue you are needing solved please post a little bit more information about what you are trying to accomplish and how it is not working.
How do I set the auto-open for inline preview for files using the Rich Content Editor as an instructor?
Retrieving data ...