Acumatica – Login failed for user

By | March 11, 2022

Acumatica ERP allows us to connect database server using Windows Authentication as well as SQL Server Authentication. When we connect using SQL server method, we need to make sure that selected login user has sufficient rights to update the database; but when we use Windows authentication, we do not have those features/options.

In this blog, we will be looking into one of the resolutions for the error that occurs when we choose windows authentication and try to access the Acumatica ERP website from our local IIS.
Error: – “Login Failed for user ‘IIS APPPOOL\apppoolname”.

Cannot open database

Steps to resolve the error:

  1. Open IIS (1) and select the Application Pool assigned to your ERP instance.
  2. Right-click on Application Pool (2) and select Advanced Settings (3) OR click on Advanced Settings (3) from the Actions section.

Cannot open database 1

3. Once the Advanced Settings dialog box is opened, navigate to Identity property (1) and browse its values to change it from ApplicationPoolIdentity to Custom

Cannot open database 1

4. Select Custom account (1) and click on Set button (2).

Cannot open database 3

5. Enter the system Username, Password, and Confirm Password on Set Credentials dialog and click OK.
6. Recycle your application pool and restart the IIS. This step is optional and only required if the changed are not reflected.
7. Now, we can browse/Launch our ERP instance without the error of login failure.

Note: If the credentials of the entered user are changed, then it needs to be updated here as well.

This is how we can overcome the error when an Acumatica ERP instance is connected using Windows Authentication.

About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce Sage integration for Sage X3Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data MigrationIntegrated App developmentCustom App development and Technical Support to business partners and end users.
Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star rated app listed on Salesforce AppExchange.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

For more information on our Salesforce products and services, contact us at salesforce@greytrix.com. We will be glad to assist you.