Lotus Notes在调用Crystal Report查看器控件9时给出错误消息

时间:2013-10-23 08:45:43

标签: crystal-reports odbc lotus-notes

操作系统:窗口7企业服务包1(32位) Lotus Notes版本:9.0(社交版)

每当我想创建一个对象 - 水晶报表查看器控件9时,它会给出一条错误消息:下面是由lotus notes生成的错误消息

enter image description here

- 已为Lotus note 9.0注册odbc驱动程序

我可以知道如何修复此错误吗?

这是致命的堆栈。

############################################################
### FATAL THREAD 1/12 [ NLNOTES:  10e0:  10e4]
### FP=0x001b8208, PC=0x0887e890, SP=0x001b81c4
### stkbase=001c0000, total stksize=241664, used stksize=32316
### EAX=0x080ebf23, EBX=0x00000000, ECX=0x001b8188, EDX=0x77af70f4
### ESI=0x0887e890, EDI=0x001e071e, CS=0x0000001b, SS=0x00000023
### DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010206
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
 [ 1] 0x77525f9f USER32.SetPropW+474 (0,80ebf23,1e071e,81)
 [ 2] 0x77524f0e USER32.GetScrollBarInfo+253 (140a4b0,81,0,1b834c)
 [ 3] 0x7751e98a USER32.SendMessageTimeoutW+1329 (1b8324,60,1b87e0,77af6fe0)
 [ 4] 0x77af702e ntdll.KiUserCallbackDispatcher+46 (0,c2d0,0,56000000)
 [ 5] 0x7751ec54 USER32.SendMessageTimeoutW+2043 (0,c2d0,0,56000000)
 [ 6] 0x7751ecaf USER32.CreateWindowExW+51 (0,c2d0,0,56000000)
 [ 7] 0x080ebfd0 crviewer9 (190534,1b87b8,0,56000000)
 [ 8] 0x080fd319 crviewer9.DllUnregisterServer+6942 (fffffffc,1b8838,80fdcc8,1b8838)
 [ 9] 0x080fedb5 crviewer9.DllUnregisterServer+13754 (887e8c0,fffffffc,0,83658d8)
@[10] 0x5a8d6076 nnotesws.CEditorOLEContainedObj::DoVerb+454 (23053c,fffffffc,0,508)
@[11] 0x59f7a777 nnotesws.DocOLEActivateInPlaceWhenVisible@4+439 (8b3c7a8)
@[12] 0x59f3f94e nnotesws.DocOLEAsyncEvent@12+846 (8335018,508,0)
@[13] 0x59edf24b nnotesws.@DocWindowsMessage@24+19531 (508,0,1b8c7c,1b9120,0,0)
@[14] 0x59ee4699 nnotesws.EditInstanceMessage@24+1161 (8335018,23053c,4f8,508,0,0)
@[15] 0x59ee38a3 nnotesws.CEditSubprogram::SubMessageProc+323 (8352418,4f8,508,0,0,0)
@[16] 0x59eb515d nnotesws.MainWndProc@16+8685 (23053c,4f8,508,0)
 [17] 0x7752c4e7 USER32.gapfnScSendMessage+463 (59eb2f70,23053c,4f8,508)
 [18] 0x7752c5e7 USER32.gapfnScSendMessage+719 (0,59eb2f70,23053c,4f8)
 [19] 0x7752cc19 USER32.gapfnScSendMessage+2305 (59eb2f70,0,1b9274,59f50b3a)
 [20] 0x7752cc70 USER32.DispatchMessageW+15 (1b9250,775253ba,601ba,59eb0000)
@[21] 0x59f50b3a nnotesws.NEMMainLoop@4+1194 (10f13b0)
@[22] 0x010f1f80 NLNOTES.WinMain@16+3024 (10f0000,0,1,0)
@[23] 0x010f2f95 NLNOTES.__tmainCRTStartup+336 (7ffdb000,1bfac8,77b137eb,7ffdb000)
 [24] 0x75e9ed5c KERNEL32.BaseThreadInitThunk+18 (7ffdb000,77a09f0b,0,0)
 [25] 0x77b137eb ntdll.RtlInitializeExceptionChain+239 (10f30d8,7ffdb000,0,0)
 [26] 0x77b137be ntdll.RtlInitializeExceptionChain+194 (10f30d8,7ffdb000,0,0)

1 个答案:

答案 0 :(得分:0)

在Windows中检查PATH环境变量。老的经验法则是让Lotus Notes程序目录位于PATH变量的前128个字符中。在我的机器上,我将Notes程序目录指定为所有Windows变量(如%SystemRoot%\ system32等)之后的第一个“正常”路径。 最后检查Crystal Reports中包含任何DLL(如crviewer9.dll)的目录是否相同。 如果这不起作用,我会使用Dependency Walker并在crviewer9.dll上运行它,看看是否有任何明显的DLL丢失。

编辑:只是扫描你提到的一些文件的网络,似乎表明Visual Studio 2010可再发行组件包存在问题。请查看评论here