Network Error 500 Internal Server Error Asp Net
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 500 Internal Server Error in ASP.NET MVC up vote 12 down vote favorite 3 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? asp.net-mvc share|improve this question edited Aug 2 '11 at 20:50 Peter Mortensen 10.3k1369107 asked Jun 8 '10 at 9:32 Renu123 3674924 Turn off friendly error messages in your browser, and allow debugging in your application, and then tell us the error so that we can help you better. –Sev Jun 8 '10 at 9:34 The advice here on getting your server to return you more detailed error information may be helpful: stackoverflow.com/q/5385714/12484 –Jon Schneider Jun 7 at 13:37 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted 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. share|improve this answer edited Jan 5 '14 at 2:02 Brian Mains 39.5k2699207 answered Jun 8 '10 at 9:46 Tom Gullen 27k55198359 add a comment| up vote 23 down vote To check what causes Internal Server 500 Error under ASP MVC you can also run your ap
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 500 Internal Error in ASP.NET MVC Ajax up vote 2 down vote favorite I'm using Visual Studio 2010 and http://stackoverflow.com/questions/2996139/500-internal-server-error-in-asp-net-mvc MVC 4 for my web application. This is my controller code: public ActionResult MyController() { if (Request.IsAjaxRequest()) { using (MyContainer context = new MyContainer()) { try { var result = Some Query; return PartialView("_MyView", result); } catch (Exception ex) { } } } if (User.Identity.IsAuthenticated) { return RedirectToAction("Index", "Home", new { area = "User" }); } else { return Redirect("/"); } } This method will be done successfully, But my ajax container not http://stackoverflow.com/questions/14786377/500-internal-error-in-asp-net-mvc-ajax showing any things. In firebug this error raised: NetworkError: 500 Internal Server Error + http://localhost....?X-Requested-With=XMLHttpRequest Why does this error occur? What do I do to solve this problem? Thanks in advance! c# ajax asp.net-mvc asp.net-mvc-ajax share|improve this question edited Feb 9 '13 at 8:55 asked Feb 9 '13 at 8:43 Mojtaba 69221020 Use a debugger. –leppie Feb 9 '13 at 8:56 You could do some basic troubleshooting, like checking if any exception is raised instead of having a blank catch clause. –Burhan Khalid Feb 9 '13 at 8:58 Set the
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 5 & IIS 6 Classic ASP ASP file with HTTP https://forums.iis.net/t/1127251.aspx?ASP+file+with+HTTP+500+Internal+Server+Error 500 Internal Server Error ASP file with HTTP 500 Internal Server Error [Answered]RSS 20 replies Last post Jul 27, 2007 08:53 AM by chiaki ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply chiaki 28 Posts ASP file with HTTP 500 Internal Server Error Jun 27, 2007 07:21 PM|chiaki|LINK I have seen the network error same questions but my problem seems a bit different. My computer is WindowXP Pro and IIS 5.1 isinstalled. I made sure all the components of IISare installed. I ticked the World Wide Web Services when I installed the IIS. When I typed http;//localhost on the Internet Explorer 7,Error message comes out so I made myself a default html page saying that this is network error 500 a test page. That is fine. I can get that page. And any html files I created and saved in www.root folder. I can see in the Internet Explorer after typing http;//localhost/anything.html. But as soon as I create an ASP page and saved in www.root folder,HTTP500 Internal Server Error Page cannot displaycomes out in Internet Explorer. Ther are two asp files already in www.root folder I did not make those, they came with IIS. One call iisstart.asp and another call localstart.asp. I typed http;//localhost/iisstart.asp and alsoI typed http;//localhost/localstart.asp but result is the same. HTTP 500 Internal Server Error Page cannot display. When I double clicked the iisstart.asp file in the www.root folder, It opens up with the Dreamweaver and saying as follows. Under Construction(www.root/iisstart.asp) Under Construction The site you were trying to reach does not currently have a default page. It may be in the process of being upgraded and configured. Please try this site again later. If you still experience the problem, try contacting the Web site administrator. When I double clicked the localhost.asp file in the www.root folder, it opens up with Dreamweaver and saying as fo