Note that there are some explanatory texts on larger screens.

plurals
  1. POURL Rewrite of virtual directory to retrieve SSRS report
    primarykey
    data
    text
    <p>Has anyone ever used reverse proxy through a URL rewrite established within a virtual directory within an IIS 7.5 ASP.NET application to retrieve an SSRS report from another server? </p> <p>The SSRS report can be viewed from the web server using a web browser by browsing to the URL of the report so there is no problem with accessibility. The SSRS report does prompt for credentials so this may be a problem, but I am wondering why the credential request would not be a part of the HTTP request being sent back to the browser.</p> <p>The URL rewrite config located in the "ssrs" virtual directory looks like this:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;rewrite&gt; &lt;outboundRules&gt; &lt;rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1"&gt; &lt;match filterByTags="A, Form, Img" pattern="^http(s)?://http://123.45.678.194/(.*)" /&gt; &lt;action type="Rewrite" value="http{R:1}://website.address.com/{R:2}" /&gt; &lt;/rule&gt; &lt;preConditions&gt; &lt;preCondition name="ResponseIsHtml1"&gt; &lt;add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /&gt; &lt;/preCondition&gt; &lt;/preConditions&gt; &lt;/outboundRules&gt; &lt;rules&gt; &lt;rule name="ReverseProxyInboundRule1" stopProcessing="true"&gt; &lt;match url="(.*)" /&gt; &lt;conditions&gt; &lt;add input="{CACHE_URL}" pattern="^(https?)://" /&gt; &lt;/conditions&gt; &lt;action type="Rewrite" url="{C:1}://http://123.45.678.194/{R:1}" /&gt; &lt;/rule&gt; &lt;/rules&gt; &lt;/rewrite&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre> <p>The error I receive when I browser to <a href="https://website.address.com/ssrs/Reports/Pages/Report.aspx?ItemPath=%2fSSRSReport" rel="nofollow">https://website.address.com/ssrs/Reports/Pages/Report.aspx?ItemPath=%2fSSRSReport</a> is 502 - Web server received an invalid response while acting as a gateway or proxy server.</p> <p>There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.</p> <p>I appreciate any help that can be given.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload