2013年3月16日 星期六

水晶報表(CrystalReport)安裝注意事項


crystal report 若重灌或新安裝環境就要重設一次
但有些小細節常忘記,所以在此Memo一下∼



要在VS2010中版可以編輯cr 的rpt檔案,上SAP去下載SDK:CRforVS_13_0_4
VS2012好像也能用...

要在IIS上執行Crystal report要安裝CRforVS_redist_install_64bit_13
兩者版本建議要匹配。

IIS記得要有crystalreportviewer folder資料夾
基本上安裝完Runtime之後他會自動產生在
C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13
C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers13
具體作法就是設一個虛擬目錄aspnet_client,指向C:\inetpub\wwwroot\aspnet_client。


原文
The "bobj is undefined" error message can be caused by several factors:

1. crystal report is not properly configured on your machine
2. crystal report assemblies installed on your machine do not reflect the assemblies you have on your web.config
3. crystal version installed on the server is different with the one you want to invoke from your site
4. application pool where your reports run is not set to LOCAL SERVICE
5. read and write permission is not enabled on your root folder
6. crystalreportviewer folder is not copied to your operating folder.

--
待事以直 是謂君子

沒有留言: