登录后台,进入后台之后左边栏正常显示,右侧显示下面错误
- “/”应用程序中的服务器错误。
- --------------------------------------------------------------------------------
- 编译错误
- 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。
- 编译器错误消息: CS0103: 当前上下文中不存在名称“IsBusiness”
- 源错误:
- 行 104:<script type="text/javascript">
- 行 105:var updatedate="2013-3-11";
- 行 106:var isbusiness=<%=IsBusiness%>;
- 行 107:document.getElementById("updatedate").innerHTML="(最后更新时间:"+updatedate+")";
- 行 108:var Obj=parent.frames["left"].document.getElementsByName("left");
- 源文件: e:\nmak\e\master\sysmain.aspx 行:106
- 显示详细的编译器输出:
-
- C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\032e322b\542fb33c_d90ed001\PageAdmin.CommMethod.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\8da703b5\0e654696_de0ed001\PageAdmin.SendMessage.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\00d4efe7\8ed357f0_c634ce01\PageAdmin.Log.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\be6d6844\67f704f0_c634ce01\PageAdmin.Conn.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\e425c198\961d2bf0_c634ce01\PageAdmin.Global.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\App_global.asax.gppeprnh.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\279268f6\b589f7ef_c634ce01\Interop.jmail.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\5ccb3508\0fbd7ef0_c634ce01\PageAdmin.SendMail.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\8717a091\2ebca4f0_c634ce01\PageAdmin.Watermark.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\f7a80a06\5f771cf0_c634ce01\PageAdmin.FCKeditor.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\6d159b67\03d672f0_c634ce01\PageAdmin.Pay.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\4528e315\81ec4bf0_c634ce01\PageAdmin.Install.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\c3218dba\273d38f0_c634ce01\PageAdmin.Html.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\a7a15bdd\8a8301f1_c634ce01\PageAdmin.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\7b97e1ab\f05f98f0_c634ce01\PageAdmin.Thumbnai.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\assembly\dl3\4ccd4218\796c63f0_c634ce01\PageAdmin.Md5.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\App_Web_sysmain.aspx.dce33182.hkvrjhn7.dll" /debug- /optimize+ /win32res:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\ovbrpviz.res" /w:4 /nowarn:1659;1699;1701;612;618 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\App_Web_sysmain.aspx.dce33182.hkvrjhn7.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ced541\a2eff7ca\App_Web_sysmain.aspx.dce33182.hkvrjhn7.1.cs"
- Microsoft(R) Visual C# 编译器版本 4.0.30319.18408
- 用于 Microsoft(R) .NET Framework 4.5
- 版权所有 (C) Microsoft Corporation。保留所有权利。
- e:\nmak\e\master\sysmain.aspx(106,19): error CS0103: 当前上下文中不存在名称“IsBusiness”
-
- --------------------------------------------------------------------------------
- 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.18446
复制代码点左侧网站参数设置,右侧出现下面错误
- “/”应用程序中的服务器错误。
- --------------------------------------------------------------------------------
- 未将对象引用设置到对象的实例。
- 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
- 异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。
- 源错误:
- 执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
- 堆栈跟踪:
- [NullReferenceException: 未将对象引用设置到对象的实例。]
- PageAdmin.set_1.I8VmO9rJ2p() +1847
- PageAdmin.set_1.Page_Load(Object src, EventArgs e) +551
- System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
- System.Web.UI.Control.OnLoad(EventArgs e) +92
- System.Web.UI.Control.LoadRecursive() +54
- System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
-
- --------------------------------------------------------------------------------
- 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.18446
复制代码右侧最上面显示
