Employee Portal Web Application Server Deployment on Windows Server
Prepare the Server:
Install Windows Server and apply all security updates, hotfixes, and service packs via Windows Update.
Install IIS and Required Features:
Open Server Manager and select Add roles and features.
Proceed to the Server Roles section and check Web Server (IIS).
Click Add Features when prompted.
On the Features tab, check ASP.NET 4.5.
In the Role Services tab under Application Development, select all components.
Click Next, then Install.
Restart the server after installation completes.
3. Set Up the EPortal Website in IIS:
Open Internet Information Services (IIS) Manager from Server Manager → Tools
Create a folder named after your company (e.g., EPortal) under C:\inetpub\wwwroot.
Copy all files and subfolders from the WebClient folder in the HRPro Setup Package to this newly created folder.
In IIS Manager, navigate to Web Sites → EPortal.
Right-click the site folder and select Convert to Application.
4. Configure Database Connection:
Edit the EPortal.Config file is located in your web application folder.
Define the SQL Server connection string within the <appSettings> block as follows:
<appSettings>
<add key="data source" value="YourServerName\InstanceName"/>
<add key="initial catalog" value="dbHRPro"/>
<add key="user id" value="sa"/>
<add key="password" value="YourPassword"/>
</appSettings>
Replace YourServerName\InstanceName with your SQL Server name instance.
Replace YourPassword with the SQL Server password corresponding to the user ID.
Note: If you encounter permission issues saving this file, either save to your desktop and copy it back or run Notepad as Administrator to edit and save the file.
For enhanced security, consider enabling SQL Server password encryption as per How to Enable SQL Server Password Encryption.
5. Install Arial Unicode MS Font:
Install the Arial Unicode MS font on the server to ensure proper rendering of Chinese characters in PDF reports, especially if Microsoft Office is not installed.
Refer to the HRPro documentation titled "Why all Chinese Characters on the PDF Report are displayed as rectangular boxes in HRPro Web Client" for details.
6. Add robots.txt File:
Copy the robots.txt file to the root directory of your website.
This file controls search engine indexing and crawling behaviors.
See the HRPro guide "What is the robots.txt for?" for specifics.
7. Access the Web Client:
Open a web browser and go to http://localhost/EPortal to access the Employee Portal locally.
For remote access, replace localhost with the server’s IP address or hostname (e.g., http://192.168.x.x/EPortal).
To enable SSL (HTTPS) connection, refer to How to Enable SSL (HTTPS) Connection for HRPro Web Application Server.
See also:
Other Installation and Setup Information