[英]MS SQL Server (2008 R2) Error 18452 with Access 2010
I am working on an Access accdb project and I have all my tables linked to MS SQL Server 2008 R2 via ODBC. 我正在使用Access accdb项目,我的所有表都通过ODBC链接到MS SQL Server 2008 R2。
I have one screen with a sub form that always gives me this error message when I enter it: 我有一个带有子窗体的屏幕,当我输入它时,它总是会显示此错误消息: I've done some research and it it supposed to be related to the server's authentication method, but if all my tables are linked the same way, why does it happen? 我已经做了一些研究,它应该与服务器的身份验证方法有关,但是如果我所有的表都以相同的方式链接,为什么会发生这种情况?
What's even more weird is that if I refresh my table's connections via the linked table manager, everything works fine for some time, and then I get the same error again. 更奇怪的是,如果我通过链接的表管理器刷新表的连接,则一段时间后一切正常,然后再次出现相同的错误。 I look through my code to see if I play with any connection string, but I don't. 我查看我的代码以查看是否使用任何连接字符串,但是没有。
Any thought/ideas? 有什么想法/想法吗? Any (educated) guess you have will be appreciated :) 您的任何(受过教育的)猜测将不胜感激:)
Thanks, 谢谢,
Yotam 约坦
Go to Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio
转到“ Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio
Right-click the Server name, select Properties > Security
Under Server Authentication
, select SQL Server
and Windows Authentication
Mode. 右键单击服务器名称,选择“ Properties > Security
在“ Server Authentication
”下选择“ SQL Server
和Windows Authentication
模式”。
The server must be stopped and re-started before this will take effect. 必须先停止服务器并重新启动服务器,然后才能生效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.