Recently a third party plugin I'm using to display online magazines stopped working on mobile devices. According to their help page, this happens for people serving with IIS. Their solution is to s. How to Add.FLV MIME Type FLV Video Extension to IIS5, IIS6 or on Shared Hosting Plans.
Learn how to fix the “Server error in '/' application” error. This is an application error on the server that prevents the website from running. There are many possible causes for this error.
Often when this error appears, the error page will offer more information about the problem. It can be useful to copy and paste this error message into a search engine for more detailed results.
Some of the most common reasons for the 'Server error in '/' application' error are as follows.
- If your IIS does not serve any of the previous file. When using Linux Apache for your web site, some configurations require you to add a new MIME type.
- Quick reference for adding.woff and.woff2 fonts to IIS 7.5 as MIME types. You can add the MIME type as a global, or for the specific website. For either, you can add it through IIS Manager or the.
Requirements
- Cloud Server running Windows Server 2012
- ASP.NET installed
vServer (VPS) from IONOS
Low-cost, powerful VPS hosting for running your custom applications, with a personal assistant and 24/7 support.
Restart IIS
This error can occur if IIS needs to be restarted. You can restart IIS from the IIS Manager.
From your Remote Desktop connection, click the Start button in the lower left-hand corner.
![Error in / application](fileadmin/community/Screenshots/Operating_System/Windows/How_to_Fix_the_Error_in_application_Windows_Server_error/click-start.jpg 'Click the Start button' )
Next, click the Administrative Tools tile.
Click Internet Information Services (IIS) Manager to launch the IIS manager.
On the left-hand side of the IIS Manager, click Restart to restart IIS.
Update the URL
Under some circumstances, a 404 error may be displayed as 'Server error in '/' Application.' When this is the case, the Description section of the browser will clarify that the error has occurred because the file is missing or has been renamed.
To fix this problem, correct the URL in the link that triggers this error.
Cloud backup from IONOS
Make costly downtime a thing of the past and back up your business the easy way!
Add the MIME Type
If you are accessing a file with a file extension that does not have permissions to be run on the server, you will receive this error along with the explanation that 'This type of page is not served.'
To fix this problem, first be sure that you are calling the correct file name. This problem can occur if there is a typo in the file extension, for example a file or URL that references test.htl instead of test.html.
If the file name is correct, then you may need to add the MIME type to the server. In the above example, we are trying to execute a file named HelloWorld.cshtm1. The .cshtml file extension is not assigned to a MIME type on Windows 2012 by default.
You can add the MIME type in the IIS Manager. To open the IIS Manager, from your Remote Desktop connection, click the Start button in the lower left-hand corner.
Click Internet Information Services (IIS) Manager to launch the IIS manager.
Then click on your domain. In the central pane, double-click MIME Types.
Under the Actions column on the right, click Add...
In the pop-up window which appears, fill in the File name extension and MIME Type fields, then click OK.
You may need to do an Internet search to find the correct MIME Type for your file extension.
Verify the .NET Version
Some programs, features, and file types will only run under certain versions of .NET.
You can check your .NET version from the IIS Manager. To open the IIS Manager from your Remote Desktop connection, click the Start button in the lower left-hand corner.
Click Internet Information Services (IIS) Manager to launch the IIS manager.
Click to expand the server in the left-hand window panel.
Add Dmg To Iis Mime Type Video
Right-click on the Domain Name and click on Basic Settings...
In the pop-up window which appears, select the .NET version from the drop-down menu, then click OK to confirm your choice.
Iis Mime Type List
Sometimes you´ll find yourself in the situation that users complain about broken download links on your website but you can´t figure out why. Because the files are there, the links are good and the webserver is working fine as well.
If your webserver is an IIS (Microsoft Internet Information Services) then it probably misses the MIME type for the file to download.
So here´s the solution:
Set Mime Type
- Log onto your server and start the internet information services manager (IIS manager)
- Select your server from the connections panel on the left and double click MIME-Type in the IIS section of the panel on the right
- Now you can see all the MIME-Types that are already registered and known to the server
- Scroll down to see if your extension is already registered (e.g. “.7z” for the 7z compression standard)
- If your extension is already listed there, then this is not the solution for your problem. Sorry !
- If your extenion is not listed there then do a right click somewhere and choose “Add” from the menu
- Enter the extenion – for 7z it would be “.7z”, for ISO image it would be “.iso”
- Now enter the MIME-Type depending on what extension you want to register. For 7z it would be “application/x-7z-compressed” and for ISO it would be “application/octet-stream”.
- Test your download links – if it works, good. If not you have to restart your IIS.
- You´re done !
Mime Types List
See the screenshots below to see what to do and where. They are from a german version of IIS, but the general structure is the same as in the english version.