New to Telerik Reporting? Download free 30-day trial

Error registering the viewer with the service. Access to the path X is denied.


Product Progress® Telerik® Reporting
Viewers All

Error Message

Error registering the viewer with the service.
An error has occurred.
Access to the path 'C:\Windows\TEMP\\**NAME**\\**VERSION**\LCT\value.dat' is denied.

Where NAME is the name of the application and VERSION is the currently installed on the machine version of the product

Cause\Possible Cause(s)

The error message "Access to the path X is denied" indicates that the Telerik Reporting REST service cannot access the configured file storage. By default, user temp folder will be used as a storage which is 'C:\Windows\TEMP' in this case.


Test changing the default folder using the second overload of the FileStorage and passing the custom folder location. The changes need to be made in ReportsController.cs file where the settings of the Reporting REST service are defined.

Example of ReporsController which connects the REST Service and HTML5 Report Viewer:

public class ReportsController : ReportsControllerBase
    static ReportServiceConfiguration configurationInstance;

    static ReportsController()
        var appPath = HttpContext.Current.Server.MapPath("~/");
        var reportsPath = Path.Combine(appPath, "Reports");

        var resolver = new ReportFileResolver(reportsPath)
            .AddFallbackResolver(new ReportTypeResolver());

    //Setup the ReportServiceConfiguration
        configurationInstance = new ReportServiceConfiguration
            HostAppId = "Html5App",
            Storage = new FileStorage("C:\MyFolder"),
            ReportResolver = resolver,

    public ReportsController()
        this.ReportServiceConfiguration = configurationInstance;

Make sure that the IIS process has read/write access for the folder used by the storage. To give access to the folder go to Properties - Sharing|Security options or change the used application pool's Identity through IIS Manager.

In case of different instances of the application running, set a unique HostAppId for each instance of the Reporting REST Service. Another approach is using MsSqlStorage or Redis, which are suitable for multiple instance environment. The settings must be added in the ReportsController.cs. The appropriate cache storage options should be considered depending on the hosting environment. Please check the available options in REST Service Storage.

In this article