gpt4 book ai didi

sql-server - ColdFusion 10/Windows 7 Pro 64bit 数据源连接验证失败

转载 作者:行者123 更新时间:2023-12-03 09:44:48 27 4
gpt4 key购买 nike

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

我已确保在 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'.

我不确定我现在错过了什么。任何建议将不胜感激。

提前致谢!

最佳答案

(来自评论...)

你启用了mixed mode authentication吗?在 SQL 服务器中? 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.

关于sql-server - ColdFusion 10/Windows 7 Pro 64bit 数据源连接验证失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25433235/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com