Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.



 
Trang ChínhTrang Chính  Xem ĐiểmXem Điểm  Tin Học 4aTin Học 4a  Thời Khóa Biểu  Latest imagesLatest images  Đăng kýĐăng ký  Đăng NhậpĐăng Nhập  
nghỉ 7-10-2012 và 8-10-2012
Top posters
tranloc101
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
votuanthanh
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
DuongLam
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
vutran
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
nguyenanhtu
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
Nguyen Loi
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
nguyenloc1688
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
ndt
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
vandung
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
NguoiXua
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_lcap[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_voting_bar[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Vote_rcap 
Bài gửiNgười gửiThời gian
Hỏi vẩn vơ tranloc101 Tue Oct 28, 2014 6:11 pm
Tài liệu BVHTMT 21/4/2014 đến 13/7/2014 Lớp thầy Lê Nhật Duy DuongLam Sun Apr 27, 2014 10:19 pm
Giải đề thi Ngày Tháng Năm 90_ngotoi_90 Sun Mar 09, 2014 11:57 am
Bùa môn HỆ PHÂN TÁN hy vọng giúp 1 chút gì đó cho các bạn nguyengiang Fri Mar 07, 2014 11:57 pm
Da Co Lop LT Da Phuong Tien Huong Du Lieu trinhmanhcuong Fri Feb 28, 2014 9:19 am
THÔNG BÁO ĐĂNG KÝ MỞ LỚP KIẾN TRÚC & CÀI ĐẶT DBMS_HỌC LẠI trinhmanhcuong Thu Feb 20, 2014 12:10 am
Xin số điện thoại thầy Đặng Thanh Minh môn client-sẻver lecongdang Sat Feb 08, 2014 4:14 pm
Dotnet môn thầy Hai vovanhien2006 Fri Dec 13, 2013 10:39 am
Tuần 345 (.Net) vovanhien2006 Tue Dec 10, 2013 11:55 am
Danh Sách đã nộp LAB REPORT và SOURCE vovanhien2006 Tue Dec 10, 2013 11:32 am
CẦN LỚP MÌNH 1 SỰ TRỢ GIÚP :) nua_vang_trang970 Mon Nov 11, 2013 11:42 pm

Share | 
 

 [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down 
Tác giảThông điệp
DuongLam
Lãnh Chúa
Lãnh Chúa
DuongLam

Nam
Tổng số bài gửi : 193
Points : 50354
Join date : 13/01/2011
Age : 35
Đến từ : Irad

[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Empty
Bài gửiTiêu đề: [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu   [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_icon_minitimeSun Mar 11, 2012 9:46 pm

Trước mình xài Wip XP 32 bit sau chuyển sang win7-64bit khi build các project thì bị lỗi này : The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. Razz

[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu 13314758591396116929_574_0

Lúc sáng đi thực hành có hỏi cô nhưng cô cũng bó tay. nên đành về mày mò thử vậy. ai ngờ lại được Cool

Ai bi lỗi này thì có thể xem và khắc phục.


Vào menu Build -> Configulation Manager
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu 1331475878261805378_574_0

Tại mục Active Solution flatform -> chọn New
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu 13314758921764504347_574_0

Tại mục Type or select the new flatform -> thay đổi thành X86
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu 13314759151661941411_574_0

-> OK -> Close -> thế là xong
[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu 13314759301931229490_574_0

Về Đầu Trang Go down
http://ykhoakimyen.com
votuanthanh
Administrator
Administrator
votuanthanh

Nam
Tổng số bài gửi : 251
Points : 50136
Join date : 13/01/2011
Age : 34
Đến từ : TP HCM

[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Empty
Bài gửiTiêu đề: Re: [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu   [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_icon_minitimeSun Mar 11, 2012 11:06 pm

Lỗi connect access của win 64 ko hỗ trợ access search trên microsoft lãm dịch nhé đại khái đơn giản là sửa lại hàm đọc file

tiếng việt cách chỉnh sửa cơ bản [You must be registered and logged in to see this link.]
ko đc thì dưới
view [You must be registered and logged in to see this link.] tìm hướng giải quyết code hoặc


onnecting to MS Access on Windows 64-Bit


Folks, like many of you I struggled with the deprecation of JET 4.0 in Windows Vista/7 on 64-bit machines. A process running simply for years, ported to a faster machine simply stopped working with the error: 'Microsoft.Jet.OLEDB.4.0' provider is not registered. I was annoyed at the lack of notice from MS and lack of clear instructions. After tinkering I found the solution and I’ll post it first directly, with details after, for the benefit of those just as frustrated as I. The situation I describe is for VB, but may work in other code/environments.


1. Download and run AccessDatabaseEngine_x64.exe


(http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d&displaylang=en)

2. Change the connection string in your code to:

Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ= <-db name and path here


There is no need to upgrade/replace JET or emulate 32-bit connections. You don’t have to buy a new version of MS Office/Access, Access does not even need to be installed on the machine, you just need the driver. No need to convert to SQL Express. My legacy code is now running flawlessly on Windows 7 quad 64-bit machine without any office apps installed.

When I first encountered the issue I tried to replace/upgrade JET but it was not available for 64-Bit and there were no plans to create it. Apparently, there is now a version released for 64-bit windows but you don’t need it. The MS Access Driver exists on older platforms as well and can be used instead of JET on 32-bit machines as well. However, there is one important detail concerning “*.accbd”, you must include this in the string or it wont work. Many examples posted on the web look like this: Driver={Microsoft Access Driver (*.mdb)} But it will produce an error in some cases indicating the DB and driver were not supplied in the string. *.accdb needs to be included as well.

Replace: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=

With: Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=

Full pseudo code:


dbLocation = "C:\dbstore\myAccess.mdb"

Set objADO = CreateObject("ADODB.Connection")

objADO.Open "Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=" & dbLocation



All other SQL calls and objects are unchanged.



Have not tried yet in C++, or with Excel, or as a DNS location, but test it yourself.
Về Đầu Trang Go down
https://dhth4btlt.forumvi.net
DuongLam
Lãnh Chúa
Lãnh Chúa
DuongLam

Nam
Tổng số bài gửi : 193
Points : 50354
Join date : 13/01/2011
Age : 35
Đến từ : Irad

[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Empty
Bài gửiTiêu đề: Re: [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu   [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_icon_minitimeSun Mar 11, 2012 11:17 pm

của Lãm ok rồi mà
Về Đầu Trang Go down
http://ykhoakimyen.com
Sponsored content




[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu Empty
Bài gửiTiêu đề: Re: [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu   [DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu I_icon_minitime

Về Đầu Trang Go down
 

[DotNet]Lỗi oledb.4.0 khi chuyển từ x86 sang anycpu

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang 

 Similar topics

-
» ĐĂNG KÝ HỌC DOTNET
» Dotnet môn thầy Hai
» Lịch Thi DotNet FrameWork
» Giáo Trình - Slide - Bài Tập DotNet Framewwork
» Năm mới nói chuyện cũ
Trang 1 trong tổng số 1 trang

Permissions in this forum:Bạn không có quyền trả lời bài viết
 :: Thông Báo-
Free forum | ©phpBB | Free forum support | Báo cáo lạm dụng | Thảo luận mới nhất