none
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater. RRS feed

  • 問題

  • 設定好OracleConnection後,執行時出現以下訊息,要如何解決?????

    System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

    描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

    例外詳細資訊: System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

    原始程式錯誤:

    行 41: //				myConnection.Open();		
    行 42: 
    行 43: 				oracleConnection1.Open();
    行 44: 			}		
    行 45: 		}
    2006年3月1日 上午 07:34

所有回覆

  • 有安裝Oracle client 8.1.7以上的版本嗎?
    2006年3月1日 上午 08:41
  • 如果你是寫ASP.NET你必須要在IIS的Virtual Directory

    給予權限

    要不然要在Oracle_Home給權限

    Solution
    To fix the problem you have to give the Authenticated Users group privilege to the Oracle Home directory.

    • Log on to Windwos as a user with Administrator privileges.
    • Start Window Explorer and navigate to the ORACLE_HOME folder.
    • Choose properties on the ORACLE_HOME folder.
    • Click the “Security” tab of the “Properties” window.
    • Click on “Authenticated Users” item in the “Name” list.
    • Uncheck the “Read and Execute” box in the “Permissions” list under the “Allow” column.
    • Re-check the “Read and Execute” box under the “Allow” column
    • Click the “Advanced” button and in the “Permission Entries” verify that “Authenticated Users” are listed with permission = “Read & Execute”, and Apply To = “This folder, subfolders and files”. If not, edit that line and make sure that “Apply To” drop-down box is set to “This folder, subfolders and files”. This should already be set properly but it is important that you verify it.
    • Click the “Ok” button until you close out all of the security properties windows. The cursor may present the hour glass for a few seconds as it applies the permissions you just changed to all subfolders and files.
    • Reboot, to assure that the changes have taken effect.

    MIB426

    2006年3月2日 下午 04:01
  • 在你的WEB服务器上应安装ORACLE客户端,并使用Oracle Net8 Easy Config配置服务名,这个服务名说明了要连接到哪台服务器的哪个数据库,侦听器在哪个端口侦听,使用什么协议连接等信息.
    2006年11月14日 上午 12:34