403 error from app requesting report rendering

db042190 1,516 Reputation points
2020-08-20T15:38:32.423+00:00

hi i'm geting particulars on the calling app but a peer of mine trying to render my report from his app got the following error. i reached out to him to determine if he entered the ssrs report directory correctly but if the community can offer insight on what else this might be pls help. when i see ssrs refusing something, i think first of those server settings you often have to enable on the engine server in order for it to take requests from outside of the server itself...

**** Error [8/19/2020 3:11:56 PM] *****
Experienced an exception while executing [ReportItemExists]; The request failed with HTTP status 403: Forbidden.
System.Web.Services
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.GetItemType(String ItemPath)
at Mongoose.MGReportProcessor.SsrsReportProcessor.ReportItemExists(String reportServerDeploymentMode, String reportServerUrl, String itemPath, String itemType)

***** Error [8/19/2020 3:11:56 PM] *****
Experienced an exception while executing [ReportItemExists]; The request failed with HTTP status 403: Forbidden.
System.Web.Services
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.GetItemType(String ItemPath)
at Mongoose.MGReportProcessor.SsrsReportProcessor.ReportItemExists(String reportServerDeploymentMode, String reportServerUrl, String itemPath, String itemType)

***** Error [8/19/2020 3:11:57 PM] *****
Experienced an exception while executing [RenderReport]; Unable to connect to the remote server
System
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.ListSecureMethods()
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods()
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.SetConnectionSSLForMethod(String methodname)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.ExecuteTReturn
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.GetParameters()
at Mongoose.MGReportProcessor.SsrsReportProcessor.RenderReport()
<InnerException>No connection could be made because the target machine actively refused it xx.xxx.x.xxx:xxx</InnerException>

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,940 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZoeHui-MSFT 37,671 Reputation points
    2020-08-21T02:42:02.667+00:00

    Hi,

    From the error message, I assume that the report server refused the request from the app.

    I think the issue is more likely to be related with the development of the app.

    I did some research locally.

    Someone said that this error occurred when your firewall blocking the connection or process that is hosting the service is not listening on that port.

    Refer these links to see if it can be useful:

    1223846.aspx
    System-Net-Sockets-SocketExcep
    no-connection-could-be-made-because-the-target-machine-actively-refused-it

    Regards,

    Zoe


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.