选择好一个表后,右键,设计表,然后就出现了上图中的界面了。。
其实不光是设计打,就连打开表,新建表也是上面这样的,而且弹出了一个对话框,说“在执行操作期间发生意外错误。”
应该是我装sql server的时候出现了问题,
但是我想将sql server删掉重装,却没有在控制面板里面打到sql server 2000这一项,我利用
安装文件进行卸载,也提示说“未能从控制面板添加/删除程序的注册表中获取卸载命令。”卸载都卸载不掉,怎么搞啊??
其实不光是设计打,就连打开表,新建表也是上面这样的,而且弹出了一个对话框,说“在执行操作期间发生意外错误。”
应该是我装sql server的时候出现了问题,
但是我想将sql server删掉重装,却没有在控制面板里面打到sql server 2000这一项,我利用
安装文件进行卸载,也提示说“未能从控制面板添加/删除程序的注册表中获取卸载命令。”卸载都卸载不掉,怎么搞啊??
解决方案 »
- MS SQL SERVER中怎样查询引起死锁的sql语句?
- 存储过程中若同时有insert和select 语句,为何ado不能获得select 语句的查询?
- 关于触发器问题
- "小王,0""小李,0"找到0的字段标记为9,处理后根据结果分别标记为1或者2,多进程
- 像我这样的SQL该如何优化呢?
- sql语句效率太低且报错
- 還是昨天的問題,我想知道究竟該怎么解決
- 高手能幫小弟一把?關於人事加班費的計算!!
- 有关临时表的问题:我在sql server的storedproc中创建一临时表,可在asp中却找不到!
- 存储过程的变量
- 单据审核后禁止更改和删除,这个功能用触发器来实现,是合理的思路吗?
- update,在满足条件的列前加字符串!
然后用记事本做这样一个注册表文件:
Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{689404D2-1C94-44B3-9203-BEC5594FDA7A}][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft SQL Server 2000][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"PendingFileRenameOperations"=-运行之后重装sql。
14:30:03 8.00.194
14:30:03 Mode = Normal
14:30:03 ModeType = NORMAL
14:30:03 GetDefinitionEx returned: 0, Extended: 0x0
14:30:03 ValueFTS returned: 1
14:30:03 ValuePID returned: 1
14:30:03 ValueLic returned: 0
14:30:03 System: Windows NT WorkStation
14:30:03 SQL Server ProductType: Personal Edition [0x2]
14:30:03 Begin Action: SetupInitialize
14:30:03 End Action SetupInitialize
14:30:03 Begin Action: SetupInstall
14:30:03 Reading Software\Microsoft\Windows\CurrentVersion\CommonFilesDir ...
14:30:03 CommonFilesDir=C:\Program Files\Common Files
14:30:03 Windows Directory=C:\WINDOWS\
14:30:03 Program Files=C:\Program Files\
14:30:03 TEMPDIR=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
14:30:03 Begin Action: SetupInstall
14:30:03 digpid size : 164
14:30:03 Begin Action: CheckFixedRequirements
14:30:03 Platform ID: 0xf000000
14:30:03 Version: 5.1.2600
14:30:03 File Version - C:\WINDOWS\system32\shdocvw.dll: 6.0.2900.3462
14:30:03 End Action: CheckFixedRequirements
14:30:03 Begin Action: ShowDialogs
14:30:03 Initial Dialog Mask: 0x83000f7, Disable Back=0x1
14:30:03 Begin Action ShowDialogsHlpr: 0x1
14:30:03 Begin Action: DialogShowSdWelcome
14:30:04 End Action DialogShowSdWelcome
14:30:04 Dialog 0x1 returned: 1
14:30:04 End Action ShowDialogsHlpr
14:30:04 ShowDialogsGetDialog returned: nCurrent=0x2,index=1
14:30:04 Begin Action ShowDialogsHlpr: 0x2
14:30:04 Begin Action: DialogShowSdMachineName
14:30:06 ShowDlgMachine returned: 1
14:30:06 Name = JOJO, Type = 0x1
14:30:06 Begin Action: CheckRequirements
14:30:06 Processor Architecture: x86 (Pentium)
14:30:06 Service Pack: 512
14:30:06 ComputerName: jojo
14:30:06 User Name: Administrator
14:30:06 IsAllAccessAllowed returned: 1
14:30:06 OS Language: 0x804
14:30:06 End Action CheckRequirements
14:30:06 This combination of Package and Operating System allows a full product install.
14:30:06 CreateSetupTopology(JOJO), Handle : 0x12d40a0, returned : 0
14:30:06 CreateSetupTopology returned : 0, Handle : 0x12d40a0
14:30:06 Topology Type : 1, Return Value : 0
14:30:06 ST_GetPhysicalNode returned : 0, PNHandle : 0x12d40c8
14:30:06 PN_EnumerateEx returned : 0
14:30:06 PN_GetSQLStates returned : 0, SqlStates : 0xc0220805
14:30:06 PN_StartScan [0x12d40c8] returned : 0
14:30:06 PN_GetNext [0x12d40c8] returned : 0, Handle: [0x12d5018]
14:30:06 PN_GetNext [0x12d40c8] returned : 18, Handle: [0x0]
14:30:06 ReleaseSetupTopology
14:30:06 Named instance limit: 100, quota: 1
14:30:06 End Action DialogShowSdMachineName
14:30:06 begin ShowDialogsUpdateMask
14:30:06 nFullMask = 0x83000f7, nCurrent = 0x2, nDirection = 0
14:30:06 Updated Dialog Mask: 0xbf00037, Disable Back = 0x1
14:30:06 Dialog 0x2 returned: 0
14:30:06 End Action ShowDialogsHlpr
14:30:06 ShowDialogsGetDialog returned: nCurrent=0x4,index=2
14:30:06 Begin Action ShowDialogsHlpr: 0x4
14:30:06 Begin Action: DialogShowSdInstallMode
14:30:08 ShowDlgInstallMode returned: 1
14:30:08 InstallMode : 0x2
14:30:08 End Action DialogShowSdInstallMode
14:30:08 begin ShowDialogsUpdateMask
14:30:08 nFullMask = 0xbf00037, nCurrent = 0x4, nDirection = 1
14:30:08 Updated Dialog Mask: 0xbc00607, Disable Back = 0x1
14:30:08 Dialog 0x4 returned: 1
14:30:08 End Action ShowDialogsHlpr
14:30:08 ShowDialogsGetDialog returned: nCurrent=0x200,index=9
14:30:08 Begin Action ShowDialogsHlpr: 0x200
14:30:08 Begin Action: DialogShowSdInstanceName
14:30:08 Begin Action: ShowDlgInstanceName
14:30:09 End Action: ShowDlgInstanceName
14:30:09 ShowDlgInstanceName returned : 1
14:30:09 InstanceName : MSSQLSERVER
14:30:10 End Action DialogShowSdInstanceName
14:30:10 begin ShowDialogsUpdateMask
14:30:10 nFullMask = 0xbc00607, nCurrent = 0x200, nDirection = 1
14:30:10 Updated Dialog Mask: 0xbc00607, Disable Back = 0x1
14:30:10 Dialog 0x200 returned: 1
14:30:10 End Action ShowDialogsHlpr
14:30:10 ShowDialogsGetDialog returned: nCurrent=0x400,index=10
14:30:10 Begin Action ShowDialogsHlpr: 0x400
14:30:10 Begin Action: DialogShowSdMaintain
14:30:12 ShowDlgMaintainInstall returned : 1
14:30:12 Type : 0x2
14:30:12 CreateSetupTopology(JOJO), Handle : 0x12d5948, returned : 0
14:30:12 CreateSetupTopology returned : 0, Handle : 0x12d5948
14:30:12 Topology Type : 1, Return Value : 0
14:30:12 ST_GetPhysicalNode returned : 0, PNHandle : 0x12d40a0
14:30:12 PN_EnumerateEx returned : 0
14:30:12 PN_GetSQLStates returned : 0, SqlStates : 0xc0220805
14:30:12 PN_GetInstance for MSSQLSERVER [0x12d40a0] returned : 0
14:30:12 SQLI_GetSQLStates for MSSQLSERVER [0x12d5988] returned : 0, SQLStates: 0x200805
14:30:12 SQLI_GetInstallPath [0x12d5988] returned : 0, Path = d:\Program Files\Microsoft SQL Server\MSSQL
14:30:12 SQLI_GetDataPath [0x12d5988] returned : 0, DataPath = d:\Program Files\Microsoft SQL Server\MSSQL
14:30:12 SQLI_GetVersion [0x12d5988] returned : 0, Version = 8.00.194
14:30:12 SQLI_GetRegKeyRoot [0x12d5988] returned : 0, RegKeyRoot = Software\Microsoft\MSSQLServer
14:30:12 SQLI_GetPackageName [0x12d5988] returned : 0, szPackage = Personal Edition
14:30:12 SQLI_GetPackageId [0x12d5988] returned : 0, PackageId = 0x2
14:30:12 Previous Install Path: d:\Program Files\Microsoft SQL Server\MSSQL
14:30:12 Previous Install Data: d:\Program Files\Microsoft SQL Server\MSSQL
14:30:12 Previous Install Version: 8.00.194
14:30:12 ReleaseSetupTopology
14:30:12 End Action DialogShowSdMaintain
14:30:12 begin ShowDialogsUpdateMask
14:30:12 nFullMask = 0xbc00607, nCurrent = 0x400, nDirection = 1
14:30:12 Updated Dialog Mask: 0x80000607, Disable Back = 0x1
14:30:12 Dialog 0x400 returned: 1
14:30:12 End Action ShowDialogsHlpr
14:30:12 ShowDialogsGetDialog returned: nCurrent=0x80000000,index=31
14:30:12 Begin Action ShowDialogsHlpr: 0x80000000
14:30:12 Begin Action: DialogShowSdUninstall
14:33:07 ShowDlgUninstall returned : 1
14:33:07 End Action DialogShowSdUninstall
14:33:07 Dialog 0x80000000 returned: 1
14:33:07 End Action ShowDialogsHlpr
14:33:07 ShowDialogsGetDialog returned: nCurrent=0x0,index=0
14:33:07 End Action ShowDialogs
14:33:08 Action CleanUpInstall:
14:33:08 StatsGenerate returned: 2
14:33:08 StatsGenerate (0xc0220805,0x2,0xf000000,0x200,2052,0,0x2,0x1,0,0,0
14:33:08 StatsGenerate -1,Administrator)
14:33:08 Installation Failed.
标题:SQL Server 2000 服务器安装剖析
作者:爱新觉罗.毓华
时间:2008-05-05
地点:广东深圳
*/一、情况说明 sql server 2000以前的版本,例如7.0一般不存在多个版本,只有标准版跟桌面版,用户如果不清楚该装什么版本的话,可按安装上的
安装先决条件指示安装,一般在WIN2000 服务器版上装标准版,其他的系统装桌面版的就可以;而SQL Server 2000安装问题就比较大,时常
见到的问题如下:
1、配置服务器时中断.
2、注册 ActiveX 时中断.
3、显示到100%的时候中断.
4、提示:command line option syntax error, type command /? for help,继续安装,最后在配置服务器的时候出现:无法找到动态链接
SQLUNIRL.DLL于指定的路径……
5、以前进行的程序创建了挂起的文件操作,运行安装程序前,必须重新启动二、情况1,2,3的解决办法: 提醒:为避免误操作,先备份注册表和数据库进不了SQL Server 2000,可以备份C:Program Files\Microsoft SQL Server\MSSQL\Data
(默认路径)文件夹的文件.
1)、先把SQL Server卸载(卸载不掉也没有关系,继续下面的操作);
2)、把Microsoft SQL Server文件夹整个删掉;
3)、运行注册表,删除如下项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLSERVERAGENT
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVERADHELPER
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server
4)、需要的话就重新启动系统;
5)、重新安装。另外也可尝试单步运行安装 SQL Server 2000的方法:1)、放入 SQL Server 2000 光盘.
2)、在"开始"--"运行"键入 "F:\x86\setup.exe k=dbg" (F是光盘)注意:
1)、不同的操作系统支持的SQL Server 2000版本(参见:sql server 2000 各版本的区别简介及版本情况查询一文)。
Windows 2000 Server可以安装SQL Server 2000的任何版本.
Windows 2000 Professional只能安装SQL Server 2000的个人版、开发版、评估版、MCDE
2)、SQL Server 2000各版本以及对软硬件的要求(参见:SQL Server 2000 的硬件和软件安装要求一文)。三、情况4的解决办法 因为安装文件的路径(完整路径)里有中文.
比如 c:\SQLSERVER中文企业版\
改成 c:\SQLSERVER\ 四、情况5的解决办法1)、重启机器,再进行安装,如果发现还有该错误,请按下面步骤;
2)、在开始--运行中输入regedit;
3)、到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager位置找到
PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目。
4)、选择文件--倒出,保存;
5)、在右边窗口右击PendingFileRenameOperations,选择删除,然后确认;
6)、重启安装,问题解决五、如果问题依旧,试试先修复操作系统:命令提示符下执行: sfc /scannow 。最后的方法:换 Windows 2000 安装盘和 SQL Server 2000 安装盘,有时候问题的原因很奇怪,有人曾更换了一个电源就解决了问题。1)、先卸载您的 SQL Server 2000,必要的时候删除 Program Files\Microsoft SQL Server 文件夹;
2)、打开注册表;
在"开始"--"运行"键入"regedit"
3)、按下列顺序点击打开;
+ HKEY_LOCAL_MACHINE
+ SOFTWART
+ Microsoft
+ Windows
+ CurrentVersion
+ Setup
+ ExceptionComponents
4)、将 ExceptionComponents 下面的文件夹全部删除;
如 {60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
5)、重新启动;
6)、重新安装 SQL Server 2000 。六、其他说明1)、Windows目录中的Sqlstp.log文件,该文件列出了安装程序所执行的操作的详细信息,并包含安装期间遇到的所有错误。
通过检查该文件,可以详细了解安装在什么地方失败、为什么失败。 2)、SQL安装的时的错误信息保存在一个叫Errorlog的日志文件中,默认情况下该文件位于Program Files\Microsoft SQL Server\Mssql\Log
目录中。该错误日志包含安装程序试图启动SQL-Server时SQL-Server所遇到的错误,这些信息可以帮助您深入检查错误原因。3)、需要检查的另一个组件是Microsoft数据访问组件(MDAC)安装程序,它作为SQL-Server2000安装程序的一部分启动。
SQL-Server2000安装程序会安装MDAC2.6。MDAC安装程序会创建名为Dasetup.log的单独的日志文件;您可以查看此日志文件并确保MDAC
安装程序没有出现问题。
按照您说的方法删掉了SQL SERVER,但是重启后重新安装仍然出错,错误出现在配置服务器那一步,具体叫什么忘了。。
现在安装已经成功了,我把计算机名里面所有的字母都改成大写以后就成功了,不清楚这是为什么。。
结贴。