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.
- 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.
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.
Update the URL
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
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.
You may need to do an Internet search to find the correct MIME Type for your file extension.