locked
PostBackUrl - Page not loading following image select RRS feed

  • Question

  • User1881562756 posted

    Hello,

    Apologies if cross posting is not allowed but I have also posted this question in Home/ASP.NET Forums/General ASP.NET/Getting Started as I am not sure which area it belongs in.

    This is not my area of expertise so please excuse me if this question is already answered and / or missing some required details.

    I have been tasked with managing the move on an in-house built intranet application from Windows 2003 to Windows 2012 R2.

    The old architecture was a single node running SQL 2005 and SQL Reporting Services with IIS v6.0 hosting the intranet site.

    The new architecture is 1 node running SQL 2016, and a 2nd node acting as an application server running SQL Reporting Services and IIS 8.5 and hosting the intranet site.  Kerberos authentication is being used to authenticate on the domain.

    The majority of the site is working on the new architecture but there is an image on the home page which links to ReportingServices 'http://alias.com/reports/browse'.  When the image button is selected a HTTP 403 error is returned but if the page is refreshed then the page loads and is accessible.   If the image is selected on the old single host the link is working without issue.

    If I manually enter the URL directly in the browser 'http://alias.com/reports/' or 'http://mycomputer.com/reports/' or 'http://mycomputer.com/reports/browse' and press enter the page loads without issue.

    If I try to load the page by selecting the the image / icon with F12 Developer Tools turned on in IE on the new architecture - the console view states: -

    HTML1300: Navigation occurred.
    http_403.htm
    HTML1524: Invalid HTML5 DOCTYPE. Consider using the interoperable form "<!DOCTYPE html>".
    http_403.htm (1,1)

    and if I select the hyperlink from the HTML1524 row above in Console view the debugger page shows

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    The E:\WebSites\alias.com\Default.aspx page has the following code relating to the button

    <div class="float">
    <asp:ImageButton ID="ibSqlReports" runat="server" SkinID="ibsqlreports" PostBackUrl="~/reports/browse" Visible="True" />
    </div>

    The web developer working on this says he does not experience the issue when he tests but the app developer, myself and other people I have got to test all do.

    If I change the PostBackUrl as follows and point it at 'http://www.google.com' a page does open but states - "413. <ins>That’s an error. </ins>Your client issued a request that was too large.  <ins>That’s all we know."</ins>

    <div class="float">
    <asp:ImageButton ID="ibSqlReports" runat="server" SkinID="ibsqlreports" PostBackUrl="http://www.google.com" Visible="True" />
    </div>

    I have read lots of different posts on HTML 5 and possible folder permission issues and setting <identity impersonate="true" /> in web.config but everything I have tried has not been successful.

    Could someone help me troubleshoot this further?

    Sunday, August 5, 2018 7:43 AM

All replies

  • User347430248 posted

    Hi DaveCatt,

    You had mentioned that,"there is an image on the home page which links to ReportingServices 'http://alias.com/reports/browse'.  When the image button is selected a HTTP 403 error is returned but if the page is refreshed then the page loads and is accessible."

    I suggest you to delete that control and make a test using new control to check whether that specific control has some issue or not.

    If new control generate the same error then try to replace it with any HTML control and check whether it helps you to solve the issue or not.

    Check the difference in developer window of browser when it is working and when it is not working. It can give some idea about what causing this issue.

     Try to make a test on your end and let us know about the results.

    We will try to provide further suggestions, If needed.

    Regards

    Deepak

    Tuesday, August 7, 2018 5:59 AM