“/”应用程序中的服务器错误。

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: CS0103: 当前上下文中不存在名称“site”

源错误:


行 19: 
行 20: 	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<title>");
行 21: 	templateBuilder.Append(Utils.ObjectToStr(site.name));
行 22: 	templateBuilder.Append("</title>\r\n<meta name=\"keywords\" content=\"");
行 23: 	templateBuilder.Append(Utils.ObjectToStr(site.seo_keyword));

源文件: d:\wwwroot\yichanjicheng\wwwroot\aspx\zxt\error.aspx    行: 21






版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4081.0