We have code that has been in place for over two years and worked flawlessly. After the login changes we have started getting the following result:
<MethodAPI response = "Failure. There were problems with running the query, please verify your parameters" ></MethodAPI>
Yes. We have changed the login credentials in our code and have verified that they are correct. (They are my login credentials.)
No. We have not made any other changes to the code.
Strangely, the code works at times and then goes back to not working.
Code is below.
--
sSelectFields = "FullName"
sSelectFrom = "Customer"
sSelectWhere = "SerialNo=" & iSerial & " AND " & "CodeNo=" & iCode
sSelectGroupBy = ""
sSelectHaving = ""
sSelectOrderBy = ""
'Call the MethodAPI to get the dataset
sResult = wbsMethodAPI.MethodAPISelect_DataSetV2(sCompanyAccount, sUserName, sPassword, _
"", datResponse, sSelectFrom, sSelectFields, sSelectWhere, sSelectGroupBy, sSelectHaving, sSelectOrderBy)
wbsMethodAPI = Nothing
if gdebug then response.write(sResult)
--
I am hoping a developer can provide some info as to what is causing the error message. This is a critical function in our business, we would like to resolve the issue immediately.