Word遇到运行时错误5121 vb.net

问题描述:


我的桌面应用程序使用oracle数据库以BLOB类型存储单词字母模板,然后从不同的应用程序中检索字母。

My desktop application uses oracle database to store word letter templates in BLOB type and then retrieve the letter from different application.


之前它运行正常,但现在从过去2天开始在检索打开字母时收到以下错误消息:

Previously it was running fine but now from past 2 days I am getting the below error message in retrieving\opening the letter:


运行时错误5121:

Runtime error 5121:


Word遇到错误尝试建议:*检查文件权限*确保有足够的可用内存*使用文本恢复打开文件

Word experienced an error Try suggestions: * check the file permissions * Make sure there is sufficient free memory * Open the file with the text recovery


我认为这是有道理的。有什么建议吗?

I think it is some thing with word. Any suggestions??


我在我的机器上保存了单词字母并尝试打开它。再次出现同样的错误 - Word遇到错误.......

I save the word letter on my machine and tried to open it. Again I got the same error - Word experienced an error.......


然后我转到word文档的属性,在自定义选项卡中我更改了任何自定义属性值然后应用。

Then I go to the properties of word document and in custom tab I changed any custom property value and then apply.


然后令人惊讶的是word文档打开完美。

Then surprisingly word document opens perfectly.


它与任何特定的自定义属性无关,但我认为更改任何值都会设置文档的一些延迟。

It is not related to any specific custom property but I think changing any value will set some persmissions of the document.


如果我在word文档中有任何常见设置,请告诉我,我可以更改并正确打开单词字母而不会出错。

Please let me know if any common settings are ther in word doc which can i change and let the word letter open properly without error.