Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

ServerReport.Render to EMF format is very slow when accessed remotely

$
0
0

Hi,

I have a winform app, I'm also using SSRS 2008 R2, within the app I create a stream in EMF format which I then push to a selected printer..  the code below works quickly when on the local network, however when run on a remote network using vpn to access the SSRS server the report.render into emf format takes like 10 mins.  If I ask the server to render into a TIFF or other format then the Render only takes about 20 seconds,  Can someone please tell me what's up.  and how this can be resolved..

            string deviceInfo = "<DeviceInfo><OutputFormat>EMF</OutputFormat></DeviceInfo>";
            System.Collections.Specialized.NameValueCollection urlAccessParameters = new System.Collections.Specialized.NameValueCollection();
            urlAccessParameters.Add("rs:PersistStreams", "True");

            Stream reportStream =
                report.Render("Image", deviceInfo, urlAccessParameters, out mimeType, out extension);

thanks,


Viewing all articles
Browse latest Browse all 1418

Trending Articles