Ewa.AsyncErrorCode Enumeration

Last modified: October 02, 2012

Applies to: apps for SharePoint | Excel Services | SharePoint Server 2013

Specifies error code values.

Table 1. Error code values

Name

Integer value

Description

Success

0

The operation is successful.

InternalError

1

An internal error occurred.

TimedOut

2

The request has timed out.

AccessDenied

3

The permissions used to access the workbook are invalid.

InvalidMode

4

The permissions used to access the workbook in the specified mode are invalid.

FileOpenError

5

The workbook cannot be embedded on the host page because it cannot be found, or cannot be opened, or cannot be loaded.

InvalidNamedItem

6

The named item is undefined or unpublished.

SettingValuesError

7

The Excel Calculation Services is unable to set the values.

RangeSizeError

8

The array indices exceed the range columns and/or rows or the range columns and/or rows exceed the array indices.

BrowserNotSupported

9

The browser does not implement the required technologies.

HtmlDocumentModeNotSupported

10

The document mode is not correct for rendering.

InvalidElement

11

The argument passed in for the divID parameter is not valid.

Note Note

This error can occur when the <div> element specified by the divID value does not exist on the host page. Also, this error can occur if the specified <div> element has already been used in another call to Ewa.EwaControl.loadEwaAsync. Additionally, this error can occur if the <div> element height or width equals 0.

FileGenerationError

12

Error can occur only with Excel Interactive View.

BrowserUdfNotCalculated

13

Recalculation failed for the browser UDF.

Show: