MTS Visual C++ Error Codes

The following is a list of the error codes returned by methods called on the catalog collection and catalog utility interfaces.

e_invalidarg
Indicates one of the following:

An invalid collection or property name was entered.

An out parameter was NULL.

The value is not one of the supported values or falls outside the supported range.

The property is read-only.

The property cannot be changed after the object is created.

An invalid index was entered.

e_notimpl
Object has been removed from the collection and is not supported on this collection.

e_mts_objecterrors
Errors were encountered processing some objects or file. See the ErrorInfo collection for object/file-specific error codes.

e_mts_nouser
User ID for user in role is not valid.

e_mts_userpasswdnotvalid
Package identity user ID and/or password are not valid

e_mts_authenicationlevel
Required authentication level (package privacy) could not be set for package updates.

e_mts_pdfreadfail
An error occurred reading the package file.

e_mts_pdfversion
Package file version is invalid.

e_mts_badpath
Package file path is invalid.

e_mts_packageexists
Package with the same ID is already installed.

e_mts_roleexists
A role with the same ID is already installed. The role ID in the package file is likely corrupted.

e_mts_cantcopyfile
Errors occurred copying one or more files to the install directory.

e_mts_invaliduserids
One or more user IDS for roles were invalid.

e_mts_clsidoriidmismatch
One or more component/interface identifiers in a component DLL does not match the identifiers saved in the package file. The package file is out of date.

e_mts_packdirnotfound
Package install directory is invalid due to general registry read/write errors.

e_mts_pdfwritefail
An error occurred writing the package file.

e_mts_notypelib
Could not find the type library for one or more components.

The following is a list of the object or file-specific error codes returned in ErrorInfo collections:

e_objectinvalid
One or more object properties is corrupted or invalid.

e_keymissing
One or more objects is not found in the catalog.

e_alreadyinstalled
Component is already installed.

e_downloadfailled
One or more component files could not be copied to the client.

e_remoteinterface
No interface information is available for the component. Component files could not be downloaded.

e_coreqcompinstalled
Component in the same DLL file is already installed.

e_noregistryclsid
Component’s CLSID is corrupted.

e_badregistryprogid
Component’s ProgID is corrupted.

e_dllloadfailed
Component’s DLL could not be loaded.

e_dllregisterserver
DllRegisterServer method failed during component self-registration.

e_noservershare
No file share is available on the server to copy component files from the network path.

e_noaccesstounc
Network path registered for this component could not be accessed.

e_badregistrylibid
Component type library ID is corrupted.

e_treatas
Component TreatAs key was found, but is not supported.

e_badforward
IID forward entry is corrupted.

e_badiid
IID is corrupted.

e_registrarfailed
Component registrarmethod failed during component install.

e_comfile_doesnotexist
Component file does not exist.

e_comfile_loaddllfail
DLL file could not be loaded.

e_comfile_getclassobj
DllGetClassObject method call failed during the DLL self-registration process.

e_comfile_classnotavail
Class coded in the type library was not supported.

e_comfile_badtlb
Type library was corrupted.

e_comfile_notinstallable
File does not contain COM components or type library information.

The following is a list of general read and write registry errors:

e_mts_noregistryread
Access control failure reading a registry key.

e_mts_noregistrywrite
Access control failure writing a registry key.

e_mts_noregistryrepair
Access control failure writing a registry key.

E_MTS_NOTCHANGEABLE
Changes to this object and sub-objects have been disabled.

E_MTS_NOTDELETABLE
Delete function for this object has been disabled.

E_MTS_SESSION
Server catalog version is not supported.