ccl 发表于 2011-3-4 22:17:23

QC10 安装报错怎么办?

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:
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>
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)

Misshuang 发表于 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
你修改一下文件的名字或路径

archonwang 发表于 2011-3-7 14:16:48

....
晕死,直接把原来的库删除掉了就行了。
页: [1]
查看完整版本: QC10 安装报错怎么办?