I am booting a PXE image via TFTP and getting an error that I cannot resolve. Basically, upon the image booting, it is supposed to download a configuration file with the extension ".txt" from the same server that it got its image from. It's loading the image fine, but it will not download the config file. When I use the shell to browse to the folder where the config file is supposed to be located, there is a .tmp file. Opening it with notepad shows an HTML 404 page.
The home directory is "C:\Root." The file that needs to be downloaded is "C:\Root\Configs\config.txt." The log file shows the 404 on a GET request for "/Root/Configs/config.txt."
In the IIS log, I am showing a GET request from the client for that file, and it is throwing a 404.0 error with Win32 status 3, both indicating the the file is not found. However, when I browse on the server to that file, it is there, and the path is correct. I have checked the home directory as well, and compared all of the settings against another IIS instance running the same system, and I can't figure out what the issue is.
The specific windows error is: "The system cannot find the path specified". Are you sure the resulting path points to a directory that exists?
What's the extension of the file that's giving 404? Make sure you add it to the MIME types in IIS, since IIS will, by default, serve a 404 for any file extensions you haven't configured there (it's a security feature, I think). Right click the server node in IIS Manager, choose Properties, and click the MIME Types button.
Every time I run into this problem, I usually have to sit and stare blankly for at least a few minutes before I remember to do this.