Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 1
Registered: ‎02-22-2020

.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?

Member
Posts: 2
Registered: ‎06-03-2020

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

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

Member
Posts: 3
Registered: ‎06-10-2021

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

Can you please tell us? Is it solved or not?

Member
Posts: 1
Registered: ‎06-21-2021

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

Hello, my friend, I am sorry I don't have enough information regarding this. Otherwise, I will surely help you out. But yeah, if you need any help regarding your essay assignment and looking for a genuine plagiarism fixer then I would recommend you visit https://studyclerk.com/plagiarism-fixer here. I am sure you will find it helpful. By the way, I have never used Linux before, I only use simple windows because it is easy to use and no need to give any command to install something or many more.

Member
Posts: 12
Registered: ‎07-15-2021

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

Thank you so much. I"m a newbie here. Glad to know more about it.

Member
Posts: 3
Registered: ‎06-10-2021

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

Hello,  I am also facing the same problem and recently, I was searching for the hemp farming business plan online and while searching, I am glad I have found your post.