Connected remotely to the user to check the cause of the error, and as per checking of the error, the error is the application cannot find the dptnam on the database, as per checking, the given database name is incorrect, Checked the ODBC, and as per checking, the database name on server tab is not changed to the library name, change the database name and checked the application again, as per checking, it is now OK.