The information in this article applies to:
SYMPTOMSThe Winsock API GetAddressByName() fails with error 2 (ERROR_FILE_NOT_FOUND) when trying to obtain information on a particular service. CAUSEThis only occurs on computers with fresh installs of Windows 95 that have never had either the Microsoft TCP/IP protocol or the Microsoft Client for Netware Networks installed. RESOLUTIONTo alleviate this problem, create a registry key named ExcludedProviders under:
Once you have created this key, there will be the following default string
pair:
(Default)=(value not set)Click on (Default), and then right-click to choose modify. A dialog box where you can change the value data appears. Make sure that the value data field is totally empty, and then click OK. The new value pair will look as follows: (Default)="" STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSample CodeThe following code attempts to find information on a Netware File Server Service. The call to GetAddressByName() will fail with error 2 if you meet the criteria mentioned previously.
Additional query words: Netware GetAddressByName
Keywords : kbnetwork kbAPI kbSDKPlatform kbWinOS95 kbWinsock kbGrpNet |
Last Reviewed: October 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |