I'm running into some problems with a file share used by an ASP.NET web application. With this configuration, there are 2 web servers (win2k8 web) that connect to a file server (win2k8 enterprise), reading and writing files using a file share. Recently, one of the web servers has begun encountering an error accessing the file share:
IOException: The specified network name is no longer available.
There does not appear to be much info on the web for explaining what's causing this and how to best fix it, so I'm looking at what I can monitor in order to get clues. I'm not sure if it's hardware, just a load issue, file size, frequency, etc.
With Windows perfmon, what can I monitor on the File Server side? There's the "Files Open" object, any other good ones?
What can I monitor on the web server side?
EDIT:
I'll add that the UNC path uses the IP address of the file server, not a name to resolve. Also the share is a single, flat directory with over 100K files.
Problems with that kind of message tend not to be file-SYSTEM problems, more file-SERVER issues. Or even web-server issues. That error is generated when the web-server can no longer talk to the file-server for some reason. Perhaps the pre-existing connection got reset and hasn't renegotiated yet. Perhaps name-resolution on the web-server is broken to the point where \\server\fileshare no longer can be resolved into something connectible. Both of these cause the above message and don't have any counters in perfmon.