I am getting error after i integrated Cube to Pivotgrid in cshtml. however, cube is producing result in excel when i tried. please see attached image for error and excel result generated from cube.
this is the major piece my manager is looking before he approves Telerik license budget and i have only 3 days left to trial version.
please help ASAP.
here is the code.
@(Html.Kendo().PivotConfigurator()
.Name("configurator")
.HtmlAttributes(new { @class = "hidden-on-narrow" })
.Filterable(true)
.Sortable()
.Height(580)
)
@(Html.Kendo().PivotGrid()
.Name("pivotgrid")
.ColumnWidth(200)
.Height(580)
.HtmlAttributes(new { @class = "hidden-on-narrow" })
.Filterable(true)
.Sortable()
.Configurator("#configurator")
.DataSource(dataSource => dataSource.
Xmla()
.Columns(columns =>
{
columns.Add("[Incident].[Status]").Expand(true);
})
.Rows(rows => rows.Add("[Clients].[Id]"))
.Measures(measures => measures.Values(new string[] { "[Measures].[Incident Count]" }))
.Transport(transport => transport
.Connection(connection => connection
.Catalog("NextGenToolIncidentCube")
.Cube("[IncidentAnalyticalCube"))
.Read(read => read
.DataType("text")
.ContentType("text/xml")
.Type(HttpVerbs.Post)
)
)
.Events(e => e.Error("onError"))
)
)