getConnection API is failing on ACT21.1 on one particular system, same API is working on other two systems

ActFramework.login  API is failing on ACT21.1 on one particular system, same API is working on other two systems

Background:

1. We created SOAP webs services for ACT17.0

2. Now we are migrating to ACT21.1

3. Compiled code with new version

4. It is working okay on two system ( Tried on Act for Windows and Act for Web)

5. But on one system, getting following trace for same database on different server

We are getting this stack trace:

System.Web.Services.Protocols.SoapException:    at Act.Framework.Preferences.UserPreferences.GetValue(String name, Boolean DB, Object& result)
   at Act.Framework.Preferences.UserPreferences.GetStringValue(String name, String defaultValue, Boolean DB)
   at Act.Framework.SupplementalFiles.SupplementalFileManager.SetPersonalSupplementalPreferences()
   at Act.Framework.ActFramework..ctor()
   at Service.getConnection() in c:\inetpub\wwwroot\ACTSoap\AHAWS\App_Code\Service.cs:line 198
   at Service.GetCompanyIdsByDate(String searchDate) in c:\inetpub\wwwroot\ACTSoap\AHAWS\App_Code\Service.cs:line 322