zoukankan      html  css  js  c++  java
  • SSMS客户端报错BUG

    用户本地连接

    blob.png

     

     

    打开数据库报错

    blob.png

     

     

     The server principal "epointztb" is not able to access the database "epointbidhzchunanpb55" under the current security context. (Microsoft SQL Server,错误: 916)

     

    看报错信息是epointztb这个账号本身就没有 epointbidhzchunanpb55 这个库的权限 ,但为什么会自动切换到这个账号下呢?

     

     我再测试机 上连接测试

    blob.png

     

    blob.png

     

     

    在用户本地用sqlcmd测试没问题,sqlcmd -S "***,**" -Uepointztb -P## -d master

     

    blob.png

     

     

    我们的ssms版本信息

     

    blob.png

     

     

    用户的版本信息

     

    blob.png

     

    最后发现可能是微软老的SSMS版本有bug

     

    https://connect.microsoft.com/SQLServer/feedback/details/354291/the-server-principal-is-not-able-to-access-the-database-under-the-current-security-context-microsoft-sql-server-error-916

  • 相关阅读:
    AC自动机学习笔记(模板)
    codeforces1328E
    Codeforces 1288E- Messenger Simulator (树状数组)
    线性基小记
    HDU3949
    矩阵快速幂小记
    5E
    5D
    5C
    5B
  • 原文地址:https://www.cnblogs.com/mingmingrose/p/4179190.html
Copyright © 2011-2022 走看看