51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1708|回复: 2
打印 上一主题 下一主题

[原创] QC10 安装报错怎么办?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-3-4 22:17:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
QC10 安装过程中,报如下错误,请高手帮忙

Logging to file 'C:\Program Files\HP\HP Quality Center Starter
Edition\QCStarter\InstallInfo\log\SiteAdminSetupLog_2011_03_04_21_41_41_937.html'
Exception in thread "main" java.sql.SQLException: [Mercury][SQLServer JDBC Driver][SQLServer]
Cannot create file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\qcsiteadmin_db.mdf'
because it already exists. Change the file path or the file name, and retry the operation.
at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.mercury.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.executeInternal(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.execute(Unknown Source)
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:217)
        wrapped in com.mercury.optane.core.CTdException: CMSSQLCreator : Unable to create database
qcsiteadmin_db
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:262)
at com.mercury.optane.core.db.convertor.CDBWriter.load(CDBWriter.java:197)
        wrapped in com.mercury.optane.core.CTdException: Can't load database
at com.mercury.optane.core.db.convertor.CDBWriter.load(CDBWriter.java:240)
at com.mercury.optane.core.db.convertor.CDBConvertor.load(CDBConvertor.java:87)
at com.mercury.optane.core.db.convertor.CDBConvertor.load(CDBConvertor.java:131)
at com.mercury.optane.core.db.convertor.CDBConvertor.convertXML2DB(CDBConvertor.java:304)
at com.mercury.optane.core.db.convertor.CDBProject.importProject(CDBProject.java:226)
at com.mercury.td.saserver.setup.CAbsInstaller.createProject(CAbsInstaller.java:535)
        wrapped in com.mercury.optane.core.CTdException: Failed to create project.
originalProjectName: 'SiteAdminDb'
dbName: 'qcsiteadmin_db'
dbUser: 'td'
destDir: 'C:\Program Files\HP\HP Quality Center Starter Edition\QCStarter\repository\sa\DomsInfo'
deletePrevious: 'false'
copyFS: 'true'
copyOnlyFS: 'false'
at com.mercury.td.saserver.setup.CAbsInstaller.createProject(CAbsInstaller.java:543)
at com.mercury.td.saserver.setup.CAbsInstaller.createProject(CAbsInstaller.java:416)
at com.mercury.td.saserver.setup.CSiteAdminInstaller.createDatabase(CSiteAdminInstaller.java:745)
at com.mercury.td.saserver.setup.CAbsInstaller.load(CAbsInstaller.java:202)
at com.mercury.td.saserver.setup.CAbsInstaller.main(CAbsInstaller.java:914)
        wrapped in com.mercury.optane.core.CTdException: <br>[Mercury][SQLServer JDBC Driver]
[SQLServer]Cannot create file 'C:\Program Files\Microsoft SQL Server\MSSQL.1
\MSSQL\DATA\qcsiteadmin_db.mdf' because it already exists. Change the file path or the file name,
and retry the operation.<br>
at com.mercury.td.saserver.setup.CAbsInstaller.main(CAbsInstaller.java:932)
at com.mercury.td.saserver.setup.CInstallerWrapper.main(CInstallerWrapper.java:40)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2011-3-7 10:59:49 | 只看该作者
这个不是已经告诉你错误的原因了吗。:Cannot create file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\qcsiteadmin_db.mdf'
because it already exists. Change the file path or the file name, and retry the operation
你修改一下文件的名字或路径
回复 支持 反对

使用道具 举报

  • TA的每日心情
    奋斗
    2018-2-28 18:04
  • 签到天数: 40 天

    连续签到: 1 天

    [LV.5]测试团长

    3#
    发表于 2011-3-7 14:16:48 | 只看该作者
    ....
    晕死,直接把原来的库删除掉了就行了。
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-17 17:42 , Processed in 0.106958 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表