This is a migrated thread and some comments may be shown as answers.

Change destination of folder reports are "Rendered" in

8 Answers 596 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 15 Jan 2013, 10:39 PM
Hello,

We have an issue with one of our production systems, where we do not have a great deal of storage space on the primary drive of the server (Primary being C:\, where Windows lives). This causes issues, because we have functionality in place that can generate reports that are actually larger than we have disk space available. In an effort to fight this (without upgrading these servers), I was wondering if there was a way to tell Telerik Reporting use a different folder when it's creating the report? Alternatively, if we knew the size of the report, we could check to ensure that amount of space was available, but, I don't think we can determine the size of a file that hasn't yet been created, the best we could do would be a guestimate based off the amount of data.

Anyone else have an issue similar to this?

Any suggestions would be great!

Thanks,

Travis

8 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Jan 2013, 12:59 PM
Hi Travis,

You can change the cache provider path for storing temporary files as elaborated in the Cache Management help articles. Our suggestion is to review the help articles on the topic to select the best configuration for your environment.

All the best,
Peter
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Travis
Top achievements
Rank 1
answered on 17 Jan 2013, 03:18 PM
Hi Peter,

Thank you for your reply. We did look into adjusting the Cache provider, and pointing it at a different location (the D:\ drive), but I wasn't clear on whether or not this would achieve the result I was looking for. I could very well be incorrect about the process, but, wouldn't specifying the cache provider result in the file still be generated on the C:\ drive, but will be cached and stored on the D:\ once the file is generated?

If not, then we;ll move forward with this solution.

Thanks,

Travis
0
Peter
Telerik team
answered on 21 Jan 2013, 04:33 PM
Hello Travis,

The files are generate and cached on the specified BasePath. You can proceed with the suggested solution.

Greetings,
Peter
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Travis
Top achievements
Rank 1
answered on 21 Jan 2013, 08:12 PM
Hello,

What version of the .NET framework do we require our application to run on in order to make use of File Caching in this way, is it 3.5?
0
Patrick
Top achievements
Rank 1
answered on 21 Jan 2013, 08:32 PM
Hello,

I am working with Travis on this issue. When I add the Cache tag to the web.config, all of my reports stop working and I get the following:

Unrecognized element 'Cache'. (C:InetpubwwwrootDevelopmentProjectApplicationweb.config line 48)
 
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.HttpContext.GetSection(String sectionName)
at System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName)
at System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at Telerik.Reporting.Processing.Config.ReportingConfiguration.get_Current()
at Telerik.Reporting.Processing.AssemblyRefManager.LoadAssembliesCore()
at Telerik.Reporting.Processing.AssemblyRefManager.LoadAssemblies()
at Telerik.Reporting.Processing.ReportExpressionContext..ctor(IDynamicObject parent, Type reportType)
at Telerik.Reporting.Processing.ParametersManager`1..ctor(IReportDocument definition)
at Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager()
at Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at Telerik.ReportViewer.WebForms.ReportParametersOperation.PerformOperationOverride()

Here is how it is in the web.config:
<Telerik.Reporting>
    <Cache provider="File">
      <Providers>
        <Provider name="File">
          <Parameters>
            <Parameter name="BasePath" value="E:\HF_RadTemp"/>
          </Parameters>
        </Provider>
      </Providers>
    </Cache>
        <Extensions>
            <Render>
                <Extension name="PPTX" visible="false">
                </Extension>
                <Extension name="IMAGE" visible="false">
                </Extension>
            </Render>
        </Extensions>
    </Telerik.Reporting>

0
Steve
Telerik team
answered on 22 Jan 2013, 07:50 AM
Hi guys,

You're using an older version of Telerik Reporting where the caching did not exist. Please upgrade to the latest Q3 2012 SP1 release and let us know if further help is needed.

All the best,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Jeff
Top achievements
Rank 1
answered on 26 Jun 2013, 07:04 PM
Hi there,

Would someone at Telerik please divulge the default path for this Reporting file caching?

I understand how to set the path, but if we don't explicitly set it we need to know where's it's being created.

You guys rock!

Thanks in advance,
Jeff
0
Peter
Telerik team
answered on 27 Jun 2013, 01:41 PM
Hi Jeff,

We use the temporary folder provided by System.IO.GetTempPath. By default this is C:\Temp but may differ according the environment.

Regards,
Peter
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

Tags
General Discussions
Asked by
Travis
Top achievements
Rank 1
Answers by
Peter
Telerik team
Travis
Top achievements
Rank 1
Patrick
Top achievements
Rank 1
Steve
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or