you cannot access the. GRF report file via IE because the IIS6/7 /8 There are restrictions on the access extension, except for extensions that have already been defined. Other extensions cannot be interviewed. This is not the same as IIS5, IIS5 does not restrict all extension names.
Workaround: Open the Internet Information Services management interface. Add the ". GRF" extension to define the MIME type. This is the right way to download the. grf file directly. Detailed operation steps:
1. Open the IIS Microsoft Management Console (MMC), right-click the local computer name. then click Properties.
2. Click MIME Type.
3. Click "New".
4. In the Extension box, type the file name extension ". GRF" that you want.
5. In the MIME type box, type Grf/gridreport.
6. Apply the new settings, you must start the World Wide Web Publishing Service again or start the computer again.
Enter the URL of a report template file in the browser to see if it downloads properly, assuming it can be downloaded to indicate that the issue has been resolved.
The assumption is that ASP. NET development, you can also add a file type definition in Web. config to solve this problem. For example, the following:
<system.webServer> <staticContent> <mimemap fileextension= ". Grf" mimetype= "Grf/gridreport"/ > </staticContent></system.webServer>
IIS6/7/8 webserver Unable to access GRF report template file issues