CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Windows专区 >  Windows NT/2000/XP/2003

100分在线急问:为什么在win2000+sql server和win2000server+sql server的机器上安装VB6时失败?

楼主aloka(VB也用不好)2004-01-04 19:14:13 在 Windows专区 / Windows NT/2000/XP/2003 提问

win2000server+sql   server和  
  win2000+sql   server的机器上安装VB6时,都提示:注册C:\Program   Files\Common   Files\Designer\MSADDNDR.DLL不成功,安装失败。为什么?  
  MSADDNDR.DLL这个文件是干什么用的?  
  是不是打了补丁的原因?在不重装系统的情况下如何解决?  
  问题点数:100、回复次数:8Top

1 楼raysand(古风)回复于 2004-01-04 21:07:45 得分 10

我也遇到过。。  
   
  ----1   默认路径安装  
  ----2   忽略报错     继续安装     安装完成后能用,我装VC6。0也遇到过  
  ----3   安装更高版本的Top

2 楼robert1908(大唐双龙)回复于 2004-01-04 21:19:37 得分 10

应该不是补丁的原因,微软自己的东西一般不会冲突!Top

3 楼robert1908(大唐双龙)回复于 2004-01-04 21:20:36 得分 10

可能其他软件有冲突!Top

4 楼code2004(夏日)回复于 2004-01-04 21:49:01 得分 10

软件版本太旧Top

5 楼aloka(VB也用不好)回复于 2004-01-05 20:50:01 得分 0

我用VB做的安装程序也不让装,说无法启动主安装程序,没办法我在安全模式下安装可以装上,装上后,正常启动也让装了,奇怪!!!!Top

6 楼aloka(VB也用不好)回复于 2004-01-05 20:51:03 得分 0

但VB在安全模式下也装不上Top

7 楼zhiqiu(http://www.bsdlover.cn(找兼职,谁有需求?))回复于 2004-01-07 20:40:26 得分 30

安装程序安装出错解决方法之葵花宝典,   解决您安装的问题    
   
  以下是从微软网站找到的解决方法,由moonet翻译。  
   
  适用于InstallShield   6.x   制作的安装程序  
   
  可能出现的安装错误包括:不支持此接口,RPC占位不兼容,Ikernel错误等等常见错误  
   
  1、在NT平台下(包括Win   NT,Win   2000,Win   XP),请使用管理员身份登陆后运行安装程序,请确认身份,否则不能进行安装;  
   
  2、如果您刚运行完一个安装程序,请稍等几秒再启动下一个安装程序,因为安装程序表面上已经完毕,实际上程序还在进行后期清理,内存中还有   Ikernel.exe(安装程序引擎)驻留,所以如果您此时启动另一个安装程序,将出现错误。  
   
  3、如果您安装的过程中出现错误,请使用任务管理器察看是否有   Ikernel.exe   这个进程存在,如果存在而且此时您确认没有安装程序在运行,您可以结束这个进程后再进行安装。  
   
  4、清理干净系统和您系统账户下的   Temp   目录。例如:您系统安装在C盘,windows目录是   winnt   ,那么您的系统   Temp   目录是:c:\winnt\temp   ,如果您是以“陆国暾”的账户登陆的,您的个人   Temp   目录是:C:\Documents   and   Settings\陆国暾\Local   Settings\Temp  
  请您清理完以上2个目录(删除所有目录内文件)再进安装。  
   
  5、删除目录:   Program   Files\Common   Files\InstallShield   以后再进行安装  
   
  6、删除目录:   Program   Files\Common   Files\InstallShield\Engine   以后再进行安装  
   
  7、请重新安装IE   5.X   或者   6.0,如果您是NT平台,请重新安装微软的Service   Pack。  
   
  8、跟COM接口有关系,此种情况出现概率较小,如感兴趣,可以参照InstallShield解决方案:http://support.installshield.com/kb/view.asp?articleid=Q104986  
   
  9、可能潜在引起问题的文件:Stdole32.tlb,   stdole2.tlb,   or   Stdole.tlb   ,这3个文件的丢失可能导致安装失败,这3个文件是系统核心文件,如果缺失,请从其它相同操作系统的机器上拷贝到本机的相应目录下。  
   
  10、如果您使用的是Win98,强烈建议您安装微软的DCom补丁,该补丁的下载地址为:http://www.microsoft.com/com/dcom/dcom98/download.asp  
   
  11、确认您使用的是最新的InstallShield引擎,这条是针对安装程序制作员,请使用   InstallShield最新版本,并保持更新,使您制作出来的安装程序包含的引擎是最新的。  
   
  12、默认模拟级别必须设为:标识,其步骤为:  
  a、单击Windows开始菜单;  
  b、选择“运行”;  
  c、输入   DCOMCNFG   ,然后确定;  
  d、如果有任何警告提示,请选择否;  
  e、“分布式COM配置属性”对话框出现;  
  f、选择“默认属性”页;  
  g、将“默认级别”下拉框选择称“标识”;  
  h、点击应用后确定。  
   
  13、引起安装程序错误的还有下列注册表项无法读取(账户等级低):  
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID    
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface    
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib    
   
  请使用   regedt32.exe   来改变账户等级,请改变成以下等级:  
   
  Administrator   (on   the   local   machine)    
  System    
  Created   Owner    
   
  14、请使用   regedit32.exe   检查HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion下的CommonFilesDir键值后面没有空格或者使用了Tab。比如“C:\Program   Files\Common   Files”是正确的,但是“C:\Program   Files\Common   Files   ”或者“C:\Program   Files\Common   Files   ”是错误的,请删除掉空格。  
   
  增加一点:如果用户安装过ACDSee   5.0试用版,将会造成和安装程序冲突,建议卸载ACDSee   5.0试用版再安装。  
   
  以下是英文原文:  
   
  Professional   6.x   Users    
   
  Insufficient   permissions   on   the   machine.   If   you   are   using   a   Windows   NT   or   a   Windows   2000   machine,   you   need   to   have   administrative   permission   to   run   an   InstallShield   Professional   6.x   setup.   Make   sure   you   have   the   correct   permissions.    
   
  If   you   just   ran   an   InstallShield   setup,   the   engine   takes   a   few   seconds   at   the   end   of   the   installation   to   clean   up.   During   this   time   Ikernel.exe   (the   engine   file)   is   running   in   memory   from   a   previous   process;   that   is   why   you   are   not   allowed   to   launch   another   setup.   Waiting   a   few   seconds   and   running   the   setup   again   should   resolve   this.    
   
  Check   and   make   sure   Ikernel.exe   is   not   in   memory.   If   it   is,   and   no   setup   is   running   at   the   time,   end   that   task.    
   
  Clean   out   the   Temp   directory.    
   
  Delete   the   Program   Files\Common   Files\InstallShield   folder   and   then   rerun   the   setup.    
   
  Delete   the   Program   Files\Common   Files\InstallShield\Engine   folder   and   then   rerun   the   setup.    
   
  Reinstalling   Internet   Explorer   (IE)   5.x   can   also   repair   a   number   of   corrupted/missing   core   Windows   files   from   your   machine,   so   reinstalling   IE   5.x   and   the   NT   service   pack   is   also   suggested.    
   
  You   may   not   have   sufficient   COM   permissions.   For   information   on   how   to   troubleshoot   this,   see   Knowledge   Base   article   Q104986,   INFO:   Initialization   Error   Troubleshooting.    
   
  A   potential   cause   is   missing   Stdole32.tlb,   stdole2.tlb,   or   Stdole.tlb   files.   These   are   core   Windows   files   and   should   exist   on   your   machine.   Make   sure   that   if   you   get   these   files   from   another   machine,   the   machine   is   running   the   same   operating   system   as   the   target   machine.    
   
  If   you   are   trying   to   install   to   a   Windows   98   machine,   download   and   run   DCom98.exe   from   the   following   site:   http://www.microsoft.com/com/dcom/dcom98/download.asp.    
   
  Make   sure   that   you   are   using   the   latest   version   of   the   InstallShield   engine.   To   install   the   latest   engine,   see   Knowledge   Base   article   Q105097,   INFO:   Install   the   Latest   Version   of   Ikernel.exe.    
   
  The   Default   Impersonation   Level   must   be   set   to   Identify.   Verify   that   the   DCOM   Configuration   Properties   Defaults   Impersonation   Level   is   set   correctly.   Users   that   have   their   Default   Impersonation   Level   set   to   Anonymous   experience   this   error   message.   To   change   the   impersonation   level,   please   follow   the   steps   below:    
  Click   on   the   Start   button    
  Select   Run    
  Enter   DCOMCNFG   then   click   OK    
  Select   NO   for   any   Warning   screens   that   are   presented    
  The   "Distributed   COM   Configuration   Properties"   screen   is   displayed    
  Select   the   "Default   Properties"   tab    
  The   "Defaults   Impersonation   Level"   field   must   be   set   to   "Identify"    
  Select   Apply   then   OK    
   
  The   said   symptom   occurs   if   the   user   does   not   have   access   privileges   for   the   following   registry   keys:    
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID    
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface    
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib    
   
  Use   regedt32.exe*   to   alter   the   security   settings.   Give   Full   Control   to   following   user   types:    
   
  Administrator   (on   the   local   machine)    
  System    
  Created   Owner    
   
   
  Using   Regedit.exe*   check   the   value   of   CommonFilesDir   registry   entry   under   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion,   to   ensure   that   there   are   no   trailing   spaces   or   tab   characters   in   the   text   of   that   value.    
  *   Warning:   These   instructions   involve   modifying   the   Windows   Registry.   Modifications   to   the   Windows   registry,   if   not   done   correctly,   can   cause   serious   problems   to   a   Windows   system.   Please   consider   exporting   any   keys   you   modify   to   a   .reg   file   as   a   backup.    
   
  Top

相关问题

  • vb and sql_server
  • vb+sql server(急)
  • VB连接SQL-SERVER
  • VB调用SQL SERVER
  • 局域网中一台机器运行SQL Server,另一台机器VB编程调试,老有错误,高手来看看
  • 局域网中一台机器运行SQL Server,另一台机器VB编程调试,老有错误,高手来看看
  • 局域网中一台机器运行SQL Server,另一台机器VB编程调试,老有错误,高手来看看
  • 连接其他机器的sql server?
  • vb+sql server的毛病
  • 高手请进(vb and sql server)

关键词

  • vb6
  • win2000
  • 安装
  • installshield
  • 账户
  • 文件
  • 微软
  • 系统
  • 引擎
  • 解决

得分解答快速导航

  • 帖主:aloka
  • raysand
  • robert1908
  • robert1908
  • code2004
  • zhiqiu

相关链接

  • CSDN Blog
  • 技术文档
  • 代码下载
  • 第二书店
  • 读书频道

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo