Select the product you need help with
How to troubleshoot IIS configuration issues in SQL Server 2005 Reporting ServicesArticle ID: 958998 - View products that this article applies to. On This PageINTRODUCTIONThis article describes how to troubleshoot Internet Information Services (IIS) configuration issues in Microsoft SQL Server 2005 Reporting Services. This article is written mainly to help you diagnose IIS 6.0 configuration issues under Reporting Services native mode. This article also usually applies to IIS 5.0 and to IIS 7.0. However, certain diagnostic steps may be written only for IIS 6.0, such as the steps to verify Microsoft ASP.NET installation by using IIS Manager. This article also discusses some common configuration problems with authentication, with ASP.NET, and with Internet Explorer. MORE INFORMATION1 General approachIIS configuration issues usually appear as a failure to connect to or to execute Report Server or Report Manager. To successfully diagnose these configuration issues, you must review the architecture of Reporting Services and the way that Reporting Services is integrated with IIS. This article tries to identify common IIS configuration problems that may cause failure in Reporting Services. Some non-IIS issues are also discussed.1.1 Request flowAn HTTP request from a user travels through many layers. Knowing which layer failed the request can help you determine the nature of the failure. The following diagram is a simplified diagram of the flow of a request:Collapse this image ![]() Reporting Services installs one virtual directory for Report Server and one virtual directory for Report Manager. The default virtual directory name for Report Server is “reportserver.” The default virtual directory name for Report Manager is “reports.” Typically, you start to diagnose Reporting Services problems by sending a request to the Report Server root directory in Internet Explorer. By default, the URL is http://<server>/reportserver. If Report Server is working, you can then use Internet Explorer to send a request to http://<server>/reports. If you have configured Report Server to use Secure Sockets Layer (SSL), you must first make sure that the server can run in non-SSL mode. If you have configured a scale-out deployment, you must first make sure that Report Server can run on individual nodes. Diagnosing problems in this order helps you isolate the problems faster. 1.2 Common symptomsThis section lists the common symptoms that occur when requests fail in a certain layer. This section also tells you where to look for error messages.1.2.1 FirewallIf you access Report Server from a remote client computer, verify that the firewall does not block the request. A blocked request is logged in the firewall log.For more information about how to find the firewall log, click the following article number to view the article in the Microsoft Knowledge Base: 929455 You can also visit the following Microsoft Web sites:
(http://support.microsoft.com/kb/929455/
)
When you configure a custom location for the Windows Firewall log file in Windows Vista, information may not be written to the log file
http://technet.microsoft.com/en-us/library/cc736373.aspx
(http://technet.microsoft.com/en-us/library/cc736373.aspx)
http://technet.microsoft.com/en-us/library/cc758040.aspx
(http://technet.microsoft.com/en-us/library/cc758040.aspx)
1.2.2 HTTP.sysIIS 6.0 that is not running in IIS 5.0 isolation mode and IIS 7.0 use the HTTP kernel-mode driver (HTTP.sys) to perform HTTP network input/output. The HTTP service is started automatically. You do not have to perform manual configuration. If Reporting Services is configured to use SSL, you must make sure that the HTTP SSL service is started.The HTTP.sys process can return an error to the client even if IIS is not involved. This can occur when the URL is malformed, or when the IIS Web site identity is configured incorrectly. The errors are logged in the HTTP.sys error log. For more information about the HTTP.sys error log files, visit the following Microsoft Web site: http://technet.microsoft.com/en-us/library/cc786081.aspx
For more information about error logging in the HTTP API, click the following article number to view the article in the Microsoft Knowledge Base:
(http://technet.microsoft.com/en-us/library/cc786081.aspx)
820729
(http://support.microsoft.com/kb/820729/
)
Error logging in HTTP API
1.2.3 IIS and application poolsBefore you examine the IIS configuration, you must make sure that the IIS Admin service and the application pool are running. Also, you must verify that the Web site identity is correct. You must be careful with the Web site identity if the Web site that is hosting Report Services is not the default Web site, or if you do not specify “All Unassigned” for the Web site identity. If you configured Report Server and Report Manager on different Web sites, try to configure Report Server and Report Manager on the same Web site. If other applications share the same Web site with Reporting Services, try to configure the Report Services virtual directories on a new Web site. If you have third-party ISAPI extensions or filters, try to remove the third-party ISAPI extensions or filters.If multiple configuration issues occur with IIS, you can reinstall IIS. When you do this, you must reconfigure ASP.NET and the Report Services virtual directories. For more information about the IIS log file location, click the following article number to view the article in the Microsoft Knowledge Base: 324091 You can also visit the following Microsoft Web site:
(http://support.microsoft.com/kb/324091/
)
HOW TO: View and Report from Log Files
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/bea506fd-38bc-4850-a4fb-e3a0379d321f.mspx?mfr=true
(http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/bea506fd-38bc-4850-a4fb-e3a0379d321f.mspx?mfr=true)
1.2.4 ASP.NETAn error message in Internet Explorer can indicate that a problem occurs in ASP.NET. If you have previously uninstalled IIS or ASP.NET on the computer, you must validate ASP.NET configuration settings. You can fix most ASP.NET configuration problems by using the aspnet_regiis.exe file to reregister ASP.NET in IIS. For more information about ASP.NET validation, see Section 4 of this article.You can use a simple .aspx page to perform a sanity check of the IIS and ASP.NET configuration. To do this, follow these steps:
1.2.5 Report Server virtual directoriesIf Reporting Services virtual directories were not configured by using the Reporting Services Windows Management Instrumentation (WMI) provider or the Reporting Services configuration tool, you must follow the instructions in Section 4.1 to verify the settings of the virtual directories. If multiple configuration issues occur, you can re-create the virtual directories by using WMI or by using the Reporting Services configuration tool.To resolve problems, first verify and fix the Report Server virtual directory. Then, when Report Server is working, you can examine and fix the Report Manager virtual directory. When Report Manager cannot communicate with Report Server, the error is usually logged in the Reporting Services log files. For more information about Reporting Services trace logs, visit the following MSDN Web site: http://msdn.microsoft.com/en-us/library/ms156500(SQL.90).aspx The following is a typical example of these errors:
(http://msdn.microsoft.com/en-us/library/ms156500(SQL.90).aspx)
w3wp!ui!1!8/5/2008-10:20:56:: e ERROR: HTTP status code --> 500 -------Details-------- System.Net.WebException: The request failed with <some error> at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods() at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetSecureMethods() For more information, visit the following Web site: http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx)
922656
(http://support.microsoft.com/kb/922656/
)
Error message when you try to open the Report Manager tool in SQL Server 2005 Reporting Services: "The request failed with HTTP status 400: Bad request" or "An attempt to connect to the report server failed"
2 Web site configuration issues2.1 Web site identity issuesIf an error message indicates that Internet Explorer cannot reach Report Server or Report Manager, you must validate the Web site settings for Reporting Services. The following are some error messages that you may receive.In Report Manager, you receive the following error message: The attempt to connect to the report server failed. Check the connection
information and that the report server is in compatible version. Cannot find server or DNS Error HTTP 400 Bad Request If the URL is specified by an IP address, verify the following:
Note IIS 5.0 uses an interface that resembles IIS 6.0 to define Web site identities. http://technet.microsoft.com/en-us/library/cc771911.aspx You must also make sure that Report Manager uses a correct URL to access Report Server. For more information, visit the following Microsoft Web sites:
(http://technet.microsoft.com/en-us/library/cc771911.aspx)
http://technet.microsoft.com/en-us/library/cc754348.aspx
(http://technet.microsoft.com/en-us/library/cc754348.aspx)
http://learn.iis.net/page.aspx/150/understanding-sites-apps-and-vdirs-in-iis-7/#Sites
(http://learn.iis.net/page.aspx/150/understanding-sites-apps-and-vdirs-in-iis-7/#Sites)
http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx)
http://msdn.microsoft.com/en-us/library/ms155921(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms155921(SQL.90).aspx)
2.2 Issues that occur after you reinstall IISIf you have reinstalled IIS, you may have to reconfigure ASP.NET, Report Server virtual directories, and Report Manager virtual directories.Information for IIS installationFor more information about how to install IIS 6.0, visit the following Microsoft Web site:http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/750d3137-462c-491d-b6c7-5f370d7f26cd.mspx?mfr=true For more information about how to uninstall IIS 6.0, visit the following Microsoft Web site:
(http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/750d3137-462c-491d-b6c7-5f370d7f26cd.mspx?mfr=true)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/910e7485-d74c-4647-87a5-f9d0f9aae51e.mspx?mfr=true For more information about how to install IIS 7.0, visit the following Microsoft Web site:
(http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/910e7485-d74c-4647-87a5-f9d0f9aae51e.mspx?mfr=true)
http://technet.microsoft.com/en-us/library/cc732624.aspx
For more information about how to install and use IIS 5.0, click the following article number to view the article in the Microsoft Knowledge Base:
(http://technet.microsoft.com/en-us/library/cc732624.aspx)
266115
(http://support.microsoft.com/kb/266115/
)
Resources for installing and using IIS 5.0
Information about how to rebuild Reporting Services virtual directoriesFor more information, visit the following Microsoft Web sites:http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx)
http://msdn.microsoft.com/en-us/library/ms155921(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms155921(SQL.90).aspx)
2.3 Issues with ISAPI filtersThird-party ISAPI filters may cause problems on Report Server virtual directories. If third-party ISAPI filters are present, try to remove the filters from the Web site that hosts Reporting Services virtual directories. Or, move Reporting Services virtual directories to a new Web site.3 Authentication issues3.1 You must enter credentials in Internet Explorer to access Reporting ServicesWhen Reporting Services is configured to use Windows Integrated authentication, Internet Explorer is usually not configured to prompt for credentials. To determine whether Internet Explorer is configured to always prompt for credentials, follow these steps:
3.2 You receive an HTTP 401 error message after you enter credentials in Internet ExplorerIf you receive an HTTP 401 error message after you have received repeated prompts by Internet Explorer, an authentication failure has occurred. For example, if you install Report Services in native mode, you may be prompted for credentials three times before you receive an HTTP 401 error message in Internet Explorer. When this problem occurs, the IIS log shows "HTTP 401" as the IIS response. To troubleshoot this issue, verify the following:
If you are using FQDN or a custom host header that does not match the computer name, a loopback check problem may occur. When this problem occurs, you can typically access the Reporting Services Web sites by using the IP address. However, you cannot access the Web sites by using an FQDN or a host name. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 896861
(http://support.microsoft.com/kb/896861/
)
You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or IIS 6
3.2.1 Kerberos authenticationWhen the negotiated authentication protocol is Kerberos, you may receive an HTTP 401 error message because of Kerberos authentication issues. The following are some of these issues:
3.2.2 Basic authenticationIf Reporting Services is configured to use Basic authentication, an authentication failure is logged in the security event log on the server that is running IIS. View the error message. If the local security policy does not allow the authentication, you must either allow that logon type inside the local security policy, or change the logon type inside the IIS configuration.3.3 You receive an "Access denied" error message in Internet Explorer for IUSR or for another IIS anonymous userIf this error message occurs unexpectedly, determine whether anonymous security is enabled on Reporting Services virtual directories. If this setting is enabled, disable it.3.4 Kerberos delegation issues occurThese issues are usually known as “double hop” issues. Kerberos delegation issues may occur when the following conditions are true:
For more information, visit the following Microsoft Web sites or KB articles: For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base: 215383
(http://support.microsoft.com/kb/215383/
)
How to configure IIS to support both the Kerberos protocol and the NTLM protocol for network authentication
326985
(http://support.microsoft.com/kb/326985/
)
Troubleshooting Kerberos issues in IIS
917409
(http://support.microsoft.com/kb/917409/
)
How to configure SQL Server 2005 Analysis Services to use Kerberos authentication
319723
(http://support.microsoft.com/kb/319723/
)
How to use Kerberos authentication in SQL Server
909801 For more information, visit the following Microsoft Web sites:
(http://support.microsoft.com/kb/909801/
)
How to make sure that you are using Kerberos authentication when you create a remote connection to an instance of SQL Server 2005
http://www.microsoft.com/downloads/details.aspx?FamilyID=99B0F94F-E28A-4726-BFFE-2F64AE2F59A2&displaylang=en If you want to avoid Kerberos authentication, you can use one of the following methods:
(http://www.microsoft.com/downloads/details.aspx?FamilyID=99B0F94F-E28A-4726-BFFE-2F64AE2F59A2&displaylang=en)
http://technet.microsoft.com/en-us/library/cc281382(SQL.100).aspx
(http://technet.microsoft.com/en-us/library/cc281382(SQL.100).aspx)
4 ASP.NET configuration issues4.1 General errorsASP.NET configuration issues have various symptoms. For example, one of the following may occur:
4.2 You receive a "The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to '<path>\v2.0.50727\Temporary ASP.NET Files'" error messageThe error is caused by an invalid ASP.NET configuration. To resolve the issue, grant Write and Execute permissions to the Temporary ASP.NET Files folder that the error message indicates.5 SSL issues5.1 Problems occur with client certificatesIf you configured client certificates on your virtual directories, Report Manager may not authenticate to Report Server. This problem occurs because Report Manager is not designed to pass client certificates when Report Manager communicates with Report Server through HTTP requests. Therefore, if you configure IIS to enable the Require Client Certificates option, you cannot use Report Manager. To work around this problem, you can clear the Require Client Certificates check box for the Report Server virtual directory.5.2 You receive a “connection forcibly closed” error message or errors that indicate an SSL connection failureIn Internet Explorer, you receive one of the following error messages:Error message 1 Connection forcibly closed The underlying connection was closed Could not establish trust relationship for the SSL/TLS secure channel HTTP status code-->500
5.3 Problems occur in the HTTP communication between Report Server and Report ManagerA problem may occur in the HTTP communication between Report Manager and Report Server. When the SSL configuration is invalid, Report Manager can respond to Internet Explorer successfully. However, Report Manager cannot communicate with Report Server. If this issue occurs, Report Manager correctly displays the images on the Report Manager home page. However, Report Manager shows an error in the space where you expect to see folders and report items.To diagnose these problems, use the .NET Framework tracing. To enable the .NET Framework tracing, add the following code to the Web.config file that is in the Report Manager folder: Note Depending on the version of Internet Explorer that you are using, the warning can be a pop-up message or a message that appears in Internet Explorer. Or, if you have chosen to ignore warnings before, you may not receive a warning in Internet Explorer. In Report Manager, you receive the following error message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Note You may have to perform merging if the Web.config file already contains the <system.diagnostics> element or the <switches> element. When you receive the same error message, view the log file that you specified in the XML code. In this example, the log file is in the following location: D:\tmp\System.Net.trace.log At the bottom of the log, you see the following:System.Net Information: 0 : [3316] SecureChannel#63605042 - Remote certificate has errors: System.Net Information: 0 : [3316] SecureChannel#63605042 - Certificate name mismatch. System.Net Information: 0 : [3316] SecureChannel#63605042 - A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. System.Net Information: 0 : [3316] SecureChannel#63605042 - Remote certificate was verified as invalid by the user. System.Net.Sockets Verbose: 0 : [3316] Socket#23836999::Dispose() System.Net Error: 0 : [3316] Exception in the HttpWebRequest#44235609:: - The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. System.Net Error: 0 : [3316] Exception in the HttpWebRequest#44235609::EndGetResponse - The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. 6 Scale-out and load balanced issues6.1 You receive an HTTP 401 error intermittentlyThe double hop issue that load balancing introduces may cause intermittent HTTP 401 errors. With load balancing, an HTTP request that is sent to the same computer may be routed to the virtual server and then to a different node. This problem occurs intermittently. If the request is routed to the same node, the request succeeds.To work around this issue, use one of the following methods:
7 Windows Vista and Windows Server 2008 issuesIf you are installing Reporting Services in Windows Vista or in Windows Server 2008, review the following Knowledge Base articles and MSDN Web site carefully:934164
(http://support.microsoft.com/kb/934164/
)
How to install SQL Server 2005 Reporting Services on a Windows Vista-based computer
938245
(http://support.microsoft.com/kb/938245/
)
How to install and how to configure SQL Server 2005 Reporting Services on a computer that is running Windows Server 2008
http://msdn2.microsoft.com/en-us/library/bb677367.aspx
(http://msdn2.microsoft.com/en-us/library/bb677367.aspx)
You receive an “IIS is either not installed or not configured for server component installation” error message during setupWhen you try to install Reporting Services on Windows Vista or on Windows Server 2008, you receive the following error message, even if IIS is already installed:IIS is either not installed or not configured for server component installation 949455
(http://support.microsoft.com/kb/949455/
)
System Center Operations Manager 2007 Reporting installation fails on a Windows Server 2008 computer if IIS 6.0 Management Compatibility is not installed
8 Home page redirectionWhen you use IIS, you can use Report Manager as the default home page for the Web server. For example, you may want to redirect requests from the http://<server> URL to the http://<server>/reports URL. For information about how to configure redirection to the Report Manager home page, see the "Redirection to the Report Manager Virtual Directory" section of the following MSDN Web site:http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx Note You cannot configure Report Manager directly at the Web site root level. Instead, you must configure redirection to set Report Manager as the default home page for the Web server.
(http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx)
9 Export issues9.1 An export time-out occursWhen you export a report from Internet Explorer, the download dialog box remains open until a time-out is reported. This issue may occur when you work with some accounts but not other accounts. This issue may occur when you use the Run As option to start Internet Explorer so that you can run Internet Explorer from an account other than the logon account.This issue may be caused by an incorrect Internet Explorer configuration, especially if the report is small so that the time-out does not occur because of many data transfers. To resolve this problem, follow these steps:
10 64-bit issues10.1 You receive an "Attempted to load a 64-bit assembly on a 32-bit platform" error messageWhen you try to run 32-bit worker processes and 64-bit worker processes side by side in IIS 6.0, you receive the following error message:Attempted to load a 64-bit assembly on a 32-bit platform http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true
(http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true)
10.2 Issues occur when IIS and Reporting Services are in 64-bit mode, but IIS is running is 32-bit modeFor more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:894435
(http://support.microsoft.com/kb/894435/
)
How to switch between the 32-bit versions of ASP.NET 1.1 and the 64-bit version of ASP.NET 2.0 on a 64-bit version of Windows
934162
(http://support.microsoft.com/kb/934162/
)
How to install a 32-bit version of SQL Server 2005 Reporting Services on a computer that is running a 64-bit version of Windows
11 IIS and virtual directory configuration issues11.1 The configuration is invalid for the Report Server virtual directories or for the Report Manager virtual directoriesYou receive one of the following error messages:Error message 1 HTTP 503- Service Unavailable HTTP 403.14 - Forbidden (Directory listing denied) Directory Listing Denied Service unavailable
http://technet.microsoft.com/en-us/library/ms188133(SQL.90).aspx
(http://technet.microsoft.com/en-us/library/ms188133(SQL.90).aspx)
http://technet.microsoft.com/en-us/library/ms181174(SQL.90).aspx
(http://technet.microsoft.com/en-us/library/ms181174(SQL.90).aspx)
http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms159261(SQL.90).aspx)
http://msdn.microsoft.com/en-us/library/ms155921(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms155921(SQL.90).aspx)
12 Deploying Reporting Services and Windows SharePoint Services side by sideFor more information about how to deploy Reporting Services and Windows SharePoint Services side by side, visit the following MSDN Web site:http://msdn.microsoft.com/en-us/library/ms159697.aspx
(http://msdn.microsoft.com/en-us/library/ms159697.aspx)
13 Report Builder issues13.1 You receive an HTTP 401 error when you start Report BuilderIf Report Server uses Basic authentication, you must configure Anonymous authentication for Report Builder. Report Builder is a ClickOnce application. ClickOnce applications cannot handle Basic authentication. For more information, visit the following MSDN Web site:http://msdn.microsoft.com/en-us/library/ms365173(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms365173(SQL.90).aspx)
14 Web.config file parsing issues14.1 You receive a System.NullReferenceException error message from the Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttr methodThis problem may occur when Reporting Services cannot parse the Web.config file. To resolve this issue, do the following:
PropertiesArticle ID: 958998 - Last Review: February 4, 2009 - Revision: 1.2
|



Back to the top








