reporting Server組件不全引起的致命錯誤
事件類型: 錯誤
事件來源: .NET Runtime 2.0 Error Reporting
事件類別目錄: 無
事件識別碼: 5000
日期: 2007/10/29
時間: 下午 05:31:59
使用者: N/A
電腦: MSM1-HP6405
描述:
EventType clr20r3, P1 host.exe, P2 1.0.0.31181, P3 4544721b, P4 host, P5 1.0.0.31181, P6 4544721b, P7 3c, P8 5f, P9 system.io.filenotfoundexception, P10 NIL.
請在 http://go.microsoft.com/fwlink/events.asp 查看說明及支援中心,以取得其他資訊。
資料:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 68 00 6f 00 73 00 .h.o.s.
0018: 74 00 2e 00 65 00 78 00 t...e.x.
0020: 65 00 2c 00 20 00 31 00 e.,. .1.
0028: 2e 00 30 00 2e 00 30 00 ..0...0.
0030: 2e 00 33 00 31 00 31 00 ..3.1.1.
0038: 38 00 31 00 2c 00 20 00 8.1.,. .
0040: 34 00 35 00 34 00 34 00 4.5.4.4.
0048: 37 00 32 00 31 00 62 00 7.2.1.b.
0050: 2c 00 20 00 68 00 6f 00 ,. .h.o.
0058: 73 00 74 00 2c 00 20 00 s.t.,. .
0060: 31 00 2e 00 30 00 2e 00 1...0...
0068: 30 00 2e 00 33 00 31 00 0...3.1.
0070: 31 00 38 00 31 00 2c 00 1.8.1.,.
0078: 20 00 34 00 35 00 34 00 .4.5.4.
0080: 34 00 37 00 32 00 31 00 4.7.2.1.
0088: 62 00 2c 00 20 00 33 00 b.,. .3.
0090: 63 00 2c 00 20 00 35 00 c.,. .5.
0098: 66 00 2c 00 20 00 73 00 f.,. .s.
00a0: 79 00 73 00 74 00 65 00 y.s.t.e.
00a8: 6d 00 2e 00 69 00 6f 00 m...i.o.
00b0: 2e 00 66 00 69 00 6c 00 ..f.i.l.
00b8: 65 00 6e 00 6f 00 74 00 e.n.o.t.
00c0: 66 00 6f 00 75 00 6e 00 f.o.u.n.
00c8: 64 00 65 00 78 00 63 00 d.e.x.c.
00d0: 65 00 70 00 74 00 69 00 e.p.t.i.
00d8: 6f 00 6e 00 20 00 4e 00 o.n. .N.
00e0: 49 00 4c 00 0d 00 0a 00 I.L.....
初步懷疑是在初始化的時候有什么錯誤,于是在form_load的函數中一條一條地將初始化的命令屏蔽,然后再發布,再運行,直到全屏蔽掉也還是出一樣的錯,這說明不是程序本身的問題,于是把焦點集中在之前版本與當前版本之間的差異,發現現在版本在發布的時候未將Microsoft.ReportViewer.Common.dll, Microsoft.ReportViewer.WebForms.dll一同發布出去,這使得form初始化時找不到相應組件而出現致命錯誤。回顧一下,所謂的system.io.filenotfoundexception指的就是找不到相應組件而出現的異常