Showing posts with label reportserver. Show all posts
Showing posts with label reportserver. Show all posts

Sunday, March 25, 2012

Calling Reports without URL

Hi,

I am working in SSRS2005.creating reports using VS2005 and deploying reports in report server(http://localhost/reportserver/).
I am using URL for calling reports.
Now,I am working on another application which is runing on session.I am asked to develop a report for this session application.In this application security is an important factor.

Without explicitly calling an URL how can I call a report in a button click event .I tried using Iframe.Is there any other way.

Help me in this regard.

Thanks,
Prabaharaprabu

You could use the report execution web service to render the report and then stream the result via your own website. See the docs here.

http://msdn2.microsoft.com/en-us/library/ms155071.aspx

Let me know if you need more information.

calling report from asp.net page times out

Hello,
I built an aspx page to call a report from reportserver. The report takes
about 2 minutes to run and I am getting a timeout error from reporting web
services. Here is the error:
System.Net.WebException: The operation has timed-out.
at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebReques
t request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at Time.ReportServiceWS.ReportingService.Render(String Report, String
Format, String HistoryID, String DeviceInfo, ParameterValue[] Parameters,
DataSourceCredentials[] Credentials, String ShowHideToggle, String&
Encoding, String& MimeType, ParameterValue[]& ParametersUsed, Warning[]&
Warnings, String[]& StreamIds) in c:\inetpub\wwwroot\Time\Web
References\ReportServiceWS\Reference.vb:line 554
at Time.ReportLib.GenerateReport(String rptPath, String rptFormat,
Hashtable param) in c:\inetpub\wwwroot\Time\ReportLib.vb:line 50
The reprotw orks just fine from the report manager and from Report designer.
I am pretty sure it is a config issue somewhere. Does anyone know what
setting I need to change so that report does not timeout?
Thanks,
BivaBiva,
Wnen you instantiate a new RS object in your code, set the time out
property. Use rs.timeout=XXXXX. The should help,
Or, you should look at the IIS timeout param.
-rwiethorn
"Biva" wrote:
> Hello,
> I built an aspx page to call a report from reportserver. The report takes
> about 2 minutes to run and I am getting a timeout error from reporting web
> services. Here is the error:
>
> System.Net.WebException: The operation has timed-out.
> at
> System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
> request)
> at
> System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebReques
> t request)
> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
> at Time.ReportServiceWS.ReportingService.Render(String Report, String
> Format, String HistoryID, String DeviceInfo, ParameterValue[] Parameters,
> DataSourceCredentials[] Credentials, String ShowHideToggle, String&
> Encoding, String& MimeType, ParameterValue[]& ParametersUsed, Warning[]&
> Warnings, String[]& StreamIds) in c:\inetpub\wwwroot\Time\Web
> References\ReportServiceWS\Reference.vb:line 554
> at Time.ReportLib.GenerateReport(String rptPath, String rptFormat,
> Hashtable param) in c:\inetpub\wwwroot\Time\ReportLib.vb:line 50
> The reprotw orks just fine from the report manager and from Report designer.
> I am pretty sure it is a config issue somewhere. Does anyone know what
> setting I need to change so that report does not timeout?
> Thanks,
> Biva
>
>