<%

'*****************************************************************************
' Microsoft Content Management Server
'
' File: SDReportErrorCodes.INC
'
' Purpose:
'   Provides definitions for the error IDs and error strings for use by 
'	Site Deployment reports.
'
'*****************************************************************************


'*****************************************************************************
' ERROR IDs
'
'	The error IDs presented here are used to provide an error code whenever
'	an error is raised manually using the Err object. Each of the error IDs
'	below has a corresponding companion string defined below.
'*****************************************************************************

public const nERROR_FAILED_TO_CREATE_GRAMMAR_PARSER		= 60000
public const nERROR_FAILED_TO_CREATE_BLOB_MANAGER		= 60001
public const nERROR_FAILED_TO_CREATE_SESSION			= 60002

public const nERROR_INVALID_USER_OPTION					= 60100
public const nERROR_INVALID_OWNERSHIP_OPTION			= 60101
public const nERROR_INVALID_OWNER_REPLACE_OPTION		= 60102
public const nERROR_INVALID_CONTAINER_ADD_OPTION		= 60103
public const nERROR_INVALID_CONTAINER_REPLACE_OPTION	= 60104
public const nERROR_INVALID_START_DATE_SPECIFIER		= 60105
public const nERROR_INVALID_EXPIRY_DATE_SPECIFIER		= 60106
public const nERROR_INVALID_OBJECT_TYPE_FOR_IMAGE_TAG	= 60107
public const nERROR_UNDETERMINED_EXPORT_OBJECT_TYPE		= 60108
public const nERROR_UNDETERMINED_IMPORT_OBJECT_TYPE		= 60109
public const strERROR_FAILED_DATE_CONVERSION = "Date conversion failed"

'*****************************************************************************
' ERROR Strings
'
'	The error strings presented here are used to provide an error message
'	whenever an error is raised manually using the Err object. Each of the 
'	error strings below has a corresponding companion ID defined above.
'*****************************************************************************

public const strERROR_FAILED_TO_CREATE_GRAMMAR_PARSER = "Failed to create the XML Parser. Ensure that the GrammarParserC.DLL file is installed and registered."
public const strnERROR_FAILED_TO_CREATE_BLOB_MANAGER = "Failed to create the BLOB Manager. There is a problem with the Resolution server installation."
public const strnERROR_FAILED_TO_CREATE_SESSION = "Failed to create the Session object. There is a problem with the Resolution server installation."

public const strERROR_INVALID_USER_OPTION = "Invalid user option"
public const strERROR_INVALID_OWNERSHIP_OPTION = "Invalid ownership option specified in report XML"
public const strERROR_INVALID_OWNER_REPLACE_OPTION = "Invalid ownership replace option specified in report XML"
public const strERROR_INVALID_CONTAINER_ADD_OPTION = "Invalid container add option specified in report XML"
public const strERROR_INVALID_CONTAINER_REPLACE_OPTION = "Invalid container replace option specified in report XML"
public const strERROR_INVALID_START_DATE_SPECIFIER = "Invalid start date specifier specified in report XML"
public const strERROR_INVALID_EXPIRY_DATE_SPECIFIER = "Invalid expiry date specifier specified in report XML"
public const strERROR_INVALID_OBJECT_TYPE_FOR_IMAGE_TAG = "Invalid object type to match any image"
public const strERROR_UNDETERMINED_EXPORT_OBJECT_TYPE = "Export object type cannot be determined"
public const strERROR_UNDETERMINED_IMPORT_OBJECT_TYPE = "Import object type cannot be determined"

%>