Re: RpcNsBindingLookupBegin() returns 1761:'The entry is not found'
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Mon, 09 Mar 2009 15:26:21 -0500
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
****
Joseph M. Newcomer [MVP]
Thanks in advance
Chris
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- References:
- Prev by Date: Re: Is IpRenewAddress synchrouous or asynchronous call ??
- Next by Date: Re: CPtrArray/Heap failed...
- Previous by thread: Re: RpcNsBindingLookupBegin() returns 1761:'The entry is not found'
- Next by thread: Re: RpcNsBindingLookupBegin() returns 1761:'The entry is not found'
- Index(es):
Relevant Pages
|
Loading