不是DataSource和Parameter的问题,
很奇怪一个问题,同样的程序,在我的电脑上和另外一台电脑上没有出现过这个错误,
放到服务器上就出现这个,但也不是一直出现,有时候出现,重启服务器就可以了。。
请问有没有遇到过这种问题?谢谢!!错误信息:Server Error in '/' Application.
-----------------------------------------------------------------------------
Invalid field name.
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.Runtime.InteropServices.COMException: Invalid field
name.Source Error: An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be
identified using the exception stack trace below. Stack Trace:
[COMException (0x800001fd):
Invalid field name.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open
(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
DocumentPath, Int32 Options) +72
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOp
ened() +218[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOp
ened() +270
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
OpenReportMethod openMethod, Int16 parentJob) +738
CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName,
OpenReportMethod openMethod, Int16 parentJob) +420
CrystalDecisions.CrystalReports.Engine.ReportDocument.s() +74
CrystalDecisions.CrystalReports.Engine.ReportDocument.(Object C) +41
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet
dataSet) +21
SouthWood.Report.Domain.DispenseLogReportGenerator.CreateAllDrugsDispenseLogRep
ort(Int32 inClinicID, DateRange inDateRange, String inAuthor) in
d:\outsourcing\development\code\southwood\report\domain\dispenselogreportgenera
tor.cs:30
SouthWood.Report.ReportInfo.CreateDispenseLogReport(ReportTypeSelector
inReportType, Int32 inClinicID, DateRange inDateRange, String inAuthor) in
d:\outsourcing\development\code\southwood\report\reportinfo.aspx.cs:186
SouthWood.Report.ReportInfo.btnRunLogReport_ServerClick(Object sender,
EventArgs e) in
d:\outsourcing\development\code\southwood\report\reportinfo.aspx.cs:116
System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +108
System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.
RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,
String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
System.Web.UI.Page.ProcessRequestMain() +1292
很奇怪一个问题,同样的程序,在我的电脑上和另外一台电脑上没有出现过这个错误,
放到服务器上就出现这个,但也不是一直出现,有时候出现,重启服务器就可以了。。
请问有没有遇到过这种问题?谢谢!!错误信息:Server Error in '/' Application.
-----------------------------------------------------------------------------
Invalid field name.
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.Runtime.InteropServices.COMException: Invalid field
name.Source Error: An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be
identified using the exception stack trace below. Stack Trace:
[COMException (0x800001fd):
Invalid field name.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open
(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
DocumentPath, Int32 Options) +72
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOp
ened() +218[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOp
ened() +270
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
OpenReportMethod openMethod, Int16 parentJob) +738
CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName,
OpenReportMethod openMethod, Int16 parentJob) +420
CrystalDecisions.CrystalReports.Engine.ReportDocument.s() +74
CrystalDecisions.CrystalReports.Engine.ReportDocument.(Object C) +41
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet
dataSet) +21
SouthWood.Report.Domain.DispenseLogReportGenerator.CreateAllDrugsDispenseLogRep
ort(Int32 inClinicID, DateRange inDateRange, String inAuthor) in
d:\outsourcing\development\code\southwood\report\domain\dispenselogreportgenera
tor.cs:30
SouthWood.Report.ReportInfo.CreateDispenseLogReport(ReportTypeSelector
inReportType, Int32 inClinicID, DateRange inDateRange, String inAuthor) in
d:\outsourcing\development\code\southwood\report\reportinfo.aspx.cs:186
SouthWood.Report.ReportInfo.btnRunLogReport_ServerClick(Object sender,
EventArgs e) in
d:\outsourcing\development\code\southwood\report\reportinfo.aspx.cs:116
System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +108
System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.
RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,
String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
System.Web.UI.Page.ProcessRequestMain() +1292
crystal report files 指水晶报表那些dll? 安装了应该可以了吧,另外bin目录下也有这些dll..
不过这个也复制到Server上面了,现在还只是测试,所以是整站放到Server上了,所以文件都有..
但是我觉得不会是这个方面的问题,因为Server上只是有时候出现这种情况,出现了这种情况之后重启服务器就好了..