Ms7 Search
Google 搜尋 翻譯
calendar
« 六月 2025 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

x64 ii7 如何用 asp + access

2010-05-24 @ 21:29 in 學校網頁

由於64位操作系統不支持Microsoft OLE DB Provider for Jet驅動程序,也不支持更早的Microsoft Access Driver (*.mdb)方式連接。所以用於 Access 和 Excel 數據庫的 Microsoft OLE DB Provider for Jet 在 64 位版本中不可用,也就是說,如下兩種連接字符串都已經無法正常工作了:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.mappath(db)

"driver=Microsoft Access Driver (*.mdb);DBQ="&Server.MapPath(db)

既然這樣,就只能使用一個辦法,將IIS的運行環境設置為32位

IIS6上的做法:

1.命 令行鍵入:

cscript.exe %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

即 設置IIS6允許32位程序運行在64位機器上

2.重新註冊.net FrameWorks

%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

3.完成之後,應該會看到多出一個32位的asp.net

 

IIS7上的做法:

IIS 管理員 --> 應用程式集區 --> 進階設定 --> 啟用 32 位元應用程序 -->True

將其設置為允許,缺點:這樣會使整個IIS上的所有站點都以32位兼容方式運行

 參考自:   http://www.cnblogs.com/delphinet/archive/2010/03/25/1696083.html

迴響

x64 ii7 如何用 asp + access | 豬窩

Wonderful blog! I found it while surfing around on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?
I've been trying for a while but I never seem to get there!
Thank you

作者 cheap airline tickets @ 11:32, 2020-07-29

x64 ii7 如何用 asp + access | 豬窩

I think the admin of this web site is truly working hard in favor of his site, for the reason that here
every stuff is quality based stuff. adreamoftrains web hosting
service

作者 adreamoftrains website host @ 18:48, 2020-07-30

x64 ii7 如何用 asp + access | 豬窩

Good day! Would you mind if I share your blog with my zynga
group? There's a lot of people that I think would really appreciate your content.
Please let me know. Thanks

作者 cheap flights with jet2 com @ 11:56, 2020-07-31

x64 ii7 如何用 asp + access | 豬窩

WOW just what I was searching for. Came here by searching for
website hosting

作者 website hosting companies @ 01:16, 2020-08-06

x64 ii7 如何用 asp + access | 豬窩

My partner and I stumbled over here by a different page and thought I might
check things out. I like what I see so i am just following you.
Look forward to looking over your web page repeatedly.

作者 web hosting companies @ 13:30, 2020-08-07
發表迴響
 authimage