When installing or upgrading Secret Server, the following exception, or similar, occurs:
System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\wwwroot\<Secret Server Install Folder>\ActiveDirectoryDomain.aspx' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
...
User: NT AUTHORITY\NETWORK SERVICE
To resolve this exception the account that Secret Server runs as, in this case "Network Service", needs to be given modify permissions on the Windows directory where Secret Server is located.
- In Windows Explorer, navigate to the directory where the Secret Server installation .zip file was extracted to and was set up as a virtual directory in IIS.
- Right click and select "Properties" and then the "Security" tab
- Either add the account Secret Server runs as with "Modify" permissions, or if it already has access, give it "Modify" permissions.
Article ID: 118, Created On: 10/14/2010, Modified: 10/14/2010