NetFileGetInfo() Returns "Error File Not Found" When Expected to Return "Error Invalid Level"

Article translations Article translations
Article ID: 289173 - View products that this article applies to.
This article was previously published under Q289173
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

When the NetFileGetInfo function for Windows 2000 calls the API with an invalid level number (a level number other than 2 or 3), the function returns ERROR_FILE_NOT_FOUND instead of ERROR_INVALID_LEVEL.

CAUSE

This behavior occurs because the NetFileGetInfo function incorrectly returns ERROR_FILE_NOT_FOUND when the number of files read is zero.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Windows 2000 Service Pack 2.

MORE INFORMATION

The NetFileGetInfo function retrieves information about a particular opening of a server resource.

Properties

Article ID: 289173 - Last Review: October 23, 2013 - Revision: 3.2
APPLIES TO
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbprogramming KB289173

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com