用户登录失败. SQL2005的连接字符串问题 [英] Login fail for user. Connection string problem for SQL2005

查看:59
本文介绍了用户登录失败. SQL2005的连接字符串问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的连接字符串在这里:

My Connection String is here:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <!--   User application and configured property settings go here.-->
    <!--   Example: <add key="settingName" value="settingValue"/> -->
    <add key="SqlConnectionString" value="server=ULULALBAB-PC\SQLEXPRESS;persist security info=true;database =SMS2;user=emi;password=database;connect Timeout=5"/>
  </appSettings>
</configuration>



例外:

用户"emi"的 登录失败.
用户未与受信任的SQL Server连接关联



Exception:

Login failed for user ''emi''.
The user is not associated with a trusted SQL Server connection

推荐答案

查看这些支持文章
http://support.microsoft.com/kb/555332 [ http://support.microsoft.com/kb/889615 [
Check out these support articles
http://support.microsoft.com/kb/555332[^]
http://support.microsoft.com/kb/889615[^]


Abhinav的回答肯定会解决您的问题,

此外,请查看
MSDN [ ^ ]

并解决了类似的讨论:
用户登录失败 [ ^ ]
Abhinav''s answer will surely solve your problem,

In addition have look on MSDN[^]

And similar solved discussion:
Login failed for user[^]


这篇关于用户登录失败. SQL2005的连接字符串问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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