MDAC版本问题 [英] MDAC version problem

查看:148
本文介绍了MDAC版本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我有个问题.我从客户端服务器下载了.net项目(网站)以进行修改.顺便说一下,它是vs2003 asp.net.

该软件应该从excel文件中提取一些数据.

但是,当代码出现时,将引发以下异常.

.Net数据OLE DB提供程序(System.Data.OleDb)需要Microsoft数据访问组件(MDAC)2.6版或更高版本.当前已安装版本02.10.3711.9.

我通过组件检查器检查了XP SP3上的mdac 2.8 SP1.因此,问题不在于版本. .net在运行时看不到它.

我仍然尝试安装MDAC 2.8 sp1,但是它说检测到该系统的Service Pack比此更新,因此不需要安装此Pack.

Dear All,

I have a problem. I downloaded the .net project(web) from clients server in order to modify. it is vs2003 asp.net by the way.

The software is supposed to extract some data from excel file.

however when the code comes the following exception is thrown.

The .Net Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC) version 2.6 or later. Version 02.10.3711.9 was found currently installed.

I checked via component checker the mdac 2.8 SP1 on XP SP3. So the problem is not the version. Somehow .net does not see it while running.

i tried to install the MDAC 2.8 sp1 anyway, however it says it is detected that the service pack of the sytem is newer than this, there is no need to install this pack.

推荐答案

我解决了这个问题,但是我不想解释这个问题,而是更愿意解释如何,以便帮助您.

尽管在几个论坛上有很多不兼容的帖子,

有必要重新安装MDAC.但是XP.SP3并不能使您更轻松.您需要:

开始运行%windir%\ inf,从而转到可以找到
的文件夹 mdac.inf.右键单击安装...

您需要引用C:\ WINDOWS \ ServicePackFiles \ i386文件夹...(如果Missinf XP SP3光盘)可能有几个文件缺少文件.在通知您加载时,请从运行XP-SP3的其他计算机上找到这些文件,然后复制以下服务包文件.

就是这样.

希望对您有帮助
I solved the problem however rather than removing the question, I prefer to explain how, in order to help you aferwards.

Despite the lots of incompatibilty posts in several forums,

It is necessary to reinstall MDAC. However XP.SP3 does not make it easier for you. You need to :

Start-Run %windir%\inf thereby you go to the folder where you can find
mdac.inf. Right Click Install...

You need to refer C:\WINDOWS\ServicePackFiles\i386 folder...(if missinf XP SP3 cd) There there may be several files missing files. While loading you are notified so, find these files from other computers where XP-SP3 runs and copy the foler servicepackfiles.

That is it.

Hope this helps


这篇关于MDAC版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆