value.dat access denied

2 posts, 0 answers
  1. Anton
    Anton avatar
    1 posts
    Member since:
    Aug 2019

    Posted 09 Sep Link to this post

    On our test server if we set Storage to default location which is in C:\Windows\TEMP folder we get unauthorized access exception, would setting Storage to "C:/Temp" cause any security issues, or are there better standard locations for storing temp files?

    Telerik.Reporting.Services.ReportServiceConfiguration ReportConfiguration = new Telerik.Reporting.Services.ReportServiceConfiguration
        {
            ReportResolver = new ReportFileResolver(HttpContext.Current.Server.MapPath("~/MyReports"))
                    .AddFallbackResolver(new ReportTypeResolver()),
            Storage = new Telerik.Reporting.Cache.File.FileStorage()
        };

     

  2. Silviya
    Admin
    Silviya avatar
    414 posts

    Posted 12 Sep Link to this post

    Hi Anton,

    The recommended location used by the storage is the default windows temp folder and you would have to make sure that the IIS process has read/write access for this folder. To give access to the folder go to Properties - Sharing|Security options or change the used application pool's Identity through IIS Manager.

    Still, you can change the default folder using the second overload of the FileStorage and passing any custom folder location that the IIS process has access to.

    For more information, check Error registering the viewer with the service. Access to the path X is denied.

    Best Regards,
    Silviya
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top