加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server – 数据源的ColdFusion 10 / Windowns 7 Pro 64位连

发布时间:2020-12-12 16:21:31 所属栏目:MsSql教程 来源:网络整理
导读:我在新的Windows 7 Pro 64bit笔记本电脑上设置数据源时遇到问题.我有一个全新安装的Coldfusion 10,带有最新的Hot Fix和Microsoft SQL Express 2012 64bit. 我确保在SQl服务器配置管理器中启用TCP / IP并将TCP端口设置为1433.我也尝试删除TCP动态端口. 我仍然
我在新的Windows 7 Pro 64bit笔记本电脑上设置数据源时遇到问题.我有一个全新安装的Coldfusion 10,带有最新的Hot Fix和Microsoft SQL Express 2012 64bit.

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

我仍然收到此错误:

Connection verification failed for data source: TEST

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

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

我不确定我现在缺少什么.任何建议将不胜感激.

先谢谢你!

解决方法

(来自评论……)

你在SQL服务器上启用了mixed mode authentication吗? IIRC,它默认只对Windows身份验证.

链接说明:

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

  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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读