SQL错误信息笔记

问题 (1) . 安装SQL Server 2000报错 : Command line option syntax error. Type Command /? for Help.

解决方法:

引起这问题的原因是,SQLServer的安装文件被放在了中文目录下.

将SQLServer的安装文件,拷到英文目录,安装就OK

比如将:

“D:/Sqlserver安装盘”中的"安装盘"去掉。就行了!

 如果还是不行,

看看您的用户名是不是中文的,改成英文的吧。这个用户名指的就是您登录windows的时候使用的用户名,系统默认的是administrator。

您不舍的修改这个用户名?那就重新创建一个英文的用户吧,用这个用户登录然后安装就行了。

 

问题 (2) . 安装SQL Server 2000报错 : PackageForTheWeb Error,This program is used internally by PackageFromTheWeb. 

It should not be executed directly.

 安装SQL2000数据库,安装到“安装程序正在安装Microsoft数据访问组件(MDAC)”后,提示错误如下:PackageForTheWeb Error,This program is used internally by PackageFromTheWeb. It should not be executed directly.安装程序配置服务器失败。参考服务器错误日志和C:/WINNT/sqlstp.log 了解更多信息。

 

    随后,sql2000会继续安装一段程序,但完毕后,菜单里根本没有sql菜单,安装失败。重复安装了很多次,结果一样无法正常安装。

 

    很多方法试过了,包括清理注册表,清空安装目录等等,都不能解决这个错误。最后,偶在国外的网站上看到一篇文章-URL:

If you really are installing just the components then providing you have
done a dependancy check within InstallShield, things should be OK.

 

If however, you are trying to deploy MSDE as part of your package then
everything I can find on the matter says "Just Don't Do It". Instead
either:

 

1. Give the users instructions to install the MSDE package from the CD
if required and then a little application to setup and configure your
database requirements.

 

2. Or, download the MSDE / SQL Deployment Toolkit and build a separate
installation for your requirements using the templates provided. You can
then call that package from within your own InstallShield project.

   意思就是两个建议:

 

   一是从CD光盘重新安装;

 

   二是从微软官方网站重新下载mssql2000安装原程序,重新安装。

 

   也就是说本地备份的sql2000安装程序已经被病毒感染并破坏了,需要重新下载或从CD光盘里安装。

 

   建议你立即扫描本地硬盘,包括移动U盘,移动硬盘,进行全面杀毒;病毒杀完后再重新安装。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章