51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2376|回复: 1
打印 上一主题 下一主题

[原创] 求救:windowsXP上安装qc10.0问题?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-12-15 12:59:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在安装qc自带的sql sever2005时报此错误,麻烦大家帮忙看一下谢谢
Logging to file 'C:\Program Files\HP\HP Quality Center Starter Edition\QCStarter\InstallInfo\log\SiteAdminSetupLog_2010_12_15_12_30_17_640.html'
Exception in thread "main" java.sql.SQLException: [Mercury][SQLServer JDBC Driver]Error establishing socket to host and port: localhost:1433. Reason: Connection refused: connect
at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.mercury.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.mercury.jdbc.base.BaseConnection.connect(Unknown Source)
at com.mercury.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
at com.mercury.jdbc.base.BaseConnection.open(Unknown Source)
at com.mercury.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at com.mercury.optane.core.db.CTdDriverManager.getConnection(CTdDriverManager.java:81)
        wrapped in com.mercury.optane.core.CTdException:
at com.mercury.optane.core.db.CTdDriverManager.getConnection(CTdDriverManager.java:88)
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:191)
        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]Error establishing socket to host and port: localhost:1433. Reason: Connection refused: connect<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#
发表于 2010-12-15 17:55:09 | 只看该作者
连接不上数据库,可能数据库本身设置有限制(XP上只能安装Develop版的Sql Server 2005)。
建议还是在Windows 2003上使用QC,数据库最好使用Oracle 10g以上版本。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-16 01:29 , Processed in 0.082751 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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