Rolim
Rolim

Reputation: 13

Internal Error 500 - Only Web MVC 5

I would like some help in relation to internal error 500 All my application works perfectly on the local server . When I upload via ftp . Web application works by entering a PartialView . Error it gives is " Internal Error 500 " . Does the web server does not support the MVC5 FrameWork 4.5 ?

Upvotes: 0

Views: 1719

Answers (1)

Rune
Rune

Reputation: 8380

The error

Internal Error 500

is a generic error message which indicates that the application is having serious problems. The message is generic so as to avoid giving away any sensitive information about the inner workings of your application. However, you can tell the application to provide a more detailed error message by ensuring that custom error pages are turned off: go to your web.config and make sure the mode attribute of the customErrors element is set of 'Off':

<configuration>
  <system.web>
    <customErrors mode="Off"></customErrors>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>
</configuration>

Then try refreshing the application in your browser - it will give you more information that you can use to track down the problem.

Upvotes: 1

Related Questions