IIS6/7/8 webserver Unable to access GRF report template file issues

Source: Internet
Author: User

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

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.