使用 SSMS 2016 时出错:无法将对象从 DBNull 转换为其他类型 [英] Error while using SSMS 2016 : Object cannot be cast from DBNull to other types

查看:47
本文介绍了使用 SSMS 2016 时出错:无法将对象从 DBNull 转换为其他类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能解决这个问题:

Windows 10 笔记本电脑上的 SQL Server Management Studio 2016 CTP3 (13.0.900.73)

  1. 对象资源管理器 > 服务器 > 数据库 > 数据库
  2. 右键单击 - 属性

我没有得到数据库属性"对话框,而是得到这个弹出窗口:

Instead of getting the Database Properties dialogue box I instead get this pop-up:

无法显示请求的对话框.

Cannot show requested dialog.

附加信息:

无法显示请求的对话框.(SqlMgmt)

Cannot show requested dialog. (SqlMgmt)

对象不能从 DBNull 转换为其他类型.(mscorlib)

Object cannot be cast from DBNull to other types. (mscorlib)

按钮:

问题发生在本地物理机和虚拟机上.它也发生在 Amazon RDS 服务器上.

Issue is occuring on-Prem with both physical and virtual machines. It is also happening on Amazon RDS servers.

如果我使用另一台装有 Win 7 和 SSMS 2014 的笔记本电脑,我不会遇到任何问题.

If I use another laptop with Win 7 and SSMS 2014 I don't get any issues.

如果我删除 SSMS 2016 并安装 SSMS 2014,我会遇到图形问题,因为 SSMS 2014 对话框会扭曲,因为我有一台高清计算机,而 SSMS 2014 会丢鞋.

If I remove SSMS 2016 and install SSMS 2014 I get graphics issues as SSMS 2014 dialogue boxes get distorted as I have a high definition computer and SSMS 2014 throws a shoe.

推荐答案

这似乎与 此 Microsoft Connect 项目.SSMS 1 月预览版中应提供此问题的修复程序.

This appears to be the same issue that is logged in this Microsoft Connect item. The fix for this issue should be available in the SSMS January preview release.

这篇关于使用 SSMS 2016 时出错:无法将对象从 DBNull 转换为其他类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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