Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'site' does not exist in the current context

Source Error:


Line 18: 
Line 19: 	templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n<link rel=\"icon\" href=\"");
Line 20: 	templateBuilder.Append(Utils.ObjectToStr(site.logo));
Line 21: 	templateBuilder.Append("\" type=\"image/x-icon\"/>\r\n<title>提示信息</title>\r\n<style type=\"text/css\">\r\nbody{padding:0;margin:0;width:100%;height:100%;text-align:center;font-size:14px;font-family:\"Microsoft YaHei\";background:#f5f5f5;}\r\na:link,a:visited{text-decoration:none;color:#0068a6;}\r\na:hover,a:active{color:#ff6600;text-decoration: underline}\r\n.showMsg{margin:-100px auto auto -240px;position:absolute;border:1px solid #fff;width:480px;top:50%;left:50%;text-align:left;}\r\n.showMsg h5{margin:0;padding:0 0 0 10px;background:#83c44e;color:#fff; height:42px;line-height:42px;overflow:hidden;font-size:16px;font-weight:normal;text-align:left;}\r\n.showMsg .content{padding:20px;font-size:14px;min-height:84px;_height:84px;background:#fff;}\r\n.showMsg .footer{background:#eee;line-height:34px;height:34px;text-align:center;}\r\n</style>\r\n</head>\r\n<body>\r\n<div class=\"showMsg\">\r\n	<h5>提示信息</h5>\r\n    <div class=\"content\">\r\n       ");
Line 22: 	templateBuilder.Append(Utils.ObjectToStr(msg));

Source File: d:\zgsfds\aspx\main\error.aspx    Line: 20





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