|
Environment:
OS: Windows 2003 Server Enterprise Edition with SP1 Hardware: HP ML 350 Server with dual Xeon processors at 3.06 Ghz Language: VC++ 7.1 (unmanaged console app/service) I'm having a weird intermitted bug where when I
call my rpc function call,
It gets an RPC Exception on the client side of "RPC_S_UNKNOWN_IF" (The interface is unknown) (or Exception Code 1717). I know for a fact that the interface is known because the client has made thousands of calls to this same interface over and over again... The other weird issue around this, is it seem to happen more often when the client is on the local machine where the server is at and less often when the client is running on another machine (I'm using TPCIP as my protocol). The code is pretty simple and works very well except for this one problem.. STATUS CRpc::GetPage(const DWORD
DataSize, UBYTE *Data, DWORD &SegType, const DWORD DocID, const DWORD Page,
const DWORD Version)
{ STATUS Status = EC_FAILED; if
(IsConnectedToService(scDocument) ==
false)
Status = ConnectToService(scDocument); else Status = EC_OK; if
(STATUSOK(Status))
{ RpcTryExcept { Status = rpcGetPage(DataSize, Data, &SegType, DocID, Page, Version); } RpcExcept(1) { logfile("rpcGetPage RPC Exception: %d\n", RpcExceptionCode()); Status = EC_RPCCALLFAILED; } RpcEndExcept; } return
(Status);
} Logfile of RPC Exceptions:
04/14/2005 17:06:57.421: rpcCreateDocument: RPC Exception Code:1717 04/14/2005 19:20:30.125: rpcCreateDocument: RPC Exception Code:1717 04/14/2005 19:57:45.734: rpcCreateDocument: RPC Exception Code:1717 04/14/2005 20:11:29.656: rpcCreateDocument: RPC Exception Code:1717 04/14/2005 20:38:29.515: rpcGetPage: RPC Exception Code:1717 04/15/2005 02:06:10.875: rpcGetPage: RPC Exception Code:1717 04/15/2005 02:37:32.250: rpcCreateDocument: RPC Exception Code:1717 04/15/2005 04:31:57.828: rpcGetPage: RPC Exception Code:1717 04/15/2005 04:48:49.906: rpcGetPage: RPC Exception Code:1717 04/15/2005 05:54:20.562: rpcGetPage: RPC Exception Code:1717 Any ideas? Anyone have this same
problem?
Thanks,
Weston Fryatt
|
_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
