Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simphony transaction service. DatabaseSettings not found

Status
Not open for further replies.

fsalinas

Systems Engineer
Oct 3, 2019
13
PR
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]
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
 
Thats a simphony error implying that the simphony transaction services cannot connect to the database because the LocalDb alias is missing from the DbSettings.xml file on the workstation you are sending the request to.

Have you been changing the DbSettings.xml file manually?
Are you sure you are sending the request to the correct workstation?


Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top