The . GRF report file cannot be accessed through IE because the IIS6/7 /8 restrictions on access extensions, except for extensions that have already been defined, cannot be accessed by other extensions, unlike IIS5, where IIS5 does not restrict all extensions.
Workaround: Open the Internet Information Services management interface and add the ". GRF" extension to define the MIME type so that you can download the. grf file directly. Specific procedures:
1. Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and 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. To apply the new settings, you must restart the World Wide Web Publishing Service or restart the computer.
Enter the URL of a report template file in the browser to see if it can be downloaded properly, and if so, this issue has been resolved.
If you are developing with ASP. NET, you can also add a file type definition in Web. config To resolve this issue, such as the following:
<system.webServer> <staticContent> <mimemap fileextension= ". Grf" mimetype= "Grf/gridreport"/ > </staticContent></system.webServer>
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
IIS6/7/8 Web server does not have access to GRF report template files