2013年7月17日 星期三

Reporting Service, 32 bit 64 bit, BadImageException, Oracle Client

今天寫了一支Reporting Service 程式,在Windows 2008 R2 64 bit 上面。install了Oracle client 32 bit and 64 bit,但是在BI Management Sudio上面,可以抓到32 bit,傳上Reporting Server後,就是會出現BadImageException,說什麼32 bit 64 bit...

後來想到用ODBC,結果ODBC也有問題,後來才知道ODBC在64 bit server上有32 bit and 64 bit ODBC :

Use this ODBC Manager to Review 64-Bit Data Source Names
c:\windows\system32\odbcad32.exe
Use this ODBC Manager to Review 32-Bit Data Source Names
c:\windows\sysWOW64\odbcad32.exe

後來 進入 c:\windows\sysWOW64\odbcad32.exe,設定ODBC後傳上reporting server才能跑...

沒有留言:

張貼留言