243dotZero
Programmer
I am currently writing a front end application using Visual Basic and the MS COM SDK. I can run a report that resides within a MS project, but afterwards the report is not cached (i.e., it does not show up in the Cache Monitor when I visit the project as an administrator through Desktop). As a result, the next instance of the report takes almost as long to run as the first instance did.
I found that there are execution flags that can be set to manage the cache. I tried to set some but still no luck. Here is the command that executes the report:
objReportServer.Execute objReportInstance, DssActionExecuteAll, DssReportRunSynch + DssReportUpdateAllCache + DssReportUseAllCache
Does this look right? Does anyone know how I can get MS to perform the caching of reports that I call through the SDK?
Thanks for your thoughts.
I found that there are execution flags that can be set to manage the cache. I tried to set some but still no luck. Here is the command that executes the report:
objReportServer.Execute objReportInstance, DssActionExecuteAll, DssReportRunSynch + DssReportUpdateAllCache + DssReportUseAllCache
Does this look right? Does anyone know how I can get MS to perform the caching of reports that I call through the SDK?
Thanks for your thoughts.