我更像是 SQL Server 2012 的最终用户。当我右键单击表名称并选择“编辑前 200 行”菜单项时。我收到这条消息:
Exception has been thrown by the target of an invocation. (mscorlib)
Additional information:
Attempted to read or write protected memory. This is often an indication that
other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
如果我尝试再次右键单击,SQL Server 将停止工作并关闭。我仍然可以使用 SQL 命令插入或更新数据库。我一直在寻找解决方案,并找到了这个链接:http://social.msdn.microsoft.com/Forums/vstudio/en-US/42b79da5-6f1e-4122-a2cb-00def87a1ae2/microsoftvisualstudiooleinterop-attempted-to-read-or-write-protected-memory-this-is-经常-an?forum=visualstudiogeneral http://social.msdn.microsoft.com/Forums/vstudio/en-US/42b79da5-6f1e-4122-a2cb-00def87a1ae2/microsoftvisualstudiooleinterop-attempted-to-read-or-write-protected-memory-this-is-often-an?forum=visualstudiogeneral
但它仍然无法帮助我清楚地了解问题的原因或找到问题的解决方案。非常感谢任何解决此问题的帮助。谢谢。
您是否尝试使用 SQL Management Studio 2012 版本(或更早版本)编辑 SQL 2014 数据库?
您可以通过对主数据库运行以下查询来确定数据库的 SQL 版本:
SELECT @@VERSION
我遇到了同样的问题,我可以通过安装和使用 SQL Server Management Studio 2014 来直接编辑表(“编辑前 200 个”)。即使您的 DB 和 Management Studio 都是 2012 版本,升级 Management Studio 也可能不会有什么坏处。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)