ReportViewer Control not working on IIS 7?
RESOLUTION:
1. First, if you haven't already, you will need to enable your account to allow IIS 7 Manager connections and install/configure the IIS 7 Manager on your system. Please view the "How to connect to Windows 2008/IIS 7 using the Microsoft IIS 7.0 Manager" DiscountASP.NET Knowledge Base article for further information.
2. Connect to your web site and open the "Handler Mappings" module.
3. From the "Actions" menu, click on the "Add Manager Handler..." option.
4. In the "Add Managed Handler" dialog box that opens up, supply the following values for the fields:
Request Path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler
Name: ReportViewerWebControl
5. Click on the "OK" button to save the changes to the root web.config file.
1. First, if you haven't already, you will need to enable your account to allow IIS 7 Manager connections and install/configure the IIS 7 Manager on your system. Please view the "How to connect to Windows 2008/IIS 7 using the Microsoft IIS 7.0 Manager" DiscountASP.NET Knowledge Base article for further information.
2. Connect to your web site and open the "Handler Mappings" module.
3. From the "Actions" menu, click on the "Add Manager Handler..." option.
4. In the "Add Managed Handler" dialog box that opens up, supply the following values for the fields:
Request Path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler
Name: ReportViewerWebControl
5. Click on the "OK" button to save the changes to the root web.config file.
How to enable IE 9 compatibility mode for your website ?
Sol-1
<head>
<!-- Mimic Internet Explorer 9 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" >
<title>My webpage</title>
</head>
Sol-2
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE9" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
Sol-3
To configure IIS 7 on a Windows Server 2008-based computer to include a custom HTTP response header:
<head>
<!-- Mimic Internet Explorer 9 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" >
<title>My webpage</title>
</head>
Sol-2
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE9" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
Sol-3
To configure IIS 7 on a Windows Server 2008-based computer to include a custom HTTP response header:
- Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
- In the connections pane, expand the node for the server, and then expand .
- Click the Web site where you want to add the custom HTTP response header.
- In the Web site pane, double-click in the section.
- Under Actions, click Add.
- In the Name box, type X-UA-Compatible.
- In the Value box, type IE=EmulateIE9.
- Click OK.