Consultor Eletrônico



Kbase P183830: Referring to .NET objects in the System.DirectoryService.* namespace results in error 12886 or 5638
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/10/2011
Status: Unverified

SYMPTOM(s):

Referring to .NET objects in the System.DirectoryService.* namespace results in error 12886 or 5638 depending on syntax used

Invalid datatype specified: <type>. Specify a datatype such as 'character' or the name of a class. (5638)

Could not find class or interface . (12886)

FACT(s) (Environment):

OpenEdge 10.2x
Windows

CAUSE:

The client only loads the following .NET standard assemblies automatically:
- mscoree.dll
- System.Windows.Forms
- System.Drawing

The System.DirectoryService assemblies are not included in these libraries.

FIX:

Add the System.DirectoryService assembly to the local assemblies.xml file