Re: Exceptions RPC_S_UNKNOWN_IF

Tech-Archive recommends: Fix windows errors by optimizing your registry



I thought you were going down that road too... I did have problems the first
time I ran the servers on a system that had XP SP2 installed, But I have
fixed that issue months ago..

This problem I know has existed before I installed Windows 2003 SP1 on my
server(s), But have ignored it for a while, but since I'm getting closer and
closer to actual release, I'm trying to weed out all of the bugs that I can
find..

Any idea??

For the mean time, I think I have a "work around" that will fix this issue,
(a retry loop) But would like an actual fix... or a reason why? Do you
need to see any other code? or anything?

Thanks,
Weston Fryatt



"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:%23Y58lQkQFHA.1236@xxxxxxxxxxxxxxxxxxxxxxx
> W2003 SP1 have the same features asXP SP2 , but you said that it happen
> after long period so can't be the problem I thought , at least directly
> Arkady
>
> "Weston Fryatt" <wfryatt "at" mlinks.net> wrote in message
> news:%23q7KmNcQFHA.2520@xxxxxxxxxxxxxxxxxxxxxxx
> > Windows 2003 Server Enterprise Edition with SP1
> > Running on an HP ML 350 Server with dual Xeon processors at 3.06 Ghz
> >
> > What gets me, Is this exception only happen after ever few thousand
calls
> > to
> > my rpc functions. Its not predictable in anyway.. My stress test program
> > can
> > make it happen within a few minute or it may take it running over night
to
> > see the exception. Here is my log from last night run. I'm also seeing
> > these
> > same error in production under everyday normal usages.
> >
> > 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?
> >
> >
> >
> >
> > "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
> > news:%23xN0arZQFHA.3880@xxxxxxxxxxxxxxxxxxxxxxx
> >> Some changes in RPC done for secure communications in XP SP2 , is that
> > your
> >> OS ?
> >> Arkady
> >>
> >> "Weston Fryatt" <wfryatt "at" mlinks.net> wrote in message
> >> news:OAm%23XdXQFHA.4020@xxxxxxxxxxxxxxxxxxxxxxx
> >> > 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);
> >> > }
> >> >
> >> >
> >> >
> >> > Any ideas? Anyone have this same problem?
> >> >
> >> >
> >> > Thanks,
> >> > Weston Fryatt
> >> >
> >> >
> >>
> >>
> >
> >
>
>


.



Relevant Pages

  • Re: Exceptions RPC_S_UNKNOWN_IF (SOLVED)
    ... as long as everything is single threaded because I was setting the xhandle ... > closer to actual release, I'm trying to weed out all of the bugs that I ... > But would like an actual fix... ... Is this exception only happen after ever few thousand ...
    (microsoft.public.win32.programmer.networks)
  • Re: Very strange "input string not in correct format" bug
    ... the trick of changing locale to something else and then back again did ... I hope Microsoft can eventually find and fix this! ... I tried to reproduce the exception by setting the thread culture to all ... cultures are the UI cultures but, I'd rather check first what are the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Checking for null parameter
    ... it throw a checked exception? ... How can you fix what you can't detect? ... before calling a method? ... Isn't this the same thing as if a NPE was thrown? ...
    (comp.lang.java.programmer)
  • RE: CheckSuspiciousPhysicalPath issue in ASP.Net Framework 1.1 SP1 fix
    ... This fix is included ... An unhandled exception occurred during the execution of the ... > current web request. ... > Char[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot add user to WSS3
    ... Even if the fix is tedious, ... is to stsadm -o export each site, sub site and sub sub site and so on, ... Delphi Technology Solutions ... Exception Occurred. ...
    (microsoft.public.sharepoint.windowsservices)