ServerResultCode enumeration

Specifies a server result code.

Namespace:  Microsoft.Office.Web.Conversion.ViewerInterface
Assembly:  Microsoft.Office.Server.Conversion.ViewerInterface (in Microsoft.Office.Server.Conversion.ViewerInterface.dll)

Syntax

'Declaration
Public Enumeration ServerResultCode
'Usage
Dim instance As ServerResultCode
public enum ServerResultCode

Members

Member name Description
Success The operation was successful.
UnexpectedError An unexpected error occurred.
InvalidParameter There is an invalid parameter.
CantOpenDocument The document cannot be opened.
CantCreateDocument The document cannot be created.
InvalidCurrentDocument There is no valid current document on which the specified operation can be performed.
DocumentAlreadyOpen The document is already open. This code can occur if the OpenDocument(ViewFormat, String) method is called multiple times without corresponding CloseDocument() calls.
ApplicationServerError The application code threw an exception.
DocumentIsIRMProtected The document is protected using Digital Rights Management (DRM).
DocumentIsEncrypted The document is encrypted.
FileTypeBlocked The format of this document is blocked by the administrator.
FileTypeUnsupported The format of this document is unsupported.
ThirdPartyPDFRendererFailed The RenderPdf dll failed.
ThirdPartyXPSRendererFailed The RenderXPS dll failed.
DocumentRejectedByGatekeeper Gatekeeper found a problem with the document.
DocumentHasOCX The document has ActiveX controls.
TranslationServiceUnavailable The machine translation of the document failed because the translation service is unavailable.
DocumentCannotBeTranslated The machine translation of the document failed because of untranslatable content.
DocumentTooLong The document cannot be machine translated because it is too long.

See also

Reference

Microsoft.Office.Web.Conversion.ViewerInterface namespace