This error generally occurs when a file name or directory has been specified in the Look in list and that file name or directory does not exist or cannot be found. This error can also appear if you specify a valid directory that does not contain the file extension specified in the File types list or the directory specified does not contain any files.
To correct this error
-
Use the Custom Directory Set dialog box to browse to the directory or file name to search rather than typing in the path or file name. You can access the Custom Directory Set dialog box by choosing the ellipsis button next to the Look in list.
-
Change the file extension specified in the File types list to *.* to search all files in the specified directory.
See Also
Reference
Find in Files, Find and Replace WindowChoose Search Folders Dialog Box
Other Resources
Finding and ReplacingI am working with VS 2005. Please fix that...
This one will make you chuckle: to fix this error, make sure your IDE has focus and press.. wait for it.. Ctrl+Scroll Lock. I'll say that again.. Ctl+Scroll Lock.
Better believe it.
Credit goes to:
http://blogs.ugidotnet.org/franny/archive/2005/12/08/31303.aspx
DrX