Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 RpcBindingFromStringBinding 从MS-RPC客户端连接到本地守护程序服务器,反之亦然。我使用LRPC或本地命名管道。从第一次尝试开始随机调用NdrClientCall2失败,如果服务器还活着,事件error code是-2147467259. 释放绑定并创建新的并执行请求无济于事。Excel进程加载项启动Daemon进程时重现,既可以是服务器,也可以是客户端。无法在 2 个控制台可执行文件上重现。有任何想法吗?
MS-RPC
LRPC
NdrClientCall2
error code
-2147467259
Daemon
I used RPC from C#. During start I got GC of RPC server handles. Not reproduced in tests until GC calls.