Deleting an Organizational Unit via the SafeGuard API fails with System.Data.SqlClient.SqlException (0x80131904)

  • Article ID: 118846
  • Updated: 09 Oct 2015


Deleting an Organizational Unit with the special character " ' " in its name via the SafeGuard API fails with the following exception:

PANIC 29-01-2013 10:45:22 S:0000 P:1454 T:0be8 E:30000008
PN:cscript.exe MN:cscript.exe
M:Utimaco.SafeGuard.AdministrationConsole.Scripting.Directory F:DeleteContainer L:0
Scripting Directory: System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'S'.
Unclosed quotation mark after the character string ''.

First seen in
SafeGuard Management Center / Local Policy Editor 6.00.1
SafeGuard Enterprise Server 6.00.1

What To Do

Use the SafeGuard Management Center to delete the Organizational Unit or rename the Organizational Unit (i.e. remove the " ' " character) within the Active Directory and synchronize the changes into the SafeGuard Enterprise Database.

This issue is planned to be fixed with the release of SafeGuard Enterprise 7.

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent