PDA

View Full Version : [CLOSED] Error message Field="Name" in ext:PieSeries After upgrade



kevinhwang
Oct 17, 2013, 7:42 PM
Hi Support team,

On my dev machine it is fine. But I don't know that it suddenly displays an error message after I released it on App Dev Server.

Version Info
Ext.Net 2.3.1
Newtonsoft.Json 5.0.8






Server Error in '/ContractsCentral' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Cannot create an object of type 'System.String[]' from its string representation 'Name' for the 'Field' property.

Source Error:


Line 1352: <ext:PieSeries AngleField="Data1" ShowInLegend="true" Donut="0" Highlight="true"
Line 1353: HighlightSegmentMargin="20">
Line 1354: <Label Field="Name" Display="Rotate" Contrast="true" Font="12px Arial">
Line 1355: <Renderer Fn="PieRenderer" />
Line 1356: </Label>


Source File: /contractscentral/ProcurementDetail.aspx Line: 1354

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1008

kevinhwang
Oct 17, 2013, 8:16 PM
Never mind. The problem was Newtonsoft.Json.dll file was not included when I published application.

Kevin


Hi Support team,

On my dev machine it is fine. But I don't know that it suddenly displays an error message after I released it on App Dev Server.

Version Info
Ext.Net 2.3.1
Newtonsoft.Json 5.0.8






Server Error in '/ContractsCentral' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Cannot create an object of type 'System.String[]' from its string representation 'Name' for the 'Field' property.

Source Error:


Line 1352: <ext:PieSeries AngleField="Data1" ShowInLegend="true" Donut="0" Highlight="true"
Line 1353: HighlightSegmentMargin="20">
Line 1354: <Label Field="Name" Display="Rotate" Contrast="true" Font="12px Arial">
Line 1355: <Renderer Fn="PieRenderer" />
Line 1356: </Label>


Source File: /contractscentral/ProcurementDetail.aspx Line: 1354

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1008