Support‎ > ‎

HRPro Employee Portal Installation Procedure on Windows Server

Preparation – install Internet Information Server (IIS) and ASP.NET

1. Install Windows Server 2012 or above with all security updates, hot fixes and service pack from Windows Update

2. Open Server Manager, click 2 Add roles and features


3. Click Next to the Server Roles, check Web Server (IIS)


4. Click Add Features button


5. Click Next to the Features tab, check ASP.NET 4.5


6. Select All components in Application Development in the Role Services tab.

Click Next and Install. After Install completed, restart the Server.

7. Open Internet Information Services (IIS) Manager (Server Manager -> Tools)



8. Setup the Employee Portal Web Site

8.1) Create a folder using your company name (e.g. MyCompany) under c:\inetpub\wwwroot, 
8.2) Copy all the Employee Portal files from the EPortal subfolder inside the Setup Package and put them into c:\inetpub\wwwroot\MyCompany with all subfolders.
8.3) Open IIS Manager again, go to Web Sites -> [MyCompany]. Right Click, Convert to Application.


Define the SQL Server Connection String and SMTP Server for the Email
Modify the EPortal.Config to define the SQL Server Connection String nd SMTP Server for the Email.

EPortal.config

<appSettings>
  <add key="data source" value="NUTECH-OFFICE\SQL2012"/>
  <add key="initial catalog" value="dbHRPro"/>
  <add key="user id" value="sa"/>
  <add key="password" value="password"/>
  <add key="smtp from" value="hr@hrpro.hk"/>
  <add key="smtp from name" value="HR Department"/>
  <add key="smtp network host" value="smtp.gmail2.com"/>
  <add key="smtp network port" value="587"/>
  <add key="smtp userName" value="hr@hrpro.hk"/>
  <add key="smtp password" value="password"/>
  <add key="smtp enableSsl" value="true"/>
  <add key="smtp CCToSender" value="0"/>
  <add key="smtp BCCToSender" value="0"/>
</appSettings>

For connectionstring, Data Source is the name of the SQL Server, Initial Catalog is the database name, userid is the sql server userid, password is the sql server password.

You may have permission issue when you save the edited EPortal.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 dialog.
3) Save the file

Launching EPortal

1) In IE, type http://localhost/mycompany. If the following screen can display properly, the installation is completed.



See also: