This often happens on new installations, or when the server name/ username, or database location have changed.
Background of issue:
The application is trying to access the server and database to confirm that it has permissions to access.
When permissions come back unauthorized or the server can't be located, you will see the error above.
How to Resolve:
Once the login screen comes up click on "Options"
From here you will fill in all the required fields.
Database Server: Name of instance where WeSuite database resides
Database Name: Name of WeSuite Database
Username: if using SQL Authentication you will enter the sql user who should be used to authenticate against the database
Password: password to authenticate with entered username
Use SQL Integrated Security: If checked you will be using windows authentication. if unchecked the system will use the username and password entered above.
For Windows Authentication: the application is trying to authenticate to the SQL Server using the user who is logged in to the windows machine. You will have to make sure that the user has access to the WeSuite database with the "Estimator" role, or is a member of a Windows Security group with similar permissions.
Depending on the version of WeEstimate, being run you may need to make the changes directly in the config editor.
To do this:
Right click on the WeSuite shortcut and select "Open File Location"
Once in the folder where WeSuite is located, scroll to find a folder labeled "Config"
Double click on this folder and open the WSUSER.config file in notepad.
In Notepad edit the file with the required information.
dbUseAuthentication = If "TRUE" you will be using windows authentication. if "FALSE" the system will use the username and password entered for username and password.
dbServer: Name of instance where WeSuite database resides
dbuid: if using SQL Authentication you will enter the sql user who should be used to authenticate against the database
dbpassword: password to authenticate with entered username
dbname: name of WeSuite Database
Save the notepad and reopen application