zoukankan      html  css  js  c++  java
  • This article provides a fix for the error: Login failed for user “. The user is not associated with a trusted SQL Server

    This article provides a fix for the error:

    Login failed for user “. The user is not associated with a trusted SQL Server Connection. (CLIENT: 127.0.0.1)

    This error has several causes- one of which is an application or ODBC connection that is initiated from the same machine as the SQL server (ie the server is connecting to itself). The easiest fix for this is to temporarily or permanently disable the loopback check ….

    1. Edit the registry using regedit.  (start –> run … Regedit <Enter>)
    2. Browse to :  HKLM\System\CurrentControlSet\Control\LSA
    3. Add a DWORD value called “DisableLoopbackCheck”
    4. Set this value to 1

    You should now find that the connection will complete successfully.  Another place to check is in event viewer.   For this particular error we had 3 events logged in event viewer:

    1. Failure Audit :: Login Failed for user ‘<DOMAIN>\<USERNAME>’. (CLIENT 127.0.0.1)

    2. Error :: SSPI handshake failed with error code 0x8009030C while establishing a connection with integrated security; the connection has been closed. (CLIENT 127.0.0.1)

    3. Failure Audit :: Login Failed for user “. (CLIENT 127.0.0.1)

    The above steps resolve this issue.

    Below is an article that discusses in more detail disabling the loopback check.

    http://support.microsoft.com/kb/896861

  • 相关阅读:
    生成函数
    泰勒公式与牛顿迭代
    如何在浏览器关闭发送请求
    elment-ui table组件 -- 远程筛选排序
    微信小程序 -- 数据请求
    2019年 学习计划
    vue 表单校验(二)
    ubuntu 学习
    vue-cli如何添加多种环境变量
    vue兼容ie
  • 原文地址:https://www.cnblogs.com/liangqihui/p/2012062.html
Copyright © 2011-2022 走看看