Article View: borland.public.cppbuilder.internet.socket
Article #1609Both local and domain user produce API ASync Lookup error ?
From: Quentin David Jones
Date: Fri, 08 Dec 2006 04:43
Date: Fri, 08 Dec 2006 04:43
44 lines
2632 bytes
2632 bytes
Hi again, OK, I made changes as suggested: * start socket INactive, switched on in ServiceStart * useEvent log for output For user names (ServiceStartName and Password in service properties), I have tried 3 options: quentin.jones, password .\quentin.jones, password quentin.jones@romteck.com, password I also looked under the LOGIN tab for the service, and enabled Login as Service for both quentin.jones and quentin.jones@romteck.com (and asked our support people to set Login as Service for that user on the MMC.) I know you said it wasn't needed, but I thought I try it - it didn't help. Note: When I entered quentin.jones, it changed to .\quentin.jones, so that's why I tried that option. So, here is the current situation - For BOTH local user .\quentin.jones and domain user quentin.jones@romteck.com I get the following result : Step A - Build and install the service (command line "datesvcserver /install") The service installs without error, and appears in the SCM. Step B - START the service. This produces two events immediately: 1. Application event "Socket activated" - as expected 2. ERROR event " Windows socket error: The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for (11004), on API 'ASync Lookup'. " Will post new code below. What on earth is this ASync Lookup error caused by? (Note that it only shows in Event Viewer now, not as a Windows error popup.) Quentin
Technical Details
Message-ID:
<4578ed46@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4578ba1b@newsgroups.borland.com> <4578bc9c$1@newsgroups.borland.com> <4578d02b$1@newsgroups.borland.com> <4578dae2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c2ba0c1ed7538b68 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Quentin David Jones" <quentin.jones@romteck.com.spamprotect> Newsgroups: borland.public.cppbuilder.internet.socket References: <4578ba1b@newsgroups.borland.com> <4578bc9c$1@newsgroups.borland.com> <4578d02b$1@newsgroups.borland.com> <4578dae2$1@newsgroups.borland.com> Subject: Both local and domain user produce API ASync Lookup error ? Date: Fri, 8 Dec 2006 13:43:36 +0900 Lines: 46 Organization: Romteck P/L X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 203.59.8.178 Message-ID: <4578ed46@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1165552966 203.59.8.178 (7 Dec 2006 20:42:46 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail