开发者

COM Invoke failed: Error 0x800706BE

All,

I have a COM Server Component (a .Dll) which is developed by someone. When I invoke (using invoke()) a function in that COM Server, it throws the error 0x800706BE -The remote procedure call failed. Interestingly it throws this error only few times!!. it works fine for the rest of the times!!.

The issue is reported in a windows 2k8 64 bit OS & Win 7 32 bit.

  1. Any idea what could be the issue?
  2. would it an issue with the COM Server or COM Client ?
  3. is there any way by which I c开发者_如何学Can narrow down to know the culprit?

Thanks, Bytes


ok. It seems I have found out the problem. The COM Server(.dll) was crashing the moment I called Invoke() on that. The problem seems to be in the COM Server. Hope it will be helpful for someone.


1 : Open an elevated command prompt. To do this, swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search. Type Command Prompt in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.

2 : Type the following commands. Press Enter after each command.
Note: It may take several minutes for each command operation to be completed.

DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth

3 : Close the command prompt, and then run Windows Update again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜