Trying to get Configuration info, using "Transaction Services" in simphony, I got always the same error message:
Error Code: FailedInitialization"
Error Message: Failed initialization. DatabaseSettings not found for alias: LocalDb"
This is the function I am invoking to get this error:
[/indent]
Can somebody give some help with this?
Thanks
Error Code: FailedInitialization"
Error Message: Failed initialization. DatabaseSettings not found for alias: LocalDb"
This is the function I am invoking to get this error:
[/indent]
Code:
public override string InvokeGetConfigurationInfo2()
{
int[] configurationInfoType = new int[]
{
(int)EConfigurationInfoType.MENUITEMDEFINITIONS,
(int)EConfigurationInfoType.TENDERMEDIA,
};
SimphonyPosApi_ConfigInfoResponse configInfoResponse = new SimphonyPosApi_ConfigInfoResponse();
mTSApi.GetConfigurationInfo(vendorCode, employeeObjectNum, configurationInfoType, revenueCenterObjectNum, ref configInfoResponse);
if (configInfoResponse.OperationalResult.Success)
{
log.LogMessage("Get Configuration Info succeeded...");
log.LogMessage($"Menu item definitions: {configInfoResponse.MenuItemDefinitions}");
log.LogMessage($"Tender media: {configInfoResponse.TenderMedia}");
}
else
{
log.LogMessage($"Get Configuration Info failed. Error Code: {configInfoResponse.OperationalResult.ErrorCode}");
log.LogMessage($" Error Message: {configInfoResponse.OperationalResult.ErrorMessage}");
}
return "";
}
Can somebody give some help with this?
Thanks