The report viewer is blank just with tool bar. How can i solve this?
But i can Download the the File.
If i try to generate the same report in new tab the Web Browser is crashing.
What can cause the crashing of the browser?
And to generate this report i have to set a max number of time out ex. 1000 for
Code: Select all
StiNetCoreViewer
Server =
{
RequestTimeout = 1000, // The idea is to let the server timeout or throw an exception. This value is then higher than the server is expected to be.
UseCompression = false,
CacheMode = StiServerCacheMode.ObjectCache,
CacheTimeout = 10, // Default value is 10, but putting here so intentions are clear.
CacheItemPriority = CacheItemPriority.AboveNormal,
AllowAutoUpdateCache = true
}
Code: Select all
foreach (var ds in report.DataSources.Items)
{
if (ds is StiSqlSource dataSource)
{
dataSource.CommandTimeout = 1000;
}
}
If i remove dataSource.CommandTimeout = 1000; this from controller side then, its throwing the Fatal Error.
Do we have to set a higher number for both to fetch the large data?