Word cannot start the converter mswrd632 Error

Apr 12, 2012 at 2:42 PM

I create a secure link to a .DOCX document uploaded on my DNN portal using CKHTMLEditor v1.14.02 and when a user with Windows XP on their PC attempts to open the document, they get the following pop-up error message:

Word cannot start the converter mswrd632

If they click on the "OK" button about three times, the word document is then opened successfully. I have done a search on this error and found the following fix -

http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/error-message-word-cannot-start-the-converter/ce3a65ce-fba1-4c16-af9c-d4131a281527

But this doesn't happen when using other editors, so what could the problem be?

If I create either relative or absolute links to the same document, these open first time without any problem, it is only the secure link that causes this error?

Apr 14, 2012 at 11:46 AM

Are you sure it doesnt happen with other editors when using secured urls? the Secured Urls are genertated via the dnn file api. I noticed when you click on a secured url the document extension is doc and not docx. Looks like an issue from the LinkClick Handler. From my Provider side i can do nothing to fix that.

Apr 16, 2012 at 9:29 AM

Thanks for the reply.

So were does that leave me now?

Do I need to contact DNN to get them to look at the LinkClick handler?

Apr 16, 2012 at 10:50 AM

 It looks like only in dnn 5.6 the file is "doc" but in dnn 6 it works as expected.

Which dnn Version are you using?

Maybe the only option is upgrading to dnn 6 or fixing the Problem in the Source of dnn ourself.

Apr 16, 2012 at 11:17 AM

I am using DNN v5.6.7.

Unfortuantely, due to the size and complexity of our site and the fact that DNN V6 is in C# (we all work in VB) and upgrade to V6 is not really an option in the short term for us.

Apr 16, 2012 at 12:11 PM

Ok understandable. Can you recompile the Current Version you are using?

If yes i found the code and added a fix:

\Library\Common\Utilities\FileSystemUtils.vb

Change the code from...

Select Case extension.ToLower
Case "txt" : contentType = "text/plain"
Case "htm", "html" : contentType = "text/html"
Case "rtf" : contentType = "text/richtext"
Case "jpg", "jpeg" : contentType = "image/jpeg"
Case "gif" : contentType = "image/gif"
Case "bmp" : contentType = "image/bmp"
Case "png" : contentType = "image/png"
Case "mp3" : contentType = "audio/mpeg"
Case "wma" : contentType = "audio/x-ms-wma"
Case "mpg", "mpeg" : contentType = "video/mpeg"
Case "avi" : contentType = "video/avi"
Case "mp4" : contentType = "video/mp4"
Case "wmv" : contentType = "video/x-ms-wmv"
Case "pdf" : contentType = "application/pdf"
Case "doc", "dot", "docx", "dotx" : contentType = "application/msword"
Case "csv" : contentType = "text/csv"
Case "xls", "xlt", "xlsx", "xltx" : contentType = "application/x-msexcel"
Case Else : contentType = "application/octet-stream"
End Select

to

 

Select Case extension.ToLower
Case "txt" : contentType = "text/plain"
Case "htm", "html" : contentType = "text/html"
Case "rtf" : contentType = "text/richtext"
Case "jpg", "jpeg" : contentType = "image/jpeg"
Case "gif" : contentType = "image/gif"
Case "bmp" : contentType = "image/bmp"
Case "png" : contentType = "image/png"
Case "mp3" : contentType = "audio/mpeg"
Case "wma" : contentType = "audio/x-ms-wma"
Case "mpg", "mpeg" : contentType = "video/mpeg"
Case "avi" : contentType = "video/avi"
Case "mp4" : contentType = "video/mp4"
Case "wmv" : contentType = "video/x-ms-wmv"
Case "pdf" : contentType = "application/pdf"
Case "csv" : contentType = "text/csv"
Case "doc", "dot" : contentType = "application/msword"
Case "xls", "xlt" : contentType = "application/x-msexcel"
Case "xlsx" : contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Case "xltx" : contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.template"
Case "potx" : contentType = "application/vnd.openxmlformats-officedocument.presentationml.template"
Case "ppsx" : contentType = "application/vnd.openxmlformats-officedocument.presentationml.slideshow"
Case "pptx" : contentType = "application/vnd.openxmlformats-officedocument.presentationml.presentation"
Case "sldx" : contentType = "application/vnd.openxmlformats-officedocument.presentationml.slide"
Case "docx" : contentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
Case "dotx" : contentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.template"
Case "xlam" : contentType = "application/vnd.ms-excel.addin.macroEnabled.12"
Case "xlsb" : contentType = "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
Case Else : contentType = "application/octet-stream"
End Select