VS2012 - “创建表"或“显示表格数据"服务器/数据库资源管理器中未显示菜单选项 [英] VS2012 - "Create table" or "show table data" menu option not shown in Server/Database Explorer

查看:29
本文介绍了VS2012 - “创建表"或“显示表格数据"服务器/数据库资源管理器中未显示菜单选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
获取 SQL Server 数据与 Visual Studio 2012 Express Release Candidate 配合使用的工具

我已经为 Web 和 SQL Server 2012 安装了 VS 2012,并且正在打开一个内置于 VWD 2010 和 SQL 2008 的解决方案.该应用程序运行良好,我能够使用该应用程序添加/编辑/删除记录.但是,当我转到数据库资源管理器并右键单击某个表时,我再也看不到显示表数据"选项了.当我右键单击数据库时,我也没有得到创建表"选项.这是一个 .mdf 文件.我尝试连接到另一个 SQL 服务器(不是我本地机器上的那个),我得到了所有这些选项,与 localdb 相同.知道为什么我不会为本地计算机上安装的 SQL 服务器获取这些选项吗?管道/共享/TCP 都已启用.请帮忙.

I have installed VS 2012 for Web and SQL Server 2012 and am opening a solution built in VWD 2010 and SQL 2008. The application runs fine and I am able to add/edit/delete records using the application. However, when i go to database explorer and right click on a table, i do not get the "Show table data" option anymore. When I right click on the database i do not get the "Create table" option either. This is a .mdf file. I have tried connecting to another SQL server (not the one on my local machine) and i get all those options, same thing with a localdb. Any idea why i wouldnt be getting these options for an SQL server installed on my local machine? Pipes/Shared/TCP are all enabled. Please help.

推荐答案

参见 这个 答案.

总而言之,SSDT 和 Visual Studio Express for Web 不兼容.您需要使用 VS 2010 shell 才能使用 SSDT.

To summarize, SSDT and Visual Studio Express for Web are incompatible. You need to use the VS 2010 shell to use SSDT.

这篇关于VS2012 - “创建表"或“显示表格数据"服务器/数据库资源管理器中未显示菜单选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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