Server Error in '/SGP_Attendance' Application.
--------------------------------------------------------------------------------Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.Source Error:
Line 455: if (day == 30)
Line 456: {
Line 457: TextObject dayone = (TextObject)crsFullTime.ReportDocument.ReportDefinition.ReportObjects["Text37"];
Line 458: dayone.Text = "";
Line 459: }
Source File: c:\CF_UAT\wwwroot\SGP_Attendance\Enquiry\CurrentMonthReport.aspx.cs Line: 457 Stack Trace:
[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +271[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +332
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +893
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +108
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition() +56
Enquiry_CurrentMonthReport.DateLoad(String starDateTime, String Status) in c:\CF_UAT\wwwroot\SGP_Attendance\Enquiry\CurrentMonthReport.aspx.cs:457
Enquiry_CurrentMonthReport.Button1_Click(Object sender, EventArgs e) in c:\CF_UAT\wwwroot\SGP_Attendance\Enquiry\CurrentMonthReport.aspx.cs:287
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
谁知道这是什么错误,我在自己电脑没问题,发布到服务器上,就包这个错误。
--------------------------------------------------------------------------------Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.Source Error:
Line 455: if (day == 30)
Line 456: {
Line 457: TextObject dayone = (TextObject)crsFullTime.ReportDocument.ReportDefinition.ReportObjects["Text37"];
Line 458: dayone.Text = "";
Line 459: }
Source File: c:\CF_UAT\wwwroot\SGP_Attendance\Enquiry\CurrentMonthReport.aspx.cs Line: 457 Stack Trace:
[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +271[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +332
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +893
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +108
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition() +56
Enquiry_CurrentMonthReport.DateLoad(String starDateTime, String Status) in c:\CF_UAT\wwwroot\SGP_Attendance\Enquiry\CurrentMonthReport.aspx.cs:457
Enquiry_CurrentMonthReport.Button1_Click(Object sender, EventArgs e) in c:\CF_UAT\wwwroot\SGP_Attendance\Enquiry\CurrentMonthReport.aspx.cs:287
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
谁知道这是什么错误,我在自己电脑没问题,发布到服务器上,就包这个错误。
解决方案 »
- 如果提取HTML数据中的主要内容?
- 当Text中的Value长度到3时焦点自动交给下一个文本框。
- Asp.net与Word的问题(没分了,请帮忙)
- 搭建自己的企业邮箱.并对外提供使用.现在自己用的是花生壳.如果还要邮箱的话是不是用花生邮?花生邮要不要收费的?有没有些免费的?
- 广州 高科大厦 创业团队 找合作伙伴
- 哪位高手,能在一个HTML文件中加入一段HTML,查看源代码的时候要显示HTML代码,而不是那些DIV之类的标记
- CSDN里来消息时的提示音是怎么弄出来的?
- 请问如何让logo重复显示在每个网页的头部
- 请问微软 MVP :何谓 网络文档错误??
- 初学asp.net,希望这个板块的高手介绍几本好书!谢谢!
- MVC中如何在.cs代码指定Controller和Action生成一个路由地址
- 为ASP.NET控件动态绑定事件
说明:执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪错误的详细信息,它起源于代码。异常详细信息:System.AccessViolationException:尝试读取或写入受保护的内存。这通常指示其他内存已损坏。源错误: