ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\SWCM\App_Data\vs_2ec9fcdd-8f0f-43b1-8eab-a67df89aa405_UserLogin' is denied.

book

Article ID: 53423

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager Compliance Manager for z/OS CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description

The following error is received when trying to access localhost\swcm or <servername>\swcm Error:System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\SWCM\App_Data\vs_2ec9fcdd-8f0f-43b1- 8eab-a67df89aa405_UserLogin' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path) at CA.Common.Caching.FilePageStatePersister.Save_AT_RR_WRAPPED() at CA.Common.Caching.FilePageStatePersister.Save() at System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state) at System.Web.UI.Page.SaveAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint))

Solution

This error is caused by IIS running in IIS 5 Isolation Mode.
To correct this behavior, change the web sites to run in Worker Process Isolation mode On the web server.

  1. Open Internet Information Services
  2. Expand the local computer node
  3. Right Click on Web Sites
  4. Select Properties
  5. On the Properties page, select the Service tab
  6. Uncheck "Run WWW service in IIS 5.0 isolation mode".
  7. Click OK

Environment

Release:
Component: BITCM