Hi everyone,

I am deploying a new Adaxes Web Interface instance in a cross-domain environment and running into a connection/discovery issue.

My Scenario:

Domain A: Contains the main Adaxes Service (Backend) and the Configuration Set.

Domain B: Contains the IIS Web Server where I am installing the Web Interface.

The Problem:

During the web interface setup, I am installing the package via command line, specifying only the Configuration Set ID like this:

msiexec /quiet /i "adaxes.msi" ADDLOCAL=AppWebUIFeature ADMWEBSERVICECONFIGSET="<configSetId>"

However, looking at the Web Interface trace logs right after installation, the application constantly attempts to perform a Service Discovery (SCP query) on the local domain where the IIS machine is joined (Domain B), completely ignoring the remote domain. This results in the following loop:

The following Adaxes services found on DomainB: None

SelectNearestServiceException: Adaxes service connection failed.

Question:

Since I am performing a standard installation just by providing the Configuration Set ID, how can I force the Web Interface installer or the application to explicitly look for the Configuration Set on Domain A instead of defaulting to the local Domain B's SCP? Is there a specific installer property or an official way to handle this cross-domain discovery block?

Thanks in advance for your help!

ago by (100 points)
ago by (310k points)
0

Hello,

Do we understand correctly that you installed the web interface component in domain B successfully, but it does not connect to Adaxes service in domain A?

If that is correct, to help us troubleshoot the issue, please, provide a screenshot of the Multi-server environment dialog. The dialog displays how many Adaxes services you have and what their versions are. For information on how to view it, see https://www.adaxes.com/help/MultiServerEnvironment. You can post the screenshot here or send to us at support@adaxes.com.

ago by (100 points)
0

Hello Support team,

Yes, your understanding is correct about the connection failure. However, to clarify the environment layout: the backend and frontend components are deployed on completely separate virtual machines residing in two different domains.

The Adaxes Service (Backend): We have a single backend service instance running inside Domain A.

The Web Interface (Frontend): We have two separate IIS Web Servers running inside Domain B (where I am experiencing this issue).

Because the Web Interface VM is joined to Domain B, it cannot find any Adaxes Service locally. It needs to look across the domain boundary to reach the single backend in Domain A, but the logs show it keeps querying the local Domain B via SCP.

As requested, here is the screenshot of the Multi-server environment dialog taken from our configuration. As you can see, the environment is healthy and contains a single backend instance.

image.png

Given this cross-domain dual-VM setup, how can we force the Web Interface instances in Domain B to bypass the local domain SCP query and target Domain A's backend?

Thank you!

1 Answer

ago by (310k points)
0 votes

Hello,

Thank you for the provided details. The issue can occur in such a setup in case domain B is not managed in Adaxes. To remedy the issue, try to do the following on the computer in domain B where the web interface component is installed:

  1. Navigate to the folder where the web interface is installed. By default, the folder is C:\Program Files\Softerra\Adaxes 3\Web Interface\App.
  2. Open the appsettings.xml file with a text editor.
  3. Locate the configuration\adaxes.web.ui XML element.
  4. Set the lookupServiceDomainName attribute to domain A.
    <adaxes.web.ui adaxesConfigurationSetId="{93294e43-4d1e-41bd-984b-cba6b570a748}" lookupServiceDomainName="domainA.com">
     <trace enabled="false" filePath="${basedir}/adaxes.webui.trace.txt"/>
    </adaxes.web.ui>
  5. Save the file.
  6. Check whether the issue persists.
ago by (100 points)
0

Hi, Thank you for your help!

I applied the lookupServiceDomainName attribute as suggested and it worked correctly. The Web Interface in Domain B is now connecting to the Adaxes Service in Domain A without issues.

Thanks again for the quick support! Best regards, Leonardo

Related questions

Hi, I need to retreive a secret from a Azure Keyvault in a business rule. I have a powershell script that works if i run a external command. But it fails if ... at &lt;ScriptBlock&gt;, &lt;No file&gt;: line 20 Any sugestion? Kind regards Reidar Dick-Henriksen

asked Dec 6, 2023 by reidardh (20 points)
0 votes
1 answer

Hi Forum, I wan't to connect to the Adaxes Service from outside the Domain. So i try to connect this way: # Connect to the Adaxes service $admNS = New-Object "Softerra ... can i connect to the Adaxes Service from a host outside the domain? Thanks for your help

asked Nov 6, 2015 by esoAdxAdmin (650 points)
0 votes
0 answers

Is it possible to pass credentials to Adaxes web interface in order to skip log on?

asked Sep 7, 2011 by abdutal (110 points)
0 votes
1 answer

I'm trying to run a powershell script that triggers before updating a user, but only run it if the action comes from the self-update web interface. Is that possible?

asked Sep 4, 2025 by jaymallery (60 points)
0 votes
1 answer

We get Sharepoint Online requests for access to sites/folder/content. Is there a way to automate this task?

asked Jul 10, 2023 by dharry (20 points)
0 votes
1 answer