The ArchiOffice/EngineerOffice Mobile app displays a 'Login Failed' message when it is unable to connect to the server.
This error can be caused by an incorrect username, password, domain or by incorrect server settings.
To use the ArchiOffice Mobile app on a website, which uses Secure Socket Layers (SSL), the web.config file under the C:\Program Files (x86)\BQE Software\ArchiOffice 20xx\public\AOOAPI folder needs to be set to the correct version. To do so:
1. Make a backup of the original web.config file.
2. Delete the existing web.config file.
3. Rename webSSLAndRegular.txt to web.config.
4. Perform an IISreset.
If the above does not allow you to log in, then check the settings in IIS:
Verify SSL Certificate
The ArchiOffice/EngineerOffice Mobile app will not work with a self-signed certificate. If you are not sure if the certificate is valid, you can use this tool to verify that:
Configure IIS to allow SSL
Load the Internet Information Services Manager (IIS). Check to make sure that the following configurations are applied correctly:
1. Check that the top-level server object has a valid certificate.
2. Verify that the certificate used is not self-signed. If the certificate is self-signed, it will not authenticate with the mobile app.
3. Next, configure Port Bindings. Make sure that the Port Bindings for https is set to the correct port (typically 443) for the Default Web Site. Right-click on Default Web Site and select Edit Bindings.
Note: If the ArchiOffice site is installed to be outside of the Default Web Site parent object, then set the binding there.
4. The ArchiOffice/EngineerOffice site can be set to require SSL connections. To do so, under the Features View > IIS section, select SSL Settings.
5. Check “Require SSL” and then select the “Require” option.
Note: After configuring an SSL connection, the URL to the website will require an “https” prefix. Example: http://192.168.0.4/AO2015 becomes https:// 192.168.0.4/AO2015.
6. The AOOAPI web object controls the setting for the ArchiOffice Mobile app. The aspnet_client folder controls the settings for the Crystal Reports engine. Make sure that these folders are not set to require SSL; otherwise, the mobile app and Crystal Reports might fail to connect.
For more on configuring HTTP/HTTPS in Web.Config, see http://www.codeproject.com/Articles/7206/Switching-Between-HTTP-and-HTTPS-Automatically-Ver.