DS Admin errors with An unexpected error has occurred - Y Coordinate must be between 0 and 10 when editing camera OSD values.


The resolution of this article has many complex steps that may result in unforeseen results if not performed correctly. If you are at all unfamiliar with the requirements, please contact Product Support Services for assistance.


When editing camera OSD values in DS Admin, an error is received stating:

An unexpected error has occurred in the system. Please make a note
of it and contact your appropriate support personnel.
Error Occurred At:            [Date] [Time]
Where error occurred:      VidPort
Error number:                 -2147220496
Error message:              Y Coordinate must be between 0 and 10


Product Line

Pelco Video Management


  • Digital Sentry hardware
    • All DS hardware
  • Digital Sentry software all versions
  • DS Admin


If a number value higher then 0 - 10 (example 11) is configured in DS Admin > Camera > On Screen Display a warning will appear, if the warning message is not heeded and the Save button is pressed; DS Admin may not allow the value to be edited again and will instead hide the OSD value fields and continually display the error.


Change the OSD value back to a range between 0 - 10


  1. Try changing the OSD value just by clicking in the field and typing in a new value and then saving.  If the values are no longer displayed in DS Admin, proceed to step 2.
  2. The global On Screen Display tab can also be used,
    1. Click on the Cameras or Analog H264 Cameras depending if using IP or analog cameras.
    2. Select the On Screen Display tab, verify correct values for X and Y (0-10)
    3. Press the Apply to all cameras in folder button.

      If still unable to resolve, use SQL Server Management Studio as a last resort step 3.
  3. Open SSMS (Start > All Programs > Microsoft SQL Server 2008 R2 > SQL Server Management Studio)
    1. On the Connect to Server window select Connect
    2. Expand Databases > DigitalSENTRY > Tables
    3. Right-click dbo.CameraOSDSettings and select **Edit Top 200 Rows
    4. In the results window locate the CameraId which matches the problem camera, scroll across the row and locate the Y column.
    5. Highlight the incorrect value (a zero is added to the end, so 11 looks like 110) and change to a value between 0 - 10 default = 2


    6. Once the field has been changed, press [ENTER] to save.
    7. Close SSMS.

**Note: IP cameras start at CameraId 128, this will require more then the top 200 rows because there are 3 rows per camera.  

  1. In SQL Server Management Studio, go to Tools > Options > SQL Server Object Explorer > Commands
  2. Under Table and View Options change the value for Value for Edit Top Rows command = 400.