Skip to main content
CPHive Connections and Settings

Integrate CPHive with iPaaS.com to enable seamless synchronization of retail data, including inventory, transactions, customers, and other business-critical information.

Updated over a month ago

How to Connect

Prerequisites

Before setting up the CPHive integration in iPaaS.com, ensure the following steps are completed:

Installing .NET Core 6.0

To ensure the proper functioning of CPHive, .NET Core 6.0 must be installed on the IIS server. Follow the steps below:

  1. Download the .NET Core Hosting Bundle:

    • Visit the official .NET Core download page: Download .NET Core 6.0.

    • Download the ASP.NET Core Runtime Hosting Bundle.

  2. Install the .NET Core Hosting Bundle:

    • Run the downloaded installer.

    • Accept the license agreement and click Install.

    • Wait for the installation to complete and click Finish.

  3. Verify Installation:

    • Open a command prompt or PowerShell window.

    • Type the following command and press Enter:

      dotnet --info
    • Ensure that the installed version is .NET Core 6.0.x.

Find the Specific CounterPoint Database Name

  • Open CounterPoint.

  • Enter your User ID, Password, and WorkGroup ID. Click OK.

    Machine generated alternative text:
6961.66.138:29099 Remote Desk-top 
counterpoint 
O NCR 
This software is not registered 
uur%yxrrt 
used 
user ID 
Workgroup ID 
NC-fi A' reserÆ 
NCR All 
O NCR 
counterpoint
  • In the upper-right corner, select the search (spyglass icon).

  • Search for and select View Environment Settings.

  • Navigate to the Database tab.

  • Make note of the following details:

    • Server Name

    • Database Name

      Machine generated alternative text:
counterpoint 
Home 
Point of Sale 
Inventory 
Customers 
Purchasing 
Sales History 
Ecommerce 
Timecards 
Data Interchange 
System 
Setup 
MGR 
Recently Used 
View Env 
Favorites 
View Environment Settings 
Serial 
Registered user Denu 
dentificatbn User Database Database Size 
Date & 
System Versbns 
7/15/2021 33141 AM 
Crystal Certftatbns 
Database narrE 
Database v ersion 
Database alas 
Database bgin narre 
Database server 
Packet errors 
Packets sent 
Packets received 
TestGOIf 
3517 
TestGolf 
AR-SANDBOX-OI 
saLNCL111 
63921 
62046 
spo 53 
Total errors O 
Total reads 627S 
Total wres 13288S 
Touchscreen 
Save Fik 
Copyright e 2020 NCR 
8:31 AM 
A CIO
  • Close CounterPoint

  • The MiSP will need to find "Company Alias" inside "System Configuration Utility".

  • Open Windows Search.

  • Search for and select System Configuration Utility.

    Machine generated alternative text:
Recycle Bin 
System Configuration Utility 
Desktop app 
System Configuration 
Desktop app 
Apps 
System Information 
Settings 
Windows Defender 
Control Panel 
Settings 
System 
O About your PC 
Recovery 
Check for updates 
Windows UDdate settinas 
system
  • Navigate to the Companies section.

  • Make note of the Alias Name.

    Machine generated alternative text:
Company Names 
Save 
Alias 
Cancel 
Golf 
Company Qelete Company Refresh Convanies 
ConnecbonString 
provider-SQLNCLIII. sea-Tity Info -True;user :... 
system database Info-True;user catalog-cpsystem_il,

Note: MiSP will need "Microsoft SQL Server" user credentials(username and password) for the CPHive install.

Install CPHive:

  • Assign CPHive to its own 32-bit App Pool. Ensure staging and production instances do not share the same pool.

  • The account running the App Pool must have:

    • Full access to the CPHive website DDCache folder.

    • Full access to the Counterpoint TLD directory (e.g., C:\Program Files (x86)\Radiant Systems\CounterPoint\CPSQL.8567\Toplevel\).

If the Counterpoint TLD is on another server, a local user of the IIS server will not have access since they are a local user and not domain user. You may need to grant machine account permissions or use a user account instead


Verify Roles and Features on the Server with Counterpoint:

Open Server Manager:

  • Find the search box in the taskbar.

  • Type in server in the search bar and select Server Manager (Desktop App).

    Server Manager 
Server Manager Dashboard 
Manage 
Tools 
Dashboard 
i Local Server 
ii All Servers 
File and Storage Services 
io IIS 
WELCOME TO SERVER MANAGER 
Configure this local server 
QUICK START 
NEW 
LEARN MORE 
2 
3 
4 
5 
Add roles and features 
Add other servers to manage 
Create a server group 
Connect this server to cloud services 
ROLES AND SERVER GROUPS 
Roles: 2 | Server groups 1 | Servers total: 1 
File and Storage 
Services 
@ Manageability 
Events 
Services 
Performance 
BPA results 
1 
Manageability 
Events 
Performance 
BPA results 
Local Server 
Manageability 
Events 
Performance 
BPA results 
7/13/2021 8:12 AM 
All Servers 
@ Manageability 
Events 
Performance 
BPA results 
7/13/2021 8:12 AM 
e 
View Help 
&12AM 
7/13/2021

In Server Manager:

  • Select Local Server or All Servers.

  • Scroll down to Roles and Features and click Tasks > Add Roles and Features.

    Dashboard 
Local Server 
ii All Servers 
File and Storage Services > 
IIS 
PERFORMANCE 
All results I O total I Last 24 hours 
CPU Usage 
TASKS 
10 am 
11 am 
12 pm 
1 pm 
2 pm 
4 pm 
5 pm 
6 pm 
7 pm 
8 pm 
9 pm 
10 pm 
11 pm 
12 am 
1 am 
2 am 
4 am 
5 am 
Available Memory 
Filter 
Server Name 
6 am 
d 
7 am 
Counter Status 
CPU Alert Count Memory Alert Count 
Type 
First Occurrence 
Path 
Web Server (IIS) 
Last Occurrence 
ROLES AND FEATURES 
All roles and features | 63 total 
8 am 
TASKS 
eatures 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Remove Roles and Features 
Name 
Web Server (IIS) 
IIS Client Certificate Mapping Authentication 
URL Authorization 
Request Filtering 
IP and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service 
Role Service 
Role Service 
Role Service 
Role Service 
Feature 
Feature 
Web Server Client Certificate Mapping Authentication 
Web Server Authorization 
Web Server Filtering 
Web Server and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service

Follow the Add Roles and Features Wizard:

  • Click Next on the "Before You Begin" screen.

    Dashboard 
i Local Server 
ii All Servers 
i' File and Storage Ser.'ices 
io IIS 
PERFORMANCE 
All results | 1 total I Last 24 hours 
CPU usage 
x 
8 am 
9 am 
10 am 
Add Roles and Features Wizard 
Before you begin 
Before You Begin 
Installation Type 
Server Selection 
DESTINATION SERVER 
RR-Sandbox-01 -galactic-empireJocal 
This wizard helps you install roles, role services, or features. You determine which roles, role services, or 
features to install based on the computing needs of your organization, such as sharing documents, or 
hosting a website. 
To remove roles, role services, or features: 
Start the Remove Roles and Features Wizard 
Before you continue, verify that the following tasks have been completed: 
• The Administrator account has a strong passvvord 
• Network settings, such as static IP addresses, are configured 
• The most current security updates from Windows IJpdate are installed 
If you must veri%' that any of the preceding prerequisites have been completed, close the wizard, 
4 am 
5 am 
6 am 
Available Memory 
Filter 
Server Name 
RR-SANDBOX-OI 
Counter 
Off 
ROLES AND FEATURES 
All roles and features | 39 
TASKS 
7 am 
TASKS 
filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Name 
Web 
Wind 
Windows PowerShell 2.0 Engine Feature 
complete the steps, and then run the wizard again. 
To continue, click Next 
Skip this page by default 
Windows PowerShelNWindows PowerShell 2.0 Engine 
PowerShelNWindows PowerShell 5.1 
.NET Framework 4.6 Features 
.NET Framework 4.6 Features\.NET Framework 4.6 
.NET Framework 4.6 Features WCF Services 
Install 
Cancel 
Windows PowerShell 5.1 
.NET Framework 4.6 Features 
.NET Framework 4.6 
WCF Services 
Feature 
Feature 
Feature 
Feature
  • Select Role-Based or Feature-Based Installation and click Next.

    Machine generated alternative text:
Dashboard 
i Local Server 
ji All Servers 
File and Storage Services 
io IIS 
PERFORMANCE 
All results I I total I Last 24 hours 
CPU Usage 
x 
8 am 
9 am 
10 am 
Add Roles and Features Wizard 
Select installation type 
DESTINATION SERVER 
RR-Sandbox-OI -galactic-empire.local 
4 am 
5 am 
6 am 
Available Memory 
Before You Begin 
Installation Type 
Server Selection 
Filter 
Server Name 
RR-SANDBOX-OI 
Select the installation type. You can install roles and features on a running physical computer or virtual 
machine r on an offline virtual hard disk HD . 
@ Role-based or feature-based installation 
Configure a single server by adding roles, role services, and features. 
O 
Remote Desktop Services installation 
Install required role services for Virtual Desktop Infrastructure (VDI) to create a virtual machine-based 
Counter 
Off 
ROLES AND FEATURES 
All roles and features | 39 to 
TASKS 
7 am 
TASKS 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Name 
Web Se 
Wind 
Windows PowerShell 2.0 Engine 
Windows PowerShell 5.1 
.NET Framework 4.6 Features 
.NET Framework 4.6 
Feature 
Feature 
Feature 
Feature 
or session-based desktop deployment. 
< Previous 
Windows PowerShell\Windows PowerShell 2.0 Engine 
Windows PowerShell\Windows PowerShell 5.1 
.NET Framework 4.6 Features 
.NET Framework 4.6 Features\.NET Framework 4.6 
Next 
Install 
Cancel 
Microsoft Teams
  • Choose the server with Counterpoint as the Server Selection and click Next.

    Machine generated alternative text:
Dashboard 
i Local Server 
ji All Servers 
File and Storage Services 
io IIS 
PERFORMANCE 
All results I I total I Last 24 hours 
CPU Usage 
x 
8 am 
9 am 
10 am 
Add Roles and Features Wizard 
Select destination server 
DESTINATION SERVER 
RR-Sandbox-OI -galactic-empire.lc•cal 
4 am 
5 am 
6 am 
Available Memory 
Before You Begin 
Installation Type 
Server Selection 
Server Roles 
Features 
Select a server or a virtual hard disk on which to install roles and features. 
@ Select a server from the server pool 
Filter 
Server Name 
RR-SANDBOX-OI 
Counter 
Off 
Server Pool 
Filter: 
Name 
RR-Sandbox-01. 
alactic-... 
IP Address 
10.230.2.49 
Operating System 
Microsoft Windows Server 2016 Standard 
ROLES AND FEATURES 
All roles and features | 39 to 
TASKS 
7 am 
TASKS 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Name 
Web Se 
Wind 
Windows PowerShell 2.0 Engine 
Windows PowerShell 5.1 
.NET Framework 4.6 Features 
.NET Framework 4.6 
WCF Services 
Feature 
Feature 
Feature 
Feature 
Feature 
1 Computer(s) found 
This page shows servers that are running Windows Server 2012 or a newer release of Windows Server, 
and that have been added by using the Add Servers command in Server Manager. Offline servers and 
newly-added servers from which data collection is still incomplete are not shown. 
Windows PowerShell\Windows PowerShell 2.0 Engine 
Windows PowerShell\Windows PowerShell 5.1 
.NET Framework 4.6 Features 
.NET Framework 4.6 Features\.NET F 
Music 
.NET Framework 4.6 Features WCF Service

Configure the following server roles:

  • Scroll down and expand the Web Server (IIS) area.

  • Expand the Web Server sub-area and configure:

    • Expand HTTP Features:

      • Check all options except WebDAV Publishing.

    • Expand Health and Diagnostics:

      • Check HTTP Logging, Logging Tools, and Request Monitor if not already checked.

        Se'ect ser' 為 ; 0
    • Expand Performance:

      • Check all options (e.g., Static Content Compression, Dynamic Content Compression).

    • Expand Application Development:

      • Check .NET 4.5 Extensibility or later, ASP.NET 4.5 or later, ISAPI Extensions, and ISAPI Filters if not already checked.

    • Expand Security:

      • Check all options if not already enabled.

        i 
Select server roles 
Before You Begin 
Installation Type 
Server 
Server Roles 
Features 
Select one or more roles to install on the selected server. 
Performance (Installed) 
Static Content Compression (Installed) 
ecu r 1 (8 Of 9 Installed' 
DESTINATION SERVER 
Security provides infrastructure for 
securing the Web server from users 
and requests. IIS supports multiple 
authentication methods. Pick an 
appropriate authentication scheme 
based upon the role of the server. 
Filter all incoming requests. rejecting 
without processing requests that 
match user defined values, or restrict 
requests based on originating 
address space. 
Cancel 
12 am 
:nce 
1 am 
2 am 
3 am 
4 am 
5 am 
6 am 
7 am 
8 am 
9 am 
TASKS 
10 am 
C] 
Request Filtering (Installed) 
Basic Authentication (Installed) 
Centralized SSI Certificate Support 
Client Certificate Mapping Authentica 
Digest Authentication (Installed) 
IIS Client Certificate Mapptng Authent 
IP and Doma•n Restnct'ons (Installed) 
URL Authorization (Installed) 
Windows Authentication (Installed) 
FTP Server (1 of 2 installed) 
t' @ Management Tools (4 of 7 installed) 
C] Windows Deployment Services 
C] Windows Server Essentials Experience 
< Previous 
Next > 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Name 
Web Server (IIS) 
IIS Client Certificate Mapping Authentication 
URL Authorization 
Request Filtering 
IP and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service 
Type 
Role Service 
Role Service 
Role Service 
Role Service 
Feature 
Feature 
Path 
Web Server (IIS) 
Web Server Client Certificate Mapping Authentication 
Web Server Server\SecurityWRL Authorization 
Web Server Filtering 
Web Server and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service

Reference Table for Server Role Features:

Filter Server Name

Name

Type

Path

RR-SANDBOX-OI

Web Server (IIS)

Role Service

Web Server (IIS)

RR-SANDBOX-OI

IIS Client Certificate Mapping Authentication

Role Service

Web Server\SecurityWRL Authorization

RR-SANDBOX-OI

URL Authorization

Role Service

Web Server Filtering

RR-SANDBOX-OI

Request Filtering

Role Service

Web Server and Domain Restrictions

RR-SANDBOX-OI

IP and Domain Restrictions

Role Service

WOW64 Support

RR-SANDBOX-OI

Windows Process Activation Service

Feature

Windows Process Activation Service

Configure Management Tools:

  • Expand the Management Tools section.

  • Expand IIS 6 Management Compatibility:

    • Check IIS Management Console, IIS 6 Metabase Compatibility, IIS Management Scripts and Tools, and Management Service.

    • Click Next under "Features" to keep the default settings and continue.

      Select server roles 
Before You Begin 
Installation Type 
Server Selection 
Server Roles 
Features 
Select one or more roles to install on the selected server. 
(V ASP.NET 4.6 (Installed) 
C] CGI 
@ ISAPI Extensions (Installed) 
ISAPI Filters (Installed) 
Server Side Includes 
WebSocket Protocol 
@ FTP Server (1 of 2 installed) 
Mana ement Tools 4 of 7 installed 
V IIS Management Console (Installed) 
insta 
V IIS 6 Metabase Compatibility (Installed) 
anagemen o 
IIS 6 Scripting Tools 
IIS Management Scnpts and Tools (Installed 
•Z Management Service (Installed) 
Windows Server Essentials Expenence 
Windows Server Update Services 
DESTINATION SERVER 
RR-Sar±ox-01 
Client Certificate Mapping 
Authentication uses client 
certificates to authenticate users. A 
client certificate is a digital ID from a 
trusted source. IIS offers two types 
Of authentication using client 
certificate mapping. This type uses 
Active Directory to offer one-to-one 
certificate mapmngs across multiple 
Web servers. 
12 am 
:nce 
1 am 
2 am 
3 am 
4 am 
5 am 
6 am 
7 am 
8 am 
9 am 
Install 
Path 
Cancel 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Name 
Web Server (IIS) 
IIS Client Certificate Mapping Authentication 
URL Authorization 
Request Filtering 
IP and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service 
Type 
Role Service 
Role Service 
Role Service 
Role Service 
Feature 
Feature 
Web Server (IIS) 
Web Server Client Certificate Mapping Authentication 
Web Server Authorization 
Web Server Filtering 
Web Server and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service 
P 
B 
TASKS 
10 am 
1:21 PM 
7/12/2021
      Select features 
Before you Begin 
Installation Type 
Server Selection 
Server Roles 
Features 
Confirmation 
Select one or more features to install on the selected server. 
Features 
r @ .NET Framework 3.5 Features (1 Of 3 installed) 
r @ .NET Framework 4.6 Features (6 of 7 installed) 
C] Background Intelligent Transfer Service (BITS) 
BitLocker Drive Encryption 
BitLocker Network Unlock 
C] BranchCache 
Client for NFS 
C] Containers 
DESTINATION SERVER 
1 g*xtic-enpire.local 
Description 
Windows Standards-Based Storage 
Management provides the ability to 
discover, manage, and monitor 
storage devices using management 
interfaces that conform to SMI-S 
standard. This functionality is 
exposed as a set of Windows 
Management Instrumentation (WMI) 
classes and Windows PowerShell 
cmdlets. 
12 am 
:nce 
1 am 
2 am 
3 am 
4 am 
5 am 
6 am 
7 am 
8 am 
9 am 
Data Center Bridging 
rect Play 
E ed Storage 
Failov lustering 
Group POI anagement 
I/O Quality of 
IIS Hostable Web 
Internet Printing Client 
IP Address Management (l 
iSNS Server service 
CPR Port Monitor 
) Server 
TASKS 
10 am 
TASKS 
Install 
Path 
Cancel 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Name 
Web Server (IIS) 
IIS Client Certificate Mapping Authentication 
URL Authorization 
Request Flltenng 
IP and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service 
Type 
Role Service 
Role Service 
Role Service 
Role Service 
Feature 
Feature 
Web Server (IIS) 
Web Server Client Certificate Mapping Authentication 
Web Server Authorization 
Web Server Server\SecurityVRequest Filtering 
Web Server and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service

Finalize the configuration:

  • Confirm your selections and click Install.

    Confirm installation selections 
DESTINATION SERVER 
1 gdactic-«npire.local 
Before you Begin 
installation type 
Server Roles 
Features 
Confirmation 
TO install the following roles, role services. or features on selected server, click Install. 
C] Restart the destination server automatically if required 
Optional features (such as administration tools) might be displayed on this page because they have 
been selected automatically. If you do not want to install these optional features, click Previous to clear 
their check boxes. 
Windows Standards-Based Storage Management 
Export configuration settings 
Specify an alternate source path 
12 am 
:nce 
1 am 
2 am 
3 am 
4 am 
5 am 
6 am 
7 am 
8 am 
9 am 
TASKS 
10 am 
< Previous 
Next 
Filter 
Server Name 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOXOI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
RR-SANDBOX-OI 
Install 
Path 
Cancel 
Name 
Web Server (IIS) 
IIS Client Certificate Mapping Authentication 
URL Authorization 
Request Filtenng 
IP and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service 
Type 
Role Service 
Role Service 
Role Service 
Role Service 
Feature 
Feature 
Web Server (IIS) 
Web Server Client Certificate Mapping Authentication 
Web Server Server\Security\URL Authonzation 
Web Server Filtering 
Web Server and Domain Restrictions 
WOW64 Support 
Windows Process Activation Service
  • Wait for the installation process to complete.

Steps to Verify DNS Entry:

  • Open the Windows search bar and type IIS.

  • Select IIS Manager (Desktop App) from the search results.

  • Under Connections, expand Sites.

  • Navigate to and select Application Pool.

  • Verify that the Web Site Entry exists and confirm the Application Pool is named CPHive.

    .ea Start Page 
RR-SANDBOX-OI (GALACTIC 
Application Pools 
v Default Web Site 
aspnet_c lent 
CPHive 
Application Pools 
This page lets you view and manage the list of application pools on the server. Application pools are associated with worker processes, contain one or more applications, and provide 
isolation among different applications. 
Filter: 
Name 
.NET v4.5 
.NET 
CPHive 
Defau ltAppP 001 
Go • e Show All Group by. No Grouping 
.NET CLR V... Managed Pipel... Identity 
Status 
Started 
Started 
Started 
Started 
View 
v4.o 
v4.o 
v4.o 
Integrated 
Classic 
Integrated 
Integrated 
ApplicationPoolld... 
ApplicationPoolld... 
Galactic-Empire\J... 
ApplicationP0011d... 
Applications 
2

Configuring Website and SSL Certificate:

Note: IT team will need to add a subdomain for a website URL. Make sure you have that info handy later.

Note: IT will need to use a separate SSL certificate for each individual subdomain or client can buy a wildcard certificate that is good for any subdomain.

IMPORTANT: IT will need to configure your firewall to only allow internet traffic to CPHive from the following IP addresses:

  • outbound.iPaaS.com / 52.184.255.108 (iPaaS.com production environment)

  • 69.61.66.128/27 (iPaaS.com staging environment)

  • Any IP addresses in use by IT for troubleshooting

  • Right-click the DNS Entry and select Manage Website.

  • Choose Advanced Settings.

  • Confirm that the Website is pointing to the wwwroot folder.

  • If using HTTPS:

    • Right-click Default Website and select Edit Binding.

    • Select Edit to confirm the HTTPS entry.

    • If an HTTPS wildcard certificate is missing, proceed with the following:

      • Click Add.

      • Set https as the Type.

      • Select the appropriate IP Address from the dropdown.

      • Choose the correct SSL Certificate from the dropdown.

      • Click OK to save the settings.

      • Click Close to finalize the binding configuration.

Adding and Configuring an Application Pool (If Missing):

If no Application Pool exists for the site:

  • Right-click Application Pools in the IIS Manager.

  • Select Add Application Pool.

  • Type CPHive for the Application Pool Name.

  • Keep the other defaults and click OK.

    Internet Information Services (IIS) Manager 
RR-SANDBOX.OI Application pools 
Help 
Start Page 
v. RR-SANDBOX-OI (GALACTIC 
Application pools 
v Sites 
aspnet_client 
CPHive 
Application Pools 
This page lets you view and manage the list of application pools on the server. Application pools are associated with worker processes. contain one or more applications, and provide isolation among 
different applications. 
GO • Show All L Group No Grouping 
Add Application pot 
Set Application Pool 
Help 
Applications 
.NET 
.NET v45 Classic 
Defauupppool 
Status 
Started 
Started 
Started 
Started 
.NET CLR Managd Pip& Identity 
v4.o 
v4.o 
v4.o 
v4.o 
Integrated 
Classic 
Integratd 
Intqrated 
Add Application Pool 
Appl 
Name 
.NET CIR v 
.NET CLR Version 
Managed pipeline mode 
Integrated 
Stan application pool immediately 
Cancel
  • Select the newly created Application Pool.

  • Click Advanced Settings under Edit Application Pool.

    Internet Information Services (IIS) Manager 
RR-SANDBOX.OI Application pools 
Help 
Start Page 
v. RR-SANDBOX-OI (GALACTIC 
Application pools 
v Sites 
aspnet_client 
CPHive 
Application Pools 
This page lets you view and manage the list of application pools on the server. Application pools are associated with worker processes. contain one or more applications, and provide isolation among 
different applications. 
GO • Show All L Group No Grouping 
Add Application pot 
Set Application Pool 
Help 
Applications 
.NET 
.NET v45 Classic 
Defauupppool 
Status 
Started 
Started 
Started 
Started 
.NET CLR Managd Pip& Identity 
v4.o 
v4.o 
v4.o 
v4.o 
Integrated 
Classic 
Integratd 
Intqrated 
Add Application Pool 
Appl 
Name 
.NET CIR v 
.NET CLR Version 
Managed pipeline mode 
Integrated 
Stan application pool immediately 
Cancel

  • Update the following settings:

    • Under General, set Enable 32-Bit Applications to True.

    • Under Process Model, select Identity and click the (...) button.

      Application Pools 
Advanced Settings 
Start Page 
RR-SANDBOX.OI (GALACTIC 
Apphcation POOB 
Sites 
> aspnet_client 
•9 CPHive 
This page lets you view and manage the list Of application 
different app lications. 
GO • Show All 
or more applications, and pn 
.NET va.5 Classic 
2 CPHive 
Status 
started 
started 
Started 
started 
NET CIR L Managed P' 
C lassic 
v4Æ 
v 
V 
(General) 
.NET CLR Version 
Enable 32•Bit Applications 
Managed Pipeline Mode 
Name 
Queue Length 
Start Mode 
CPU 
Limit (percent) 
Limit Action 
Limit Interval (minutes) 
Processor Affinity Enabled 
Processor Affinity Mask 
True 
C P H ive 
1000 
On Demand 
False 
Processor Affinity Mask (u-bit 4294967295 
Process Model 
Generate Process Model Event L 
Idle Time-out (minutes) 
Idle Time-out Action 
20 
Terminate 
(identityType username password] Configures the application pool to run 
as built-in account, i.e. Application Pool Identity (recommended), Network 
Service Local System Local Service or as a specific user identity.
  • Choose Custom Account and click Set.

  • Enter the Username and Password for the server user credentials and click OK.

  • Click OK two more times to save the configuration.

    Application Pools 
Advanced Settings 
This page lets you view and manage the list Of application 
different applications. 
Name 
O .NET •45 
.NET v4.5 Classic 
CPI-Eve 
DefaultAppPooI 
Status 
Started 
Started 
started 
started 
.NET CIR v... Managed 
.NET CLR version 
Enable 32-Bit Applications 
Managed Pipeline Mode 
Name 
v4.o 
v4.o 
v4.o 
v4.o 
True 
Integrated 
CPHive 
Classic 
Applica 
or more application$ and pro 
x 
Set Credentials 
user name: 
Eassword: 
Confirm password: 
x 
(identityType username passw•ord] Configures the application pool to run 
as built-in account. i.e. Application Pool Identity (recommended), Network 
Service Local System. Local Service or as a specific user identity.


Update Configuration

  • Edit appsettings.json with the following configuration:

    { "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "Settings": { "CPUser": "MGR", "CPPassword": "Yz2iAFNEqNdTC3E2EuUKiA==", "CPWorkgroup": "1", "LogSeverity": "E", "CounterPointTLD": "C:\\Program Files (x86)\\Radiant Systems\\CounterPoint\\CPSQL.8567\\Toplevel\\", "CounterPointAlias": "TestGolf_8567", "ConnectionStrings": { "CounterPoint": "Password=NotSoSecret;Persist Security Info=True;User ID=sa;Initial Catalog=TestGolf_8567;Data Source=RR-QA-CP-02" } } }

  • Notes for Customization:

    Replace the following placeholders with the correct values from your CounterPoint system:

    • LogSeverity: Set this value to "E" (always use "E").

    • CounterPointTLD: Replace with the top-level directory path of your CounterPoint system.

    • CounterPointAlias: Replace with the alias name of your company from CounterPoint.

    • ConnectionStrings: Update the following:

      • Password: The password for your CounterPoint SQL Server user.

      • User ID: The user ID for your CounterPoint SQL Server.

      • Initial Catalog: The name of your CounterPoint database.

      • Data Source: The server name hosting your CounterPoint database.

Set IIS Folder Permissions

  • If using ApplicationPoolIdentity, grant IUSR and IIS_IUSRS full control over the DDCache folder.

Cache Regeneration and Error Handling

  • After adjusting permissions, restart the app pool and perform the following steps in the local Swagger page:

    • Execute GET /HelloWorld.

    • Execute GET /token/{USR_ID}.

    • Check the DDCache folder to ensure the serialized definition file is generated.

      • If errors persist, verify the following:

        • Ensure USR_API_LOG does not indicate permission issues.

          • Resolve errors like:

            • DDCache serialization failed Could not find a part of the path 'C:\inetpub\wwwroot\CPHive8566\DDCache\SerializedDataDefinitions.json'.

          • Ensure serialized data definitions are saved to the correct path.

          • If custom fields are added to the Counterpoint database:

            • Regenerate the cache file to include mappings for these fields.

            • Failing to do so may result in errors like:
              "The given key 'USR_RR_REQUEST_VIEWS' was not present in the dictionary."
              Bad Request(Http Code: BadRequest).

Installation and Setup

How to Extract the CPHive Folder

  • Locate and download the CPHive.zip file to a designated folder (e.g., Downloads). Right-click the CPHive.zip file.

  • Select "Extract All" from the context menu.

  • When prompted, browse and select the website entry's wwwroot folder as the destination (e.g., C:/inetpub/wwwroot).

    -sandbox-Ol 
Home 
Documents 
j CPHi•ee 
Remote Desktop Connection 
Compressed Folder Tools 
Pictures 
CPwebhooks 
Extract To 
Extract 
Scripts 
Databaselnstaller • 
Downloads 
Downloads 
Extract 
> This PC Downloads 
Name 
Search Dov 
Date m 
* Quick access 
Desktop 
• Downloads 
Documents 
Pictures 
CPHive 
CPWeb hooks 
Databaselnstaller 
Scripts 
This pc 
C on JDOMASH-PC 
Desktop 
Documents 
Downloads 
Music 
Videos 
Local Disk 
DVD Drive sqlS 
Network 
Select a d 
Organize 
Scripts 
This PC 
J ThisPC Local Disk 
New folder 
Name 
inetpub 
Search inetpub 
C on JDOMASH- 
Desktop 
Documents 
Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
DVD Drive S 
Fol 
ftproot 
history 
logs 
temp 
w.vwroot 
Date modified 
7/9/2021 833 AM 
7/9/2021 833 AM 
7/15/2021 209 PM 
7/9/2021 4:35 PM 
7/9/2021 8-33 AM 
7/9/2021 9:49 AM 
Type 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
Select Folder 
Size 
Cancel
  • Click "Extract" to start the extraction process.

  • If a permissions dialog box appears:

    • Check "Do this for all current items."

    • Click "Continue" to proceed.

      e Bin 
junterpoint 
Share 
View 
Compressed Folder Tools 
i CPHive 
cpweOhooks 
j Databaselnstaller j w,4wrcot 
Extract To 
Downloads 
Extract 
Date 
7/27 
Se 
This PC Downloads 
Name 
Documents - Shortcut 
CPHive 
Destination Folder Access Denied 
You•ll need to provide administrator permission to copy to this folder 
CPHive 
Date created: 7/9/2021 9:49 AM 
Do this for all current items 
Continue 
Fewer details 
Scripts 
C on JDOMASH- 
Desktop 
Documents 
Downloads 
Music 
Pictures 
Videos 
Local Disk (C) 
DVD Drive S 
Network 
3 items 1 item selected 22.1 MB

Converting the CPHive Folder into an IIS Application

Once the CPHive folder is extracted, you need to convert it into an IIS application.

  • Open File Explorer and navigate to the C: drive.

  • Locate and open the inetpub folder.

  • Open the wwwroot folder.

  • Locate the CPHive folder.

  • Drag and drop the CPHive folder into the wwwroot directory.

    > This pc 
Local Disk(C:) 
CPHive 
inetpub 
> ftproot 
* Quick access 
Desktop 
Downloads 
Documents 
Pictures 
CPHive 
CPHive 
CPWebh00ks 
Scri pts 
This pc 
C on JDOMASH-PC 
Desktop 
Documents 
Downloads 
Music 
Pictures 
Videos 
Local Disk 
DVD Drive sqlS 
Network 
> CPHive > CPHive 
Date modified 
7/27/2021 853 AM 
7/27/2021 8:53 AM 
Search CPHive 
Type 
File folder 
File folder
  • After completing this step, the folder structure should match the example below.

  • Next, the MiSPwould need to convert the CPHive folder into an application.

  • Open the Windows Search Bar and type IIS.

  • Select "Internet Information Services (IIS) Manager" from the search results.

    Counterpoint 
Best match 
Internet Explorer 
Desktop app 
Internet Information Services (IIS) 
Manager 
Desktop app 
p Type here to search
  • In the Connections pane of the IIS Manager:

    • Expand the server node by clicking the dropdown arrow.

    • Expand the "Sites" folder by clicking the dropdown arrow.

    • Locate and expand the corresponding website entry under the "Sites" folder.

    • Right-click on the CPHive folder and select "Convert to Application."

      T ji•
  • Set the Application Pool to the existing "CPHive" instance. If no such pool exists, create a new 32-bit Application Pool with the name "CPHive."

  • Verify that the Physical Path points to the C:/inetpub/wwwroot/CPHive folder.

  • Click "OK" to complete the conversion.

  • Once the application is successfully converted, the CPHive folder icon in IIS Manager will change to an application icon.

How to Set Up the CPHive appsettings.json File

  • Navigate to the CPHive Directory

    • Open File Explorer and go to C:/inetpub/wwwroot/CPHive.

    • Locate the appsettings.json file.

  • Edit the appsettings.json File

    • Open the appsettings.json file with a text editor (e.g., Notepad or Visual Studio Code).

    • Replace the placeholder values with those from your CounterPoint system. Below is an example configuration format:

{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "Settings": { "CPUser": "Your_CP_User", "CPPassword": "Your_CP_Encrypted_Password", "CPWorkgroup": "Your_Workgroup_Number", "LogSeverity": "E", "CounterPointTLD": "C:\\Program Files (x86)\\Radiant Systems\\CounterPoint\\CPSQL.8567\\Toplevel\\", "CounterPointAlias": "Your_Company_Alias", "ConnectionStrings": { "CounterPoint": "Password=YourPassword;Persist Security Info=True;User ID=YourUserID;Initial Catalog=YourDatabaseName;Data Source=YourServerName" } } }
  • Save the Changes

    • Save the file and verify all values (e.g., CPUser, CounterPointTLD, etc.) match your CounterPoint setup.

(Insert Screenshot Placeholder: Edit appsettings.json File Here)

  • Set File and Folder Permissions

    • Ensure that the DDCache folder has the following permissions if the app pool is set to run as ApplicationPoolIdentity:

    • Users: IUSR and IIS_IUSRS must have Full Control.

  • Regenerate the Cache

    • Open a browser and navigate to the local Swagger page for the CPHive API. Perform these requests in order:

      • GET /HelloWorld

      • GET /token/{USR_ID}

      • After each request, verify the DDCache folder contains a new serialized data file (SerializedDataDefinitions.json).

      • If the file is missing, ensure the app pool user has the necessary folder permissions, restart the app pool, and repeat the steps.

  • Troubleshoot Issues

    • Serialization Errors: If you encounter a Could not find a part of the path error, ensure the DDCache folder exists and is accessible.

    • Mapping Errors: If custom fields are added to CounterPoint, regenerate the cache to include these fields. Failure to do so may result in errors like "USR_RR_REQUEST_VIEWS not present in the dictionary".

How to Set Up the CPHive web.config File

Note: This section is deprecated and only applies to legacy versions.

  • Navigate to C:/inetpub/wwwroot/CPHive in File Explorer.

  • Locate the web.config file, right-click it, and select "Move to".

  • Choose the Downloads folder as the destination and confirm the move.

    Cut 
Copy path 
'in Quick Copy 
Paste Shortcut 
Clipboard 
> ThisPC Local Disk 
Copy Delete 
Organize 
inetpub ftproot > 
Easy access 
folder 
CPHive > 
Date modified 
7/27/2021 8:52 AM 
7/27/2021 8:53 AM 
7/27/2021 8:53 AM 
7/27/2021 9:12 AM 
7/27/2021 8:53 AM 
7/27/2021 8:53 AM 
7/27/2021 8:53 AM 
3/2/2020 10:22 AM 
5/25/2018 3:49 PM 
5/25/2018 3:49 PM 
5/10/2021 11:33 
Open • 
Edit 
properties 
Open 
Type 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
CONFIG File 
Icon 
ASAX File 
CONFIG File 
Select all 
co Select none 
Invert selection 
Select 
Size 
32 KB 
15 KB 
Search CPHive 
o 
p 
Pictures 
CPWebhooks 
Scripts 
This pc 
C on JDOMASH- 
Desktop 
R] Documents 
l' Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
DVD Drive S 
Name 
Areas 
Content 
CPHive 
Password Valid a tor 
Scripts 
Views 
Applicationlnsights 
favicon 
Global.asax 
Il items I item selected 144 KB
  • Open the web.config file in the Downloads folder using a text editor (e.g., Notepad).

  • Update the following fields:

    • CounterPointTLD: Replace with the CP system's top-level directory path (e.g., C:\Program Files (x86)\Radiant Systems\CounterPoint\CPSQL.8567\Toplevel).

    • ALIAS: Replace with the company alias from the CP system.

    • CPUSER: Enter the username of a valid CP user.

    • CPPassword: Enter the password for the corresponding CP user.

    • CPWorkgroup: Enter the valid workgroup number of the CP user.

  • Scroll to the <connectionStrings> section and update the <add name> portion:

    • User ID: Replace with a valid CP Microsoft SQL Server user ID.

    • Password: Enter the password for the corresponding SQL Server user.

    • Initial Catalog: Enter the database name of the CP system.

    • Data Source: Enter the server name of the CP system.

  • Save the file after making the updates.

  • Right-click the updated web.config file in the Downloads folder and select "Move to".

  • Choose "Select a location" from dropdown.

  • Navigate to and select CPHive folder.

  • Click "Move" and click "Continue".

  • Confirm the web.config file is now located in C:/inetpub/wwwroot/CPHive.

  • Open the file and ensure all updated values (e.g., CounterPointTLD, ALIAS, CPUSER, etc.) are correctly reflected.

How to Run the Database Installer for CPHive

  • Note: This section is deprecated and only applies to legacy versions.

  • If installation errors prevent progress, refer to the CPHive Database Manual Install article for assistance before proceeding.

  • Successfully running the Database Installer ensures the required SQL Server tables are created for CPHive to function properly.

  • Open Microsoft SQL Server Management Studio.

  • In the "Connect to Server" window:

    • Select Database Engine as the server type.

    • Enter the Server Name from CounterPoint.

    • Select SQL Server Authentication.

    • Enter the SQL user credentials in the Username and Password fields.

    • Click Connect.

      Connect to Server 
SQL Server 
Login:
  • In the Object Explorer:

    • Navigate to the CounterPoint Database.

    • Highlight the database name in blue to confirm the selection.

      Machine generated alternative text:
Object Explorer 
Connect • 
RR-SANDBOX-OI (SQL Server 140.1000.16f 
E) Databases 
System Databases 
Database Snapshots 
CPSystem_CPSQL_1 
Database Diagrams 
1" Tables 
Views 
External Resources 
I" Synonyms 
Programmability 
Service Broker 
Storage 
Security 
Security 
Server Objects 
Replication 
Ilii PolyBase 
Always On High Availability 
•iii Management 
Integration Services Catalogs 
GEJ SQL Server Agent 
E] XEvent Profiler
  • Leave SQL Server Management Studio open and proceed with the Database Installer in File Explorer.

Executing the Database Installer

  • Open File Explorer and navigate to C:/inetpub/wwwroot/CPHive.

  • Open the Database Installer folder.

  • Right-click on the Deliverator application and select Run as Administrator.

  • In the Deliverator interface:

    • Click the button next to "CounterPoint Connector String".

    • In the Data Link Properties window:

      • Select the appropriate SQL Server Name.

      • Choose "Use a specific username and password".

      • Enter the SQL user credentials.

      • Select the CounterPoint Database.

      • Click OK.

        Size 
Quick access 
Desktop 
j' Downloads 
Documents 
Pictures 
CPHive 
CPWebhooks 
Databaselnstaller 
JD Scripts 
This PC 
Desktop 
Documents 
l' Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
DVD Drive sqlS 
Network 
Name 
Scripts 
DS_Store 
Installer I Red Rook 
Date modified 
7/9/2021 3:12 PM 
7/9/2021 3:11 PM 
7/9/2021 11:46 AM 
Type 
File folder 
File folder 
DS STORE File 
Installing: Databaselnstaller 
Cou-terPoi-t Cornedion 
:PeßÄ Ho: True:l_"« 
Folder. 
Res
        Date modified 
* Quick access 
Desktop 
Downloads 
Documents 
Pictures 
CPHive 
CPWebhooks 
Databaselnstall 
Scri pts 
This pc 
Desktop 
Documents 
Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
DVD Drive (D•J 
Network 
Name 
Installer Ped Rook 
Type 
Size 
Data Link properties 
Provo Ca-nec±ion 
Spec$ fdowhg to comed to SQL Serve "a: 
I Seled alter name 
idom&amp;ion to log to the sever : 
O Use Windows NT Hegräed se:uty 
@ Use a pectic uw password 
name: sa 
• See 
x 
Installing: Databaselnstaller 
Connedion 
.Persi&lt; Secuty Sw-ceeRRSANDBO 
Company Ras Folder. 
Fies I 
Te*Gd 
ase 
Te*GoY 
Using 'he filename 
as a 
Canedim
  • Click the button next to "Company Alias Folder":

    • Follow the folder path specified in the Top-Level Directory Level in CounterPoint.

    • Select the Database Alias Folder from CounterPoint.

    • Click OK.

      ♂ un 一 0 一 n 【 
Q 3
      Installing: Databaselnstaller
  • Click Verify for both:

    • CounterPoint Connector String

    • Company Alias Folder

  • Click Install to execute the database scripts.

    Size 
Quick access 
Desktop 
j' Downloads 
Documents 
Pictures 
CPHive 
CPWebhooks 
Databaselnstaller 
JD Scripts 
This PC 
Desktop 
Documents 
l' Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
DVD Drive sqlS 
Network 
Name 
Scripts 
DS_Store 
Installer I Red Rook 
Date modified 
7/9/2021 3:12 PM 
7/9/2021 3:11 PM 
7/9/2021 11:46 AM 
Type 
File folder 
File folder 
DS STORE File 
Installing: Databaselnstaller 
Cou-terPoi-t Cornedion 
:PeßÄ Ho: True:l_"« 
Folder. 
Res
  • If a version warning appears, click OK.

  • Note any errors during installation for troubleshooting.

How to Flush the CPHive Site

To implement new settings and ensure they take effect, you must flush the CPHive site. Follow these steps:

  • Open the Windows search bar and type IIS.

  • Select Internet Information Services (IIS) Manager from the search results.

  • In the IIS Manager:

    • Expand the server node in the left-hand Connections pane.

    • Expand the Sites folder.

    • Select the relevant website entry.

      A picture containing text, monitor, indoor, computer

Description automatically generated
  • In the Actions pane on the right:

    • Click Manage Website.

    • Select Stop to halt the website.

    • Once the site stops, click Start to restart the website.

      A picture containing text, computer, indoor, screenshot

Description automatically generated

The website has now been successfully flushed, and the new settings are active.

How to Test the CPHive Installation

To verify that the CPHive installation was successful, follow these steps:

  • Open a web browser on the server.
    Note: Do not use Internet Explorer for this test. If no alternative browser (e.g., Chrome, Firefox) is installed, consult with the client’s IT team to install one.

  • In the address bar, type:
    localhost/CPHive/api/HelloWorld

  • Press Enter to execute the test.

  • If the installation was successful, an XML file should appear in the browser, confirming that the CPHive API is functioning correctly.

If the XML file does not appear or an error message is displayed, review the installation steps or consult troubleshooting documentation.

Configure Subscription Settings

Navigate to the CPHive subscription settings in iPaaS.com and provide the following information:

Field

Description

Required

Example

Name*

A unique name for identifying the subscription.

Yes

CPHive_Integration

Versions

The integration version.

Yes

v1.2

CP API URL*

The base URL for the CPHive API.

Yes

CP API Username*

The username for accessing the CPHive API.

Yes

api_user

CP API Key*

The API key generated for accessing CPHive.

Yes

YourAPIKey

First Order Date

Starting date for order sync.

No

2024-01-01

Store

The store identifier.

No

Store_01

Drawer

The drawer identifier.

No

Drawer_1

Station

The point-of-sale station identifier.

No

Station_001

User

User details associated with this subscription.

No

SystemAdmin

Template Customer

Template customer for transactions.

No

TemplateCustomer123

Default Customer

Default customer ID.

No

DefaultCustomer456

Next Customer

Next customer ID to use for operations.

No

NextCustomer789

Tracking #s in CP

Indicates whether to track numbers in CP.

No

Enabled

Item Description From

Defines the source for item descriptions.

No

Inventory

Inventory Qty Method

Method for inventory quantity sync.

No

Weighted

Inventory Location

Default location for inventory.

No

MainWarehouse

Qty Stock Threshold

Threshold for stock quantity alerts.

No

100

Authentication Methods

API Key Authentication

  1. Navigate to the CPHive subscription settings in iPaaS.com.

  2. Enter the CP API URL, CP API Username, and CP API Key as obtained during setup.

  3. Save the configuration and test the connection.

  4. Upon successful authentication, a confirmation message will be displayed.

Installing CP Webhooks

How to Create a Company Folder in the Downloads Folder

To prepare for the CPWebhook.exe file configuration, follow these steps to create a company folder in the Downloads folder:

  1. Open File Explorer by clicking on its icon in the taskbar or searching for it in the Windows search bar.

  2. Navigate to the C: drive by selecting it from the left-hand navigation pane.

  3. Locate and open the Downloads folder.

  4. Inside the Downloads folder, right-click on an empty area to open the context menu.

  5. Hover over the New option and select Folder from the submenu.

  6. Rename the newly created folder to match the client’s company name (e.g., "Acme_Corp").

The company folder is now ready for CPWebhook.exe file configuration.

How to Extract the "CPWebhooks" Folder

To extract the CPWebhooks folder:

  1. Locate and drag the CPWebhooks.zip file into the Downloads folder.

  2. Right-click the .zip file and select Extract All.

  3. In the dialog box, browse to the company folder inside the Program Files directory (e.g., C:/Downloads/RedRook).

  4. Click Extract to begin the extraction process.

  5. If prompted for permissions, click Continue to confirm and complete the extraction.

How to Locate the API Key for "CPWebhooks"

  1. Locate the CounterPoint subscription and click Edit.

    Dashboard / Subscription 
Subscriptions 
SE.ARCH CERTIFIED INTEGRATION MARKETPLACE &amp; SUBSCRIBE 
REQUEST NEW CLOUD APPLICATION 
Integration 
Private 
CREATE DYNAMIC / PRIVATE 
SEARCH 
Searcy. 
ONCR 
Integration 
Template 
N/A 
Actions 
Edit 
Counterpoint 
countershnt 
Active
  2. Copy the Webhook API Key from the subscription settings.

    iPaaScom 
Home 
user / Role Management 
Data Management 
Subscriptions Management 
Integration Monitoring and Diagnostics 
6 LOCK 
Subscription Settings 
NAME 
Counterpoin 
cp API URL 
sandbonipaascom."cphive 
cp API usERNAME 
INVENTORY QTY METHOD 
API THROTTLE SECONDS 
100 
SHIPPING METHOD 
MGR 
cusTOMEQ 
INVENTORY LOCATION 
WEBHOOK API KEY 
e LOCATION 
Bluff City Golf 
My Company 
FIRST ORDER DATE 
TRACKING ZS IN cp 
QTY STOCK THRESHOLD 
Josh 
My Account 
TEMPLATE cusTOMEQ 
ITEM DESCRIPTION FROM 
1000 
INITIALIZE DATA 
PRODUCT CATEGORY 
CUSTOMER CATEGORY 
PAYMENT METHOD
  1. Save the API Key for Later Use:

    • Paste the copied API key into a secure location, such as a text editor or password manager.

This API key will be required for the configuration of CPWebhooks.exe.

How to Set Up the CPWebhooks.exe File

This section explains how to set up the CPWebhooks.exe file, configure it, and ensure it runs properly.


Move the CPWebhooks.exe File to the Downloads Folder:

  1. Open File Explorer and navigate to C:\Program Files.

  2. Locate and open the CPWebhooks folder.

  3. Right-click on CPWebhooks.exe and select Move to.

  4. Choose the Downloads folder as the destination and confirm the move.

    CPWebhooks 
Share View 
Cut 
Copy path 
pin to Quick Copy Paste 
shortcut 
access 
Clipboard 
Copy Delete Rename 
Organize 
Easy access • 
folder 
CPWebhooks 
Date modified 
10/16/2019 6:57 PM 
10/16/2019 6-57 PM 
10/16/2019 6:57 PM 
10/16/2019 657 PM 
10 28 2020 _ 
6/1 1/2021 9:06 AM 
8/2/2019 6:12 PM 
10/28/2020 10:28 
11/20/2020 11:17 
10/16/2019 057 PM 
10/16/2019 657 PM 
6/5/2018 11:24 AM 
6/5/2018 1124 AM 
10/16/2020 3:53 PM 
10/11/2019 3:33 PM 
•a Open • 
Edit 
properties 
Open 
Type 
Application extens.„ 
PD3 File 
Application extens.„ 
PD3 File 
lication 
CONFIG File 
INSTALLLOG File 
INSTALLSTATE File 
PD3 File 
Internet Shortcut 
Application extens.„ 
PD3 File 
Application extens.„ 
XML Document 
Text Document 
Application extens.„ 
Select all 
Select none 
Invert selection 
Select 
Size 
15 
44 K 3 
143 KB 
278 KB 
27 G 
13 KB 
78 KB 
213 KB 
706 KB 
5.103 KB 
3,594 KB 
31,386 KB 
32 KB 
o 
Search CPWebhcoks 
x 
o 
J This PC Local Di C:) program Files Rook 
C on JDOMASH- 's 
Desktop 
Documents 
IS Downloads 
Music 
e: Pictures 
Videos 
Local Disk (C) 
I inetpub 
pert Logs 
Program Files 
program Files 
Users 
Windows 
DVD Drive S 
37 items I item selected 
Name 
C3POAbstractdll 
CYO Abstract pdb 
CPHive.Data.dll 
CPHive.Data.pdb 
CPWebHOOks 
CPWebHooks.exe 
CPWebHooks.InstaIILog 
n 
CPWebHooks.lnstallState 
CPWebHooks.pdb 
DockingBay94.dll 
DockingBay94pdb 
EntityFrameworkdll 
'$1 EntityFramework 
@ IGV55.Data.dlI 
1.37 KB

Update the CPWebhooks.exe Configuration File:

  1. Navigate to the Downloads folder.

  2. Right-click the CPWebhooks.exe file and select Open with a text editor (e.g., Notepad).

  3. Update the following fields:

    1. Token: Replace this with the Webhook API Key obtained earlier.

    2. In the <connectionStrings> section:

      • User ID: Replace with a valid CP Microsoft SQL Server user ID.

      • Password: Replace with the password for the SQL Server user.

      • Initial Catalog: Replace with the database name of the CP system.

      • Data Source: Replace with the server name of the CP system.

      • Save the file.

Move the CPWebhooks.exe File Back to the CPWebhooks Folder:

  1. Navigate to the Downloads folder.

  2. Right-click on CPWebhooks.exe and select Move to.

  3. Select choose location from dropdown.

    Home 
Share 
Copy path 
Pin to Quick Copy Paste 
Move 
Paste shortcut 
Clipboard 
ThisPC Downloads 
Copy Delete 
Organize 
Rename 
Easy 
New 
folder 
Date modified 
5/10/2021 11:33 A., 
7/26/2021 12:16 PM 
7/22/2021 9:49 AM 
6/11/2021 9:06 AM 
7/22/2021 9:50 AM 
open 
Properties 
Open 
CONFIG File 
Shortcut 
Compressed (zipp... 
CONFIG File 
Compressed (zipp... 
select all 
Select none 
Inven selection 
Select 
15 KB 
3,909 KB 
22725 G 
Search Downloads 
* Quick access 
Desktop 
Downloads 
Documents 
Pictures 
CPHive 
CPHive 
CPWebhooks 
Scripts 
This pc 
C on JDOMASH_ 
Desktop 
Documents 
Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
inetpub 
Pert Logs 
Program Files 
Program Files ( 
Windows 
Name 
Web 
Documents - Shortcut 
CPWebHoo ks.exe
  4. Select the CPWebhooks folder inside C:\Program Files as the destination.

  5. select Move to and then Continue

Run the InstallCPWebhooks.bat File:

  1. Open the Windows Search bar, type Command Prompt, and right-click to select Run as Administrator.

    A" Apps 
Best match 
Documents 
Web 
More 
Command Prompt 
Search work and web 
cm - See work and wet 
p cm 
Run as administrator 
Open file ocation 
pin to Start 
Pin to taskbar 
Command Prompt 
Open 
Run as administrator 
Open file ocation 
pin to Start 
Pin to taskbar 
PM 
M 
PM 
M 
M 
M 
M 
M 
PM 
M 
Type 
Tot O u 
Applicat+' Ott 
CONFIG File 
File 
CONFIG File 
INSTALLLOG 
Application 
Applicatim 
XML Document 
Applicat+' Ott 
XML Document 
Application 
CONFIG File 
pog File 
Tot
  2. In File Explorer, navigate to the CPWebhooks folder and copy the folder address.

    CP.-VebhOOkS 
View 
Copy path 
"n to Quick Copy Paste 
Copy Delete 
Rename 
shortcut 
access 
Clipboara 
Organize 
Thi,pc , 
Easy access • 
* Quick 
loads 
—J P i ctures 
This pc 
Network 
COL-LAPIO 
COL-STATOI 
COL.STAT16 
COL-STATIO 
COL-STAT44 
COL-STAT" 
COL.STAT58 
COL.STAT5g 
COL-STATO 
COL-STATQ 
COL.STAT63 
C3PO.Abstr"t. d Il 
ct. pdb 
CPHive.Data.dll 
cpwebHocks 
CPWebHc-oks.lrstallLog 
CPWebHooks 
CPWebHOOkS pdb 
cpwebhooks 
Entityf dll 
E "Log 
IGvss.Data.dll 
, pdb 
Installutil 
InstallUtilLib.dll 
Newtonsoft.Json d Il 
Date modified 
6:57 P 
10/16.'20196;57PM 
10/28,'2020 1&amp;28 
1:24 PM 
vg/2021 IQS PM 
8/9/2021 
10/28/2020 10:28 
657 PM 
11;24AM 
10/15,'2ceo 3:53 PM 
10/11/2019 3:33 PM 
7/23/2019 223 PM 
10/11/2019 PM 
4/26,'2019'15 PM 
4/11/201805 PM 
g,G/2021 1:29 PM 
11/9/2019 
Open 
Copy address as tot 
Edit 
POB File 
Appliation 
CONFIG File 
INSTALLLOG File 
INSTALLSTATE File 
pos File 
InWnet Shortcut 
Appliation 
POE File 
Appliation 
XML 00 cument 
Text Document 
AP-pliation 
CONFIG File 
poe File 
Batch File 
Application 
CONFIG File 
INSTALLLOG File 
Appl.ation 
Select none 
278 
27 
78 KB 
213 
706 Kg 
31,386 
32 KB 
82 Kg 
10 Kg 
sec KB
  3. Return to Command Prompt, type cd , and paste the folder address.

  4. Press Enter to change the directory.

  5. Type InstallCPWebhooks.bat and press Enter to run the script.

    Command Pmmpt 
icrosoft "incons L Version 
(c) 2e16 microsoft Corporation. All rights 
• C: XProgram• is not recognized as an internal or external cc—land, 
perable program or batch file. 
: \Program 
ns a 
00 s.
  1. Verify and Start the CPWebhooks Service:

    1. Open Windows Search and type Services.

    2. Locate the service named CPWebhooks for iPaaS.com.

    3. Right-click the service and select Start.

    4. If the service is missing, check the CPWebhooks.config file for errors, correct them, and rerun the InstallCPWebhooks.bat file.

Note: If issues persist during the process, ensure the configuration file contains accurate information and matches the client's system requirements.

Initialization Support

The following types of data support initialization and can be transferred in bulk:

  1. Alternate ID Type TO iPaaS.com

  2. Customer Category TO iPaaS.com

  3. Location TO iPaaS.com

  4. Location Group TO iPaaS.com

  5. Payment Method TO iPaaS.com

  6. Product Category TO iPaaS.com

  7. Shipping Method TO iPaaS.com

Throttling

Throttling ensures that CPHive’s API isn’t overwhelmed by excessive API calls, preserving system performance during heavy data transfers.

While the throttling fields are required, the values are pre-populated by the integration settings. For more details, refer to Subscription Configuration – Edit.

Troubleshooting

Missing .NET Requirement:

  1. If .NET pre-requisites are not installed, the local website test will not load.

HTTP 500.30 Errors:

  1. If the website loads but returns an HTTP 500.30 error, check Windows event logs for specific details.

Invalid appsettings.json:

  1. Ensure all previously used values are JSON-escaped if any issues appear in the Windows event logs.

Debug Logging in Production:

  1. If enabling debug logging, poor database performance may cause errors like:

    1. "Unable to process transfer. Reason: CPHive returned the following error: The operation was canceled.(Http Code: 0)"

Recycle App Pool:

  1. After changing any settings, recycle the app pool.

Did this answer your question?