ColdFusion 10 / Windowns 7 Pro 64位连接验证对数据源失败 [英] ColdFusion 10/Windowns 7 Pro 64bit Connection verification failed for data source

查看:84
本文介绍了ColdFusion 10 / Windowns 7 Pro 64位连接验证对数据源失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在新的Windows 7 Pro 64位笔记本电脑上设置数据源时遇到问题。我全新安装了Coldfusion 10,具有最新的热修复程序和Microsoft SQL Express 2012 64bit。

I’m having issue setting up a data source on my new windows 7 Pro 64bit laptop. I have a fresh install of Coldfusion 10 with latest hot fix and Microsoft SQL Express 2012 64bit.

我已确保在SQl服务器配置管理器中启用TCP / IP并将TCP端口设置为1433。 。我还尝试过删除TCP动态端口。

I have ensured that TCP/IP enable and set TCP port to 1433 in the SQl server configuration manager. I've also tried removing the TCP Dynamic Ports.

我仍然遇到此错误:


连接验证数据源失败:TEST

Connection verification failed for data source: TEST

java.sql.SQLInvalidAuthorizationSpecException:[Macromedia] [SQLServer JDBC驱动程序] [SQLServer]用户 xxxxx的登录失败。

java.sql.SQLInvalidAuthorizationSpecException: [Macromedia][SQLServer JDBC Driver][SQLServer]Login failed for user 'xxxxx'.

根本原因是:java.sql.SQLInvalidAuthorizationSpecException:[Macromedia] [SQLServer JDBC驱动程序] [SQLServer]用户'xxxxx'的登录失败。

The root cause was that: java.sql.SQLInvalidAuthorizationSpecException: [Macromedia][SQLServer JDBC Driver][SQLServer]Login failed for user 'xxxxx'.

我不确定目前缺少什么。

I’m not sure what I’m missing at this point. Any suggestion would be much appreciated.

预先感谢您!

推荐答案

(从评论中...)

您是否已启用混合模式身份验证在SQL Server中? IIRC,它仅默认为Windows身份验证。

Did you enable mixed mode authentication in SQL server? IIRC, it defaults to Windows Authentication only.

链接中的说明:


要...以混合身份验证
模式配置SQL Server ... [用于] SQL Server 2014,SQL Server
2012,SQL Server 2008和SQL Server 2005

To ... configure SQL Server in Mixed Authentication Mode ... [for] SQL Server 2014, SQL Server 2012, SQL Server 2008, and SQL Server 2005


  1. 打开SQL Server Management Studio

  2. 右键单击服务器,然后单击 Properties

  3. 在安全性页上的 服务器身份验证 下,单击 SQL Server和Windows身份验证模式 选项按钮,然后单击
    单击确定。

  4. 在 SQL Server Management Studio对话框中,单击确定以重新启动SQL Server。

  1. Open SQL Server Management Studio
  2. Right-click the server, and then click Properties.
  3. On the Security page, under Server authentication, click the SQL Server and Windows Authentication mode option button, and then click OK.
  4. In the SQL Server Management Studio dialog box, click OK to restart SQL Server.


这篇关于ColdFusion 10 / Windowns 7 Pro 64位连接验证对数据源失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆