> Source: [sk95846](https://support.checkpoint.com/results/sk/sk95846)

# sk95846 - "does not exist in the database" error when configuring VPN or installing policy.

| Property | Value |
|----------|-------|
| Solution ID | sk95846 |
| Date Created | 2013-10-23 |
| Last Modified | 2013-11-18 |
| Technical Level | General |
| Products | SmartConsole |
| Versions | R82.10, R82.20, R82, R81.20 |

## Symptoms

- * When verifying/installing policy or when configuring a VPN community, receive an error message.
* Error: "does not exist in database".  
  **Example**: Failed to save object GATE-EXT. Server error is: Validation error in field '@VPN' at object 'GATE-EXT' @ 'Network Objects'--\> Validation error in field 'isakmp.udpencapsulation' at object 'GATE-EXT'--\> Validation error in field 'IKE UDP Encapsulation Active'--\> The references object 'VPN1_IPSEC_encapsulation' from table 'services' does not exist in the database. (Code: 0x800415B1, Object contain invalid reference).

## Cause

A specific service which should be created by default does not exist.

It was possibly accidentally deleted or had its name changed, or the management server was upgraded from a version where this object or service did not exist, or corruption caused it to be lost.

## Solution

Recreate the service.

In the above example error

`Failed to save object GATE-EXT.Server error is: Validation error in field '@VPN' at object 'GATE-EXT' @ 'Network Objects'--> Validation error in field 'isakmp.udpencapsulation' at object 'GATE-EXT'--> Validation error in field 'IKE UDP Encapsulation Active'--> The references object 'VPN1_IPSEC_encapsulation' from table 'services' does not exist in the database. (Code: 0x800415B1, Object contain invalid reference)`

With some attention, we can see that the table 'services' is missing the object 'VPN1_IPSEC_encapsulation'.

1. Checking Smart Dashboard in the list of Services, sure enough, there is no VPN1_IPSEC_encapsulation service.

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk95846/missing_service1.png)

To solve this,

2. open Smart Dashboard of the same version in Demo Mode, and find the missing service.

3. In the failing environment, create a service with exactly the same name, and exactly the same settings as the one from Demo Mode.

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk95846/missing_service2.png)

4. After adding this service and saving the changes, the VPN community is able to be created, the policy is able to be verified and installed.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
