Troubleshooting
General
If you have problems with UAS, launch HOPEX Daily Logs, you need to activate “Hopex Web App Logs” to see UAS logs.
You can also use Hopex Monitor Console.
Get information about configuration
UAS use an SSP webservices to retrieve HOPEX options.
You can request it to know if your configuration is well defined.
You need to type this URL below if you want to retrieve a specific authentication configuration :
http://<servername>/megassp/sitecfg.mgsp?skey=<serialkey>§ion=<sectionname>&key=<keyname>
Redirect Server name to Full Qualified Domain name
To redirect Server name to Full Qualified Domain name:
1. Download IIS rewrite module 2 at:
2. Install it.
3. Into system.webServer in the web.config file, add the following:
<rewrite>
<rules>
<rule name="Redirect2FQDN" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^([^\.]+)$" />
</conditions>
<action type="Redirect" url="http<s>://{HTTP_HOST}.mega.com/hopex" />
</rule>
</rules>
</rewrite>
4. Change the domain .mega.com by yours.
Client configuration in Windows Authentication mode
To avoid the basic login popup, you must configure this website like a Local intranet website.
To configure the website like a local intranet website:
1) Open your "Internet browser".
2) Go to Internet Options.
3) Select Security tab.
4) Click Local Intranet.
5) Click Sites.
6) Click Advanced.
7) In the Add this website to the zone field, enter: "http://<domain name>" .
8) Click Add.
9) Click Close.
Filtering Windows group
In Windows authentication mode, when you have too many Windows groups, you can filter them.
You can filter either by group number or by group name.
Filtering Windows group by number
MaxWindowsRoles enables to filter the Windows groups by number.
By default, the filter is disabled (value=”0”).
You can set this value to the number of Windows groups you want.
To filter Windows group by number:
1) In HOPEX installation folder, expand wwwwroot > WindowsAuthenticationService folders.
2) Open the Web.config file.
3) In the appSettings section, set the MaxWindowsRoles value to the number of Windows group you want:
<appSettings>
<add key="MaxWindowsRoles" value="<number of Windows groups>"/>
<!-- <add key="WindowsRoles" value=""/>-->
</appSettings>
Filtering Windows group by name
Windows Roles enables to filter the Windows groups by name.
By default, the filter is disabled.
Values are group names separated with a “;”.
To filter Windows group:
1) In HOPEX installation folder, expand wwwwroot > WindowsAuthenticationService folders.
2) Open the Web.config file.
3) In the appSettings section, remove the comment characters (<!-- --> ) and add the group names separated with a “;”:
<appSettings>
<add key="MaxWindowsRoles" value="0"/>
<add key="WindowsRoles" value=”GroupName1;GroupName2;GroupName3"/>
</appSettings>