When i run the specific sql query on the database it runs well but when it runs from the application i got this error!