Ognacの雑感

木漏れ日々

目次

Blog 利用状況

書庫

ギャラリ

Vista(64bit)では MDBが使えない?

 過去に開発した MDBアプリ(VS2005/VB)を、走らせたら動作しない。XPでは走る。
 "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\xxx.mdb" で "Microsoft.Jet.OLEDB.4.0;"が未登録という趣旨の例外がでている。しかも例外で落ちずにそのまま画面が開く。例外が握りつぶされる、挙動が違う。うーん焦った。ネットを探し回っていたら、x86モードでないとMDBは認識しないような事が書いてある。x86モードにする?? 構成マネージャにそのような欄が在るような無いような。構成マネージャ自体がない。メニューを漁ると Tool/Option/project_solution/全般のビルド構成の詳細を表示の欄がOffになっている。設定して再度走らせるとスンナリ実行できました。
32bit下という制約がつくのは OleDBに起因するのだろうか。そこまで調べがつかなかったのですが、可能性はありますね。MDBは最早過去のものになったのか。MDBは制約も多くマイナー情報も多いのですが、結構重宝しているので過去の遺物になるのは嫌だな。小回りが利くし結構早いのでローカル使用するには便利なんですよね。
 折角のVista(64)を32bitモードでコンパイルするのは気が重いですね。当分このような状態が続くのかな。

 

投稿日時 : 2007年6月3日 16:53

Feedback

# re: Vista(64bit)では MDBが使えない? 2007/06/03 23:12 中博俊

最近書いたよね
http://blogs.wankuma.com/naka/archive/2007/05/26/78405.aspx

# re: Vista(64bit)では MDBが使えない? 2007/06/03 23:57 Ognac

あぁ! 見落としてました...何たる失態 < 違うか
見てたのに忘れたのかな。
ありがとうございます。

# re: Vista(64bit)では MDBが使えない? 2008/03/11 8:58 奥主 洋

今日あるお客様からこの内容を聞かれて色々とやっていたのですが、中さんの投稿の通り、syswow64にあることも確認しました。そこでアプリケーションプールの設定で「32ビットアプリケーションの有効化」をTrueにしたところ、実行時パスがwindows\syswow64になり、そのお客様のサンプルは動作しました。情報共有まで。みんな悩んでそうなのでMSCでデモすると思います。

# re: Vista(64bit)では MDBが使えない? 2008/03/11 21:24 Ognac

ありがとうございます。さっそく試してみます。

# Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read this website, and I used to pay a quick visit this blog daily. 2021/08/31 18:10 Hi there every one, here every one is sharing thes

Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read
this website, and I used to pay a quick visit
this blog daily.

# Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read this website, and I used to pay a quick visit this blog daily. 2021/08/31 18:11 Hi there every one, here every one is sharing thes

Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read
this website, and I used to pay a quick visit
this blog daily.

# Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read this website, and I used to pay a quick visit this blog daily. 2021/08/31 18:12 Hi there every one, here every one is sharing thes

Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read
this website, and I used to pay a quick visit
this blog daily.

# Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read this website, and I used to pay a quick visit this blog daily. 2021/08/31 18:13 Hi there every one, here every one is sharing thes

Hi there every one, here every one is sharing these knowledge, thus it's fastidious to read
this website, and I used to pay a quick visit
this blog daily.

# Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet. 2021/09/06 6:12 Asking questions are in fact fastidious thing if y

Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet.

# Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet. 2021/09/06 6:13 Asking questions are in fact fastidious thing if y

Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet.

# Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet. 2021/09/06 6:14 Asking questions are in fact fastidious thing if y

Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet.

# Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet. 2021/09/06 6:15 Asking questions are in fact fastidious thing if y

Asking questions are in fact fastidious thing if you are not understanding anything completely, but this paragraph presents good understanding yet.

タイトル
名前
Url
コメント