1
安裝完Oracle XE DB和ODP.NET後,我試圖運行包含腳本來爲.NET提供程序建立表。當我嘗試例如InstallOracleMembership.sql運行,操作失敗與如下因素的錯誤:Oracle數據庫提供程序安裝腳本錯誤
IF (ora_aspnet_TableExists('ORA_ASPNET_MEMBERSHIP') = 0) THEN
*
ERROR at line 2:
ORA-06550: line 2, column 11:
PLS-00201: identifier 'ORA_ASPNET_TABLEEXISTS' must be declared
ORA-06550: line 2, column 6:
PL/SQL: Statement ignored
然後是一些警告 - >警告:與編譯錯誤創建功能。 而更多的錯誤:
GRANT SELECT ON ora_vw_aspnet_Applications TO ora_aspnet_Mem_ReportAccess
*
ERROR at line 1:
ORA-00942: table or view does not exist
.
.
.
GRANT ora_aspnet_Mem_BasicAccess TO ora_aspnet_Mem_FullAccess
*
ERROR at line 1:
ORA-01917: user or role 'ORA_ASPNET_MEM_FULLACCESS' does not exist
爲此我創建的用戶,並加入他的特權,如創建角色,視圖,表按照本教程Oracle tutorial 我使用ODAC 11.2第4版(11.2.0.3.0) 32位,Oracle 11g R2 XE DB,Win7 Professional 64bit和VS2010。
我缺少了什麼?我做錯了什麼?感謝幫助。
是的,我發現了,但InstallOracleASPNETCommon.sql需要InstallAllOracleASPNETProviders.sql之前也運行,該教程犯規提到它使張貼這個問題時,我被搞糊塗了,但我還是謝謝你 – sanjuro 2012-01-24 08:12:47