一个数据信息管理程序
开发环境:delphi 7+sql2000+windows XP SP2.我的程序在windows xp sp2和windows advanced Server操作系统下运行都正常。但是把程序拷贝运行到windows 2000 pro(2000都是SP4版本的)就出现如下的访问错误:access 000xxxx多少多少内存地址在 msado15.dll 错误或者  access 000xxxx多少多少内存地址在ntdll.dll 错误是ADOCONNECTION控件或者ADOQUERY控件操作的时候。我尝试在运行的2000 pro电脑上安装SQL的客户端版本,把sqlsrv32.dll版本都提升到2000.085.1117.00版本(和我开发的XP电脑版本一样),不成功。我去微软下了 MDAC 2。6版本安装也不行。到底是什么错误啊?请大家帮忙。程序都写好了,竟然遇到这样的运行环境问题。郁闷!!!大家请帮帮我!!!

解决方案 »

  1.   

    winxp自带的是MDAC2.8
    去下一个MDAC2.8 for win2000的
      

  2.   

    装了 MDAC 2.8也这样出错。 晕啊
      

  3.   

    现在无法排除是 操作系统的原因 还是 SQL驱动的原因啊???!!!
      

  4.   

    为什么没人回答呢???程序执行这几行代码就出错。(有的电脑windows2000 pro sp4+MDAC 2.8环境下)with jsquery do
            begin
                if active=true then active:=false;
                Close;
                SQL.Clear;
                tempsql:='if exists (select * from sysobjects where id = object_id(N''['+temptablename+']'') and OBJECTPROPERTY(id, N''IsUserTable'') = 1)'+' ';
                tempsql:=tempsql+' drop table '+' '+temptablename+' ';
                tempsql:=tempsql+' select * into '+temptablename+' from MaintainInfor where InforID=''0000000''';
                sql.Add(tempsql);
                Prepared:=true;
                ExecSQL;
                tempsql:='';
                if active=true then  Active:=False;
                SQL.Clear;
                tempsql:='select * from '+temptablename;
                sql.Add(tempsql);
                prepared:=true;
                open;
            end;
          except
           begin
              messagebox(self.Handle,'创建接受临时表出现异常,请重新启动程序','提示信息',mb_iconinformation);
              exit;
           end;