After installing vs2013 today, the VS Open Project has an error on the page:
The page you requested could not be supplied due to an extended configuration issue. If the page is a script, add a handler. If you should download the file, add a MIME map.
Thinking about it, VS has its own IIS Express, so it may be that the file suffix of a format is not mapped (it was later found that the JSON format did not map). The online search for a long time finally found the following methods:
Local code written with VS2010, when debugging Web reports can not be displayed, with the 24.248 server on the VS2013 still can not be displayed, and finally the project is deployed on the IIS server or not display. Then is a variety of Baidu, degrees Niang said that there is no MIME mapping on IIS, so the browser cannot load the GRF file. OK, configure the MIME type for IIS: Open IIS Manager-->mime Type--Add, file name:. Grf,mime Type: printreports/Agency fees statement. Grf. A miracle has occurred, and Web reports published on IIS can be accessed normally. But I can't see the effect in the debug phase, every time I have to modify, commit code on VS2010, then update, build, publish code on the VS2013 of the 24.248 server, and finally see the effect on IIS. How, very scratching your heads! Solution One: Add a MIME mapping for IIS Express. If you have VS2010 installed on your computer, you must first install the IIS Express Debug server, because the VS2010 comes with an ASP. NET Development Server, unable to add MIME mappings, about the installation and use of IIS Express, You can refer to the blog: The configuration of IIS is used, and if VS2013 is installed on your computer, you can add MIME mappings directly to IIS Express. The operation is as follows:1in the DOS window, enter the IIS Express installation directory, the default is "C:\Program Files\IIS Express";2Execute the command under the IIS Express installation directory: AppcmdSetConfig/section:staticcontent/+[fileextension='. XYZ', mimetype='Text/plain'] PS: Variable fileextension string is a file extension, variable MimeType string is a file type description, such as the command I executed is: AppcmdSetConfig/section:staticcontent/+[fileextension='. GRF', mimetype='printreports/Fee Payment form. GRF'now in the debug state, the browser can also open the Web report. Solution two: Using Jenkins to manage SVN and IIS, set up Jenkins to republish as long as the code commits, so that we can always see the code we submitted. However, the pressure on the server must be very large, it is not recommended to do so. To this, the problem has been solved, finally can ease the tone.
The page you requested could not be supplied due to an extended configuration issue. If the page is a script, add a handler. If you should download the file, add a MIME map.