cancel
Showing results for 
Search instead for 
Did you mean: 

.ajax request gets 500 Internal Server Error on Linux but not Windows

A net core 3.0 MVC web app invokes a jquery ajax call to to a Controller to update a product. The operations in the Controller succeed. The database gets updated. But the .fail callback method in the ajax call is firing from a http 500 error returned from the server. I've tried using [HttpPost] on the Controller method and specifying type: "POST" in the ajax call.

The 500 error does not happen on my dev box running Windows/IIS. I'm sure the code is the same on both machines. I"m not that experienced in webdev work and I'm lost on what I'm doing wrong. The linux box is running Apache2 and the website is working fine, except for this call. Any tips?

SilasCole
Member
1 REPLY 1

Hey,

did you solve it? Can you help me with the packages you used or any sample that worked with asp.net core 3.0

 

Thanks

sptadepally
Member