500 Internal Server Error Mvc 3
Contents |
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 500 internal server error mvc 4 hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
500 - Internal Server Error. There Is A Problem With The Resource You Are Looking For And It Cannot
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
The Page Cannot Be Displayed Because An Internal Server Error Has Occurred. Iis
them; it only takes a minute: Sign up Deploying website: 500 - Internal server error up vote 98 down vote favorite 36 I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when
500 - Internal Server Error. Iis 8
visiting it with the browser, it shows me this: Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. After fiddling around with the web.config, I now get: The page cannot be displayed because an internal server error has occurred. How can I see the actual issue behind this server error? asp.net iis error-handling share|improve this question edited Jan 9 '14 at 15:42 Aristos 51k978117 500 - internal server error. asp asked Mar 22 '11 at 1:22 Jakub Jedryszek 2,16362435 1 Make sure you have the wildcard mapping in place for MVC application on the directory... –sajoshi Mar 22 '11 at 4:11 add a comment| 16 Answers 16 active oldest votes up vote 179 down vote accepted First, you need to enable and see detailed errors of your web messages, because this is a general message without giving information on what's really happening for security reasons. With the detailed error, you can locate the real issue here. Also, if you can run the browser on the server, you get details on the error, because the server recognizes that you are local and shows it to you. Or if you can read the log of the server using the Event Viewer, you also see the details of your error. On IIS 6
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta 500 internal server error there is a problem with the resource you are looking for iis 7 Discuss the workings and policies of this site About Us Learn more 500 internal server error asp.net mvc about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack 500 internal server error web config Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping http://stackoverflow.com/questions/5385714/deploying-website-500-internal-server-error each other. Join them; it only takes a minute: Sign up Ajax Request returns HTTP error 500, using MVC and $.ajax call with POST? up vote 15 down vote favorite 1 I've seen several threads about this, and I've tried all the answers (http://stackoverflow.com/questions/3113952/asp-net-mvc-jsonresult-return-500) My ajax request is re-turning a 500 Internal Error. If I debug I http://stackoverflow.com/questions/13942304/ajax-request-returns-http-error-500-using-mvc-and-ajax-call-with-post never even get to my action. Here is my ajax call: $.ajax({ url: '@Url.Action("UpdateSortOrder", "FormItems")', data: { itemToUpdateId: item.attr("id"), newParentItemId: parentItemId, newPreviousItemId: previousItemId }, type: 'POST', success: function (data) { console.log(data); }, error: function (xhr, status, exception) { console.log("Error: " + exception + ", Status: " + status); } }); And my action: [HttpPost] public ActionResult UpdateSortOrder(Guid itemToUpdateId, Guid newParentItemId, Guid newPreviousItemId) { FormItem updatedItem = _formItemService.GetOne(x => x.Id == itemToUpdateId); return Json(updatedItem, JsonRequestBehavior.DenyGet); } Using chrome console, these are the response headers from the reply: HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNetMvc-Version: 3.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Tue, 18 Dec 2012 21:53:41 GMT Content-Length: 17041 Server logs show no substatus codes. Any idea what I am doing wrong here? I've prefer to use POST instead of GET. The Form Data is being shown as : itemToUpdateId:18ac5399-342e-4a39-9da1-3281a89501df newParentItemId:null newPreviousItemId:null Which is correct. I've tried setting the contentType to application/json and traditional = true like in this question: Sending ajax post to mvc with "application/json
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 http://stackoverflow.com/questions/8921349/mvc-3-application-on-server-always-gives-500-error 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 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up MVC 3 Application on Server always gives 500 error up vote 2 down vote favorite I am bin deploying a MVC 3 site... it works fine on our 'Staging' server, which "theoretically" mirrors our "QA" server. However, when deployed internal server to QA, it just gives a 500 error when trying to access it from the web browser. We've turned detailed errors on in the web.config, turning off friendly http errors in IE, but nothing. Any suggestions on what we might check for? I've already verified that .NET 4 Client & .NET 4 Extended are installed on the server. I need to compile a checklist of possibilities. Scratching my head hard on this one... UPDATE: I noticed one oddity here, running the powershell command: internal server error test-path "$