Not all objects support all locale settings. This error has the following causes and solutions:

  • You attempted to access an object that doesn’t support the locale setting for the current project. For example, if your current project has the locale setting Canadian French, the object you are trying to access must support that locale setting.

    Check which locale settings the object supports.

  • The object relies on national language support in a dynamic-link library (DLL), for example, OLE2NLS.DLL, that may be out of date.

    Obtain a more recent version of the DLL, one that supports the current project locale.