I am setting up a new infrastructure with multiple web servers with a single shared config and files. The servers are Windows Server 2012, not on a domain.
I have set up a user iisconfig on both machines, with the same password. That user also has the 'log on as a batch job' rights assignment.
I have a share on FS01 called IISConfig, "iisconfig" has full control, "users" has full control.
WEB01 is set up with shared config to \\FS01\IISConfig, with creds of "iisconfig" and the password. Seems to work fine, config files show up on the share.
However, if I try to edit any configuration in IIS now, I get an error
There was an error performing this operation.
Details:
Filename \\?\UNC\FS01\IISConfig\applicationHost.config
Error: Cannot write configuration file.
Weird thing is, if I manually go to that share in Explorer, and authenticate with the same username and password, I can see and edit the files, and after that IIS will save config. But only until a restart clears the manually-entered cached credentials.
It's almost like IIS isn't using the credentials I've given it.
SYSTEMto make sure it is available for all users and services? – Cylindric Jan 21 at 12:05