我无法访问附加到SQL Server 2008的数据库 [英] I Can't Access to databases which attached to SQL Server 2008

查看:81
本文介绍了我无法访问附加到SQL Server 2008的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好喔:)



我已经在装有Windows 7的PC上安装了SQL Server 2008并附加了我的数据库文件....

并设置防火墙设置的入站和出站....并启用TCP并从Sql配置管理器设置端口设置...并将Everyone添加到安全登录中

................

一切正常,其他设备通常可以通过局域网连接数据库

只有一台设备(笔记本电脑)可以看到服务器名称,但无法看到附加的数据库...





当我厌倦了尝试修复此错误...我格式化这台笔记本电脑并重新安装Windows 7仍然无法访问数据库:(

i尝试从sql添加特定的登录管理工作室,它不起作用:( ...

,当我按测试连接(从视觉工作室)我收到一条消息说:登录来自不受信任的域,不能是使用d使用Windows身份验证



你能指出这个问题的原因吗???



谢谢很多帮助我:)

推荐答案

如果您的Sql Server安装了基于Windows的安全性,那么您只需键入。{dot}。您的Sql server将是允许意味着登录成功。如果您使用sql身份验证同时键入Windows和User Base,则尝试使用UserName和Password。我已经理解了位问题PLZ与图片分享你的错误以便更好地理解。
if your Sql Server install with the Windows Based security then you just type .{dot}. Your Sql server will be allow means login success. if you sql Authentication both type windows and User Base then you try to UserName and Password. I have understand bit problem plz share your error with picture for better can understanding .


阅读这些文章并获得一些想法。



http://social.msdn.microsoft.com/Forums/en-US/62462029-4484-4bd8-99af-82e53220a06f/login-failed-the-login -is-from-untrusted-domain-and-can-be-with-windows-authentication [ ^ ]





http://stackoverflow.com/questions/858678/sql-se rver-2008-login-the-login-is-from-an-untrusted-domain-and-can [ ^ ]
read these articles and get some ideas.

http://social.msdn.microsoft.com/Forums/en-US/62462029-4484-4bd8-99af-82e53220a06f/login-failed-the-login-is-from-untrusted-domain-and-cannot-be-used-with-windows-authentication[^]


http://stackoverflow.com/questions/858678/sql-server-2008-login-failed-the-login-is-from-an-untrusted-domain-and-cannot[^]


这篇关于我无法访问附加到SQL Server 2008的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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