Re: RpcNsBindingLookupBegin() returns 1761:'The entry is not found'



See below...
On Mon, 9 Mar 2009 10:59:47 -0400, "Chris H" <humme.chris@xxxxxxxxxxxxxxx> wrote:

I am trying to fix an old program that used to work. The function that
fails is:

status = RpcNsBindingLookupBegin(RPC_C_NS_SYNTAX_DEFAULT EntryName,
Recipe_Transfer_ServerIfHandle, NULL, 0, &LookupContext);

****
I presume there is a DECLARATION of the variable "EntryName", and that furthermore this
variable ACTUALLY HAS A VALUE!

I presume that the Recipe_Transfer_ServerIfHandle has a declaration, and that this
declaration has a value as well.

Given you have indicated you want the default syntax, you have not indicated what value
your
HKLM\Software\Microsoft\Rpc\NameService\DefaultSyntax
HKLM\Software\Microsoft\Rpc\NameService\DefaultEntry

keys have, or how these compare to what you were using in NT 3.51.

Admittedly, the documentation is pretty crappy, but there is no information you have
provided that would make it possible to reproduce or analyze this problem.
****


Back in the old days, 1990's NT3.51, this code almost never failed, if it
did fail you just restarted the program and it would work. Once you get past
this the program has always worked correctly. Over the years, with new
versions of Windows and installing more other programs, the failure rate
increased. Now it fails almost every time. The error code is 1761:'The
entry is not found'.
****
Perhaps the entry you are asking for does not exist in newer operating systems? Since you
didn't indicate what the value was, or how you got it, there is no way to know why you are
getting this message.
****



If there is a better place to ask this question please let me know.
****
This may be the right place, but what we need is a better question. One which provides
enough information that we could actually have some hope of reproducing the problem and
analyzing the failure.
joe
****



Thanks in advance

Chris

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: RpcNsBindingLookupBegin() returns 1761:The entry is not found
    ... The declaration is: ... I presume that the Recipe_Transfer_ServerIfHandle has a declaration, ... Now it fails almost every time. ... PC to data files on another PC. ...
    (microsoft.public.vc.mfc)
  • Re: Public variable
    ... Public iMonth As Long ... Public eMonth As Long ... fails to compile because it says the variables aren't defined. ... I am setting up a public variable in the declaration section of my ...
    (microsoft.public.excel.programming)
  • Re: Problem with RegSetValueExLong under XP
    ... Under XP, it fails. ... it's the declaration (so be sure to ... Win9x is frequently more forgiving ...
    (microsoft.public.vb.winapi)
  • Trouble with copy and paste
    ... fails because "Paste" is greyed out on the drop down "Edit" menu. ... well if I start a new spreadsheet, so I presume I have inadvertently altered ...
    (microsoft.public.excel.programming)
  • Prune problems with find.
    ... I presume I'm doing something stupid, ... And is listed highest in the precedence order, and surely if the LHS ... fails, ...
    (comp.unix.questions)

Loading