none
System.Net.WebException: The request failed with HTTP status 404: Object Not Found.

    Question

  • We did configure reporting services to use a custom security extension on a Windows  2000 sp4 machine and using IIS 5.0.

    The website for reporting services is not using the default website in IIS. It uses IP address : 192.168.1.20 and host header name is rpt2.compagny.com. When accessing the report manager at http://rpt2.compagny.com/reports$sql_2005 from another machine or on the machine where reporting services is installed  we get an error message.  

    Error Message : The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version. 

    The RSWebApplication.config file looks like the following :

    <UI>

                      <CustomAuthenticationUI>

                            <loginUrl>/Pages/UILogon.aspx</loginUrl>

                      <UseSSL>False</UseSSL>

                      </CustomAuthenticationUI>

                      <ReportServerUrl>http://server name/ReportServer$sql_2005</ReportServerUrl>
                    

          </UI>

    The RSreportserver.config file looks like the following :

    <UrlRoot>http://server name/ReportServer$SQL_2005</UrlRoot>

    We already tried replacing the server name with the ip address in both the RSreportserver.config file and RSWebapplication.config file and it still does not work.

    here is the logfile information :

    aspnet_wp!ui!1!2/26/2007-14:41:51:: e ERROR: The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version.
    aspnet_wp!ui!1!2/26/2007-14:41:51:: e ERROR: HTTP status code --> 500
    -------Details--------
    Microsoft.SqlServer.ReportingServices2005.RSConnection+MissingEndpointException: The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version. ---> System.Net.WebException: The request failed with HTTP status 404: Object Not Found.

       at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()

       at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetSecureMethods()

       at Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String methodname)

       at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()

       --- End of inner exception stack trace ---

       at Microsoft.SqlServer.ReportingServices2005.RSConnection.MissingEndpointException.ThrowIfEndpointMissing(WebException e)

       at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()

       at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel level)

       at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)

       at System.EventHandler.Invoke(Object sender, EventArgs e)

       at System.Web.UI.Control.OnInit(EventArgs e)

       at System.Web.UI.Page.OnInit(EventArgs e)

       at System.Web.UI.Control.InitRecursive(Control namingContainer)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    What should be the settings in IIS and the configuration files ?

    Any help would be appreciated.


    Chi

    Monday, February 26, 2007 7:55 PM

All replies

  • Does it work if you go to http://localhost/ReportServer$SQL_2005 while on the server?

    Jarret

    Monday, February 26, 2007 9:18 PM
  • Hi Jarret,

    when i'm on the server and try to access it via http://localhost/reports$sql_2005 i still get the same result. 

    error : The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version.

    Home

    and in I.E's url i have http://localhost/reports$sql_2005/Pages/Folder.aspx 

    i tried clicking on Home and nothing happens.

    I also tried changing the <UrlRoot> and  <ReportServerUrl>  element's in rsreportserver.config and RSWebApplication.config to the following :  

    in ReportServerUrl  :

    <UrlRoot>http://192.168.1.50/ReportServer$SQL_2005</UrlRoot>

    <UrlRoot>http://Server_name/ReportServer$SQL_2005</UrlRoot>

    in RSWebApplication :

    <ReportServerUrl>http://192.168.1.50/ReportServer$SQL_2005</ReportServerUrl>

    <ReportServerUrl>http://Server_name/ReportServer$SQL_2005</ReportServerUrl>

    Do you know if i'am doing anything wrong, i've practically tried everything. Do you have any idea ? any help will be appreciated. Any guidelines on how to configure IIS with reporting services.

    Thanks!

    Chi

     

     

    Tuesday, February 27, 2007 3:01 PM