Html – Error 500 when I called webservice with AJAX
I have web service solution in Visual Studio with one parameter : Public Function CheckPalletInLocation(location As String) As String Dim ScaleConnnection As New SqlClient.SqlConnection("MYCONNEXION") Dim ScaleCommand As New SqlClient.SqlCommand ScaleCommand.Connection = ScaleConnnection ScaleConnnection.Open() ScaleCommand.CommandText = "SELECT DISTINCT LOGISTICS_UNIT FROM LOCATION_INVENTORY…