自宅マシンに開発環境を構築してみたので、

忘れないようにメモ。

あくまで一例です・・・

1. 用意したもの

  ・ Oracle Database 10g Release 2 (10.2.0) for Microsoft Windows (32-bit) 30日間トライアル版

  ・Oracle Developer Tools for Visual Studio .NET with Oracle10g Release 2 ODAC 10.2.0.2.21

 

2. Oracle Databaseをインストール(標準インストールにした)

    Oracleホームの場所 : デフォルト

    インストールタイプ :  Standard Edition

    初期データベースの作成 : チェック

    グローバル・データベース名 : 内緒

    データベース・パスワード : 内緒(SYS, SYSTEM, SYSMAN, DBSNMPアカウント用)

 

 上記で、listener.ora、sqlnet.ora、tnsnames.oraの生成まで自動でやってくれてた

 

3. ODT.NETのインストール

  インストールする製品の選択 : Oracle Data Access Components 10.2.0.2.21

  インストール先 名前 : デフォルト

  インストール先 パス : デフォルト(DataBaseとは異なるHomeがデフォルトで指定されている Database=db_1, ODT.NET=client_1)

 

4. ODT.NET用のtnsnames.oraの作成

 

VisualStudio2005上でOracleエクスプローラーを利用できる事を確認。

参照設定で、Oracle.DataAccess.dllが

Databaseインストール時に入ったもの(Version : 10.2.0.100   ランタイム:v1.0.3705)

ODT.NETインストール時に入ったもの(Version : 2.102.2.20  ランタイム:v.2.0.50727)

.NET Framework1.x用、.NET Framework2.0用の2種類あり。

 

とりあえず開発はできそうな感じ。

はまらなくてよかった

 

何か変な所があれば、後日追記します。

それにしても、OracleDatabase欲しいなぁ・・・

 

[7/21 17:30 追記]

オンライン・ヘルプの統合作業が抜けてました。http://otndnld.oracle.co.jp/software/tech/windows/odtvnet/odt10202rn/odt10202rn.htm

 

[7/22 2:03追記]

Oracle.DataAccess.dllが2種類ある部分に、ランタイムのバージョンも追記。

フィードバック

# re: [Oracle開発環境]OracleDatabaseとODT.NETを同一マシンにインストールしてみる

2007/07/21 17:20 by はつね
同じマシンにインストールするときでも、最近のOracleであればDatabaseとクラアントのバージョンが一致していれば嵌る事はほとんどないですね。
バージョンが違うとOracleホームが異なるので、まあ、色々と面倒ではあります。

# re: [Oracle開発環境]OracleDatabaseとODT.NETを同一マシンにインストールしてみる

2007/07/21 23:41 by HiJun
えー!!!
違うVerのDllの登録されているんですか?
それってちょっと怖いですね...なんか、レジストリに残っているだけの状態になって
いるような気がして...

# re: [Oracle開発環境]OracleDatabaseとODT.NETを同一マシンにインストールしてみる

2007/07/22 1:12 by 十郎
>はつね様
ありがとうございます。
久しぶりのOracleインストールなのでドキドキしておりました。
バージョンが一致していればそこそこ安心なんですね。

>HiJun様
ありがとうございます。
気になったので、もうちょっと見てみました。
参照の追加ダイアログに上がってきた2種類を見比べてみると、
DataBase側にあるDLLのランタイム項目 = v1.0.3705
ODP.NET側にあるDLLのランタイム項目 = v2.0.50727
となってましたorz

という事で、ごめんなさい。
同内容のDLLが別Verで登録されているわけではなく、
.NET Framework1.x用と、2.0用の2種類が登録されているだけでした。

なんでDataBase側で1.x用、ODP.NET側で2.0用なのかはわかりません。
OracleDatabaseインストール直後の状態を見ておけばよかったですね。

# I'm impressed! You've managed the asmlot impossible.

2011/07/07 11:57 by Adelphia
I'm impressed! You've managed the asmlot impossible.

# No more s***. All posts of this qutaliy from now on

2011/07/09 16:47 by Parthena
No more s***. All posts of this qutaliy from now on

# I have been surfing on-line greater than 3 hours today, but I never found any attention-grabbing article like yours. It is pretty worth sufficient for me. Personally, if all web owners and bloggers made just right content material as you probably did, th

2019/06/02 16:11 by I have been surfing on-line greater than 3 hours t
I have been surfing on-line greater than 3 hours today, but I never found
any attention-grabbing article like yours. It is pretty
worth sufficient for me. Personally, if all web owners and bloggers made just right content material as you probably did, the
web will be a lot more helpful than ever before.

# If some one wants to be updated with newest technologies afterward he must be visit this web page and be up to date every day.

2019/07/25 16:43 by If some one wants to be updated with newest techno
If some one wants to be updated with newest technologies afterward
he must be visit this web page and be up to date every day.

# If some one wants to be updated with newest technologies afterward he must be visit this web page and be up to date every day.

2019/07/25 16:44 by If some one wants to be updated with newest techno
If some one wants to be updated with newest technologies afterward
he must be visit this web page and be up to date every day.

# If some one wants to be updated with newest technologies afterward he must be visit this web page and be up to date every day.

2019/07/25 16:45 by If some one wants to be updated with newest techno
If some one wants to be updated with newest technologies afterward
he must be visit this web page and be up to date every day.

# If some one wants to be updated with newest technologies afterward he must be visit this web page and be up to date every day.

2019/07/25 16:46 by If some one wants to be updated with newest techno
If some one wants to be updated with newest technologies afterward
he must be visit this web page and be up to date every day.
コメントの入力
タイトル
名前
Url
コメント