I am working in ASP.NET MVC. I am using partial views, but when I clicked on particular link I got the following error.
500 Internal Server Error
How can this error be fixed?
500 Server error means that a script has thrown an error, this is not a broken link (aka a 404 error).
If you are using Internet Explorer, go to tools > options > advanced
and unselect friendly http errors
, this will give you a more comprehensive description of the error so you can debug the script, or contact the relevant people to debug it.