Server Error in '/' Application.

The given key was not present in the dictionary.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:


Line 256:
Line 257:
Line 258:	templateBuilder.Append("\r\n		\r\n		<section class=\"default-ny-container\">\r\n			<div class=\"container-fluid container-padd-t80 container-padd-b50\">\r\n				<div class=\"row\">\r\n					<div class=\"col-12\">\r\n						<div class=\"model-008\">\r\n							<h4 class=\"title\">" + Utils.ObjectToStr(model.fields["new_pre_title"]) + "");
Line 259:	templateBuilder.Append(Utils.ObjectToStr(model.title));
Line 260:	templateBuilder.Append("</h4>\r\n						</div>\r\n					</div>\r\n					<div class=\"col-12\">\r\n						<div class=\"model-008\">\r\n							<p class=\"date\" style=\"text-align: center; margin-top: 15px;\">");	templateBuilder.Append(Utils.ObjectToDateTime(model.add_time).ToString("yyyy.MM.dd"));

Source File: d:\web\water\aspx\main\news_show.aspx    Line: 258

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +9627309
   ASP.aspx_main_news_show_aspx.OnInit(EventArgs e) in d:\web\water\aspx\main\news_show.aspx:258
   System.Web.UI.Control.InitRecursive(Control namingContainer) +140
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480


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