HRPro.config Settings
Starting at 14.02, HRPro Web Client has its own config file (HRPro.config) that stores the site-specific information (SQL Server connection info and SMTP server settings or maybe others). Web Client now read the settings in HRPro.config first before looking into Web.Config. So HRPro.config will be a static file storing customer information that stays on the customer site and the settings in Web.config will be ignored.
Minimal HRPro.config settings
data source - the SQL server instance name (If you prefer using IP address as the data source, please use the syntax something like that
<add key="data source" value="tcp:192.168.0.1,1433"/>)
initial catalog - the HRPro Application database name
user id - the SQL server User ID
password - the SQL server password for user id (see How to enable SQL Server Password Encryption in order to encrypt the password)
Completed HRPro.config settings
The completed HRPro.config settings of your version can be found in HRPro.full.config inside the App_Data folder of your web site.
You can only put the keys you required into HRPro.config. If the key is missing in HRPro.config, the system will use its default setting.
If IsSingleCompanyLogin is set to true, the company selection combo box during login will be disabled. See How to enable Single Company Login?
If PDFReportUseFontFile is set to true, it is supported to export PDF with Chinese Characters normally without requiring the installation of Arial Unicode MS to the Server. See Why all Chinese Characters on the PDF report are displayed as rectangular boxes in HRPro Web Client/EPortal?
The value of CompanyLogoURL is an URL, not a physical path. (However, if the value is "\Mylogo.png", usually can refer to C:\inetpub\wwwroot\Mylogo.png).
LoginNotificationSubject, LoginNotificationHeading, LoginNotificationStyle, LoginNotificationContent1, LoginNotificationContent2, LoginNotificationClosing are for the Login Notification Email when Enable Login Email Notification in Personal Options is turned on.
The SMTP send wait is to define the delay (in seconds) when emailing documents (e.g. Pay Slip) between each email. This setting is to overcome the throttling limitation of some SMTP servers when submitting messages.
SessionTimeOut is the number of minutes that go to time out when no activity. The default is 600, i.e. 10 hours. If the user does not refresh or request a page within the timeout period, the session will end and return to the login page.
If AllowSimultaneouslyLogin is set to true, the same User ID can be login to multiple devices/browsers at the same time. It is not recommended to turn it on as it will produce weird results if both devices/browsers are operating the same function at the same time. (This option is effective only if the database is licensed as a Company license or a Server license.)
SimultaneousLoginIdleMinutes is the number of minutes required to wait in order for the same User ID can be login to another device/browser if another logged-in session does not have activity. This setting is applicable to both HRPro and EPortal.
For database specific settings, you can put the database name in front of the Key and separated with a space, e.g
<add key="dbHRPro CompanyLogoURL" ...>
You may have a permission issue when you save the edited HRPro.config using Notepad. You can either
Save to desktop and copy back to the original location
Search Notepad, right click and select run as administrator and then open the file using the file open dialogue.
It is recommended to either recycle the Application Pool, restart IIS or restart the server after HRPro.config is amended.