Quantcast
Channel: Troubleshooting
Viewing all articles
Browse latest Browse all 1814

IIS can't write logs to a symlink that references a network share

$
0
0
So here is the situation:

We have 100 servers that use the same IIS config file.
For the weblogs we specify C:\logfiles
We are running out of space locally, so we want to change C:\logfiles to a symlink which points to a different share for each computer:
I.E. On server1 C:\logfiles -> \\filer\share1
I.E. On server2 C:\logfiles -> \\filer\share2

IIS is unable to create its weblogs using the symlink and throws an error in event viewer: Unable to create log file C:\logfiles\W3SVC7980\u_ex12010510.log. Make sure that the logging directory is correct and this computer has write access to that directory.

This is not a permissions issue, the ISAPI filters we are running successfully write to C:\logfiles from the same site. I have also confirmed that if the symlink is to another physical path (C:\temp) it works file, it is only when the symlink is a network share that it fails.

Any help would be appreciated. Thanks.


Viewing all articles
Browse latest Browse all 1814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>