得到错误“消息过滤器指示应用程序正忙。 (来自HRESULT的异常:0x8001010A(RPC_E_SERVERCALL_RETRYLATER))" [英] Getting an error " The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))"

查看:295
本文介绍了得到错误“消息过滤器指示应用程序正忙。 (来自HRESULT的异常:0x8001010A(RPC_E_SERVERCALL_RETRYLATER))"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个Web应用程序(asp.net),我需要打开MsWord文档并将其转换为HTML格式。我写了C#代码使用Microsoft Office Interop dlls.This工作得非常好。但是当我尝试以编程方式打开文档时,它有时会失败,如下所示:



Microsoft.Office.Interop。 Word.Document doc = wordApp.Documents.Open(filename,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing);



我收到此错误:



消息过滤器指示应用程序正忙。 (来自HRESULT的异常:0x8001010A(RPC_E_SERVERCALL_RETRYLATER))



我在这个论坛中遇到了类似的查询,但提供的解决方案对我没有帮助(



开放和编辑来自asp.net应用程序的word文档 [ ^ ])



任何人都可以放光吗?谢谢。

Hi,

I have a web application (asp.net) in which i need to open the MsWord document and convert it into HTML format.I wrote C# code using Microsoft Office Interop dlls.This works perfectly fine.But sometimes it will fail when i try to open the document programatically as below:

Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open(filename, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing);

I''m getting this error:

The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))

I came across the similar query in this forum but the solution provided didnt help me (

opening and editing word document from asp.net application[^])

Can anyone shed any light? Thank you.

推荐答案

我能给你的唯一提示是这个帖子:

http://msdn.microsoft.com/en-us/library/ms228772.aspx [ ^ ]



如果这样你不应该向Office MVP提出问题这里 [< a href =http://social.msdn.microsoft.com/Forums/en-US/vsto/threadstarget =_ blanktitle =New Window> ^ ]。
The only hint I could give you is this thread:
http://msdn.microsoft.com/en-us/library/ms228772.aspx[^]

If this does nto help you you should ask the question to one of the Office MVP here[^].


我有同样的问题,我的解决方案是睡眠线程。希望它可以提供帮助。



vandyke
i have same issue and my solution is sleep the thread. hope it can help.

vandyke


这篇关于得到错误“消息过滤器指示应用程序正忙。 (来自HRESULT的异常:0x8001010A(RPC_E_SERVERCALL_RETRYLATER))&quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆