IIS6/7/8 Web server does not have access to GRF report template files

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.