Unauthorized Access Exception
Error Message
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Access to the path '…\ConversionServer\temp\...’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
…
Solution
The following steps outline the solution to the Unauthorized Access Exception:
- Navigate to the
ConversionServerfolder following the path given in the error message. - Right-click the
ConversionServerfolder and click Properties. - On the Security tab, click Advanced.
- Click Change Permissions.
- Click Add.
- Type Everyone and click OK.
- Select the Full control checkbox for Access and Allow for Type.
- Click OK.
- Select Replace all child object permissions with inheritable permissions from this object.
- Click Apply and click Yes when prompted.