关于报告我得到这个错误 [英] about reporting i get this error

查看:109
本文介绍了关于报告我得到这个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

**************异常文本**************
Microsoft.Reporting.WinForms.LocalProcessingException:本地报表处理期间发生错误. ---> System.ApplicationException:未指定报告"C:\ Documents and Settings \ COMPUTER7 \ Local Settings \ Apps \ 2.0 \ 39O7XVW2.G5E \ Report1.rdlc"的报告定义---> System.IO.FileNotFoundException:找不到文件``C:\ Documents and Settings \ COMPUTER7 \ Local Settings \ Apps \ 2.0 \ 39O7XVW2.G5E \ Report1.rdlc''.
文件名:``C:\ Documents and Settings \ COMPUTER7 \ Local Settings \ Apps \ 2.0 \ 39O7XVW2.G5E \ Report1.rdlc''
在System.IO .__ Error.WinIOError(Int32 errorCode,可能是StringFullPath)
在System.IO.FileStream.Init(字符串路径,FileMode模式,FileAccess访问,Int32权限,布尔值useRights,FileShare共享,Int32 bufferSize,FileOptions选项,SECURITY_ATTRIBUTES secAttrs,字符串msgPath,布尔值bFromProxy)
在System.IO.FileStream..ctor中(字符串路径,FileMode模式,FileAccess访问,FileShare共享)
在Microsoft.Reporting.StandalonePreviewStore.GetReportDefinition(字符串路径,布尔值isFile)
在Microsoft.Reporting.StandalonePreviewStore.GetCompiledReport(CatalogItemContext上下文,布尔值重建,ReportSnapshotBase&快照)中
---内部异常堆栈跟踪的结尾---
在Microsoft.Reporting.StandalonePreviewStore.GetCompiledReport(CatalogItemContext上下文,布尔值重建,ReportSnapshotBase&快照)中
在Microsoft.Reporting.LocalService.CompileReport(CatalogItemContext itemContext,布尔值重建)
在Microsoft.Reporting.WinForms.LocalReport.CompileReport()
---内部异常堆栈跟踪的结尾---
在Microsoft.Reporting.WinForms.LocalReport.CompileReport()
在Microsoft.Reporting.WinForms.LocalReport.SetParameters(IEnumerable`1个参数)
在CaseManagment.frmNoFurther.btnView_Click(Object sender,EventArgs e)
在System.Windows.Forms.Control.OnClick(EventArgs e)
在System.Windows.Forms.Button.OnClick(EventArgs e)
在System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)中
在System.Windows.Forms.Control.WmMouseUp上(消息和m,MouseButtons按钮,Int32单击)
在System.Windows.Forms.Control.WndProc(Message&m)
在System.Windows.Forms.ButtonBase.WndProc(Message&m)
在System.Windows.Forms.Button.WndProc(Message&m)
在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&m)
在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&m)
在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)



当我运行exe时,我收到此错误消息.........请帮助我解决此问题...

************** Exception Text **************
Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> System.ApplicationException: The report definition for report ''C:\Documents and Settings\COMPUTER7\Local Settings\Apps\2.0\39O7XVW2.G5E\Report1.rdlc'' has not been specified ---> System.IO.FileNotFoundException: Could not find file ''C:\Documents and Settings\COMPUTER7\Local Settings\Apps\2.0\39O7XVW2.G5E\Report1.rdlc''.
File name: ''C:\Documents and Settings\COMPUTER7\Local Settings\Apps\2.0\39O7XVW2.G5E\Report1.rdlc''
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Reporting.StandalonePreviewStore.GetReportDefinition(String path, Boolean isFile)
at Microsoft.Reporting.StandalonePreviewStore.GetCompiledReport(CatalogItemContext context, Boolean rebuild, ReportSnapshotBase& snapshot)
--- End of inner exception stack trace ---
at Microsoft.Reporting.StandalonePreviewStore.GetCompiledReport(CatalogItemContext context, Boolean rebuild, ReportSnapshotBase& snapshot)
at Microsoft.Reporting.LocalService.CompileReport(CatalogItemContext itemContext, Boolean rebuild)
at Microsoft.Reporting.WinForms.LocalReport.CompileReport()
--- End of inner exception stack trace ---
at Microsoft.Reporting.WinForms.LocalReport.CompileReport()
at Microsoft.Reporting.WinForms.LocalReport.SetParameters(IEnumerable`1 parameters)
at CaseManagment.frmNoFurther.btnView_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



when i run the exe i get this error message............please help me to fixed this......

推荐答案

Soft009写道:
Soft009 wrote:

找不到文件''C:\ Documents and Settings \ COMPUTER7 \ Local Settings \ Apps \ 2.0 \ 39O7XVW2.G5E \ Report1.rdlc''.

Could not find file ''C:\Documents and Settings\COMPUTER7\Local Settings\Apps\2.0\39O7XVW2.G5E\Report1.rdlc''.



大头绪!



Big clue!


这篇关于关于报告我得到这个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆