<html>
    <head>
        <title>未将对象引用设置到对象的实例。</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .er {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>    <body bgcolor="white">            <span><H1>“/”应用程序中的服务器错误。<hr width=100% size=1 color=silver></H1>            <h2> <i>未将对象引用设置到对象的实例。</i> </h2></span>            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">            <b> 说明: </b>执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。            <br><br>            <b> 异常详细信息: </b>System.NullReferenceException: 未将对象引用设置到对象的实例。<br><br>            <b>源错误:</b> <br><br>            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>行 180: tplHandler.Write(&quot;\&quot;  + \&quot;tplskin\&quot;;//每份模板要错开名称\t\r\n\tSetActiveStyle(getCookie(styleStr),\&quot;title\&quot;);\t\r\n\t//--&gt;\r\n\t&lt;/script&quot;+&quot;&gt;\r\n\t&quot;);
行 181:
<font color=red>行 182: foreach (TemplateSkinInfo tsi in TemplateInfo.CreateInstance(Fetch.CurrentTemplateName).GetSkinInfoArray())
</font>行 183: {
行 184:</pre></code>                  </td>
               </tr>
            </table>            <br>            <b> 源文件: </b> d:\freehost\whmiliya\web\demo\templates\default\aspx\index.aspx<b> &nbsp;&nbsp; 行: </b> 182
            <br><br>            <b>堆栈跟踪:</b> <br><br>            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP.templates_default_aspx_index_aspx.OutputTemplate(SimpleAspxTemplateHandler tplHandler) in d:\freehost\whmiliya\web\demo\templates\default\aspx\index.aspx:182
   ASP.templates_default_aspx_index_aspx.Render(HtmlTextWriter htmlWriter) in d:\freehost\whmiliya\web\demo\templates\default\aspx\index.aspx:10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558
</pre></code>                  </td>
               </tr>
            </table>            <br>            <hr width=100% size=1 color=silver>            <b>版本信息:</b>&nbsp;Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433            </font>    </body>
</html>
<!-- 
[NullReferenceException]: 未将对象引用设置到对象的实例。
   在 ASP.templates_default_aspx_index_aspx.OutputTemplate(SimpleAspxTemplateHandler tplHandler) 位置 d:\freehost\whmiliya\web\demo\templates\default\aspx\index.aspx:行号 182
   在 ASP.templates_default_aspx_index_aspx.Render(HtmlTextWriter htmlWriter) 位置 d:\freehost\whmiliya\web\demo\templates\default\aspx\index.aspx:行号 10
   在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException]: 引发类型为“System.Web.HttpUnhandledException”的异常。
   在 System.Web.UI.Page.HandleError(Exception e)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.templates_default_aspx_index_aspx.ProcessRequest(HttpContext context) 位置 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c5dae07f\c8dfcc73\App_Web_f2n_k6go.24.cs:行号 0
   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!-- 
此错误页可能包含敏感信息,因为 ASP.NET 通过 &lt;customErrors mode="Off"/&gt; 被配置为显示详细错误消息。请考虑在生产环境中使用 &lt;customErrors mode="On"/&gt; 或 &lt;customErrors mode="RemoteOnly"/&gt;。-->