我在新的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
- Open SQL Server Management Studio
- Right-click the server,and then click Properties.
- On the Security page,under Server authentication,click the SQL Server and Windows Authentication mode option button,and then
click OK.
- In the SQL Server Management Studio dialog box,click OK to restart SQL Server.
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|