问题标签 [server-explorer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
sql-server - 如何从 SQL Server 中的 Visual Studio Server Explorer 打开数据库?
问题背景
我在服务器资源管理器选项卡下的 Visual Studio 中创建了一个数据库。这很好,但我希望能够在 SQL Server Management Studio(在本例中为 SQL Server 2008)中打开这个数据库。我在 SQL 中的数据库列表下看不到数据库。
如何在 SQL Server 中打开我在 Visual Studio 中创建的数据库?
下图显示了这些问题:
- VS 中的 MainDB.mdf 数据库:
- SQL Server 2008 管理工作室。数据库 MainDB 数据库未显示:
azure - 无法通过 Visual Studio 2013 中的服务器资源管理器登录 Azure 订阅服务
我正在尝试通过 Visual Studio 2013 连接到我的 Azure 订阅 (MSDN Premium)。当我登录时(使用与管理门户相同的帐户)我收到以下错误,“登录过程中发生错误: 调用的目标抛出了异常。” 我见过一些人遇到类似的情况,但情况并不相同。有些人建议将 IE 安全设置重置为默认值。我试过这个没有成功。其他人建议缩短 PATH 环境变量。这台机器上的变量只有大约 600 个字符的长度(所以应该不是问题)。我也重启了机器。似乎没有任何效果。有没有人有任何想法?
额外信息:我刚刚检查了我的实时帐户活动日志,它显示成功登录到实时帐户,因此似乎问题出在 Visual Studio 中。
visual-studio - 防止 Visual Studio Server Explorer 自动填充
我在使用 Visual Studio 时遇到了一个令人沮丧的问题,每次打开或刷新解决方案时,Visual Studio 都会锁定大约 30 秒,然后遇到此错误
这发生了大约 10 次,因此大约需要五分钟才能获得 Visual Studio 的工作实例。
我最终将此追溯到服务器资源管理器中我无权访问的条目。这些似乎是从整个解决方案中各种 Web.config 文件中的连接字符串条目自动填充的。如果我注释掉连接字符串,则解决方案加载正常。但这不是一个理想的解决方案,因为我不想将这些更改提交给源代码管理。
有没有办法阻止服务器资源管理器的这种自动填充?我不记得以前版本的 Visual Studio 中曾经发生过这种情况,所以也许它是 2015 年的新功能?
visual-studio-2010 - 无法修改远程 SQL Server 2012 数据库上的表
我的 Windows 10 PC 上安装了 Visual Studio 2010。我的网站位于共享托管环境中,并使用 SQL Server 2012 数据库。
托管服务提供商没有用于管理数据库的 Web 界面,因此我从 Visual Studio 2010 本身进行连接以进行管理。
现在我可以连接到数据库并在本地运行我的网站,但是当我尝试打开表定义时,我收到了这个错误:
不支持此服务器版本。仅支持高达 Microsoft SQL Server 2008 的服务器
在升级到 Windows 10 之前,我能够从 Visual Studio 2010 Server 资源管理器中编辑/添加表格,但现在仅限于读取用途。此 Windows 10 和 Visual Studio 是全新安装的,没有保留或保存早期 Windows 版本的任何内容。我不记得我是否在早期的窗口中安装了任何 SQL Server 2012 工具,用于从 Visual Studio 中的服务器资源管理器管理数据库。
我进行了很多搜索,甚至尝试安装失败的 SQL Server 2012 Express。现在,我正在从同一个链接下载 SQL Server 2012 Management Studio,看看这是否可行。它会在一个小时左右下载,但我不记得之前下载过,所以想问你可以做什么。
我想要的只是能够从 Visual Studio 2010 的服务器资源管理器中添加/修改 SQL Server 2012 数据库的表。请告诉我如何做到这一点以及为此需要哪些工具。
tsql - 如何在 Visual Studio 的服务器资源管理器中查询查询结果?
我可以按照以下步骤从 Visual Studio 获取存储过程的结果:
如果您提供了有效的参数(并且 SP 返回数据),结果将显示在 T-SQL 结果选项卡的网格中。
但是,现在,如果您想查询已返回的“数据集”,例如对特定列的值求和,可以在 Visual Studio.Server Explorer.T-SQL 中直接完成吗?如果是这样,怎么做?
更新
我相信 Khazratbek,但我只能通过右键单击 Data Connection 下的 Tables 文件夹来实例化一个 New Query:
...在最后一个“。”之后作为下拉菜单提供的选项。不包含存储过程 (SQLQuery1.sql) 的结果。
真的有可能吗?
sql-server - How can I query my Database for any Stored Proc that returns a field/column value of a specific name?
I want to query the metadata of my Database for any Stored Proc that returns the values from a field or column named "bidprice"
I got a great answer here for how to search for Stored Procs that require a specific set of parameters, namely for Stored Procs that have parameters named Unit, Member, BegDate, and EndDate, this:
That works perfectly; and so I hoped that maybe what I needed to find Stored Procs that return a field/column value of a specific name, such as "bidprice" might be something as simple as this:
...but trying it in Visual Studio.Server Explorer (right-clicking on the database connection's Tables folder, and then selecting New Query), I get:
Is [specific_name] wrong for this type of query? Is COLUMNS or [COL_NAME] wrong for this type of query?
I also tried to simplify the query this way:
...but got:
(and the same exact err when removing the prepended ";")
What is the right way to search for Stored Procs that return in their result set (among/amidst whatever else) a field/column named "bidprice"?
visual-studio-2015 - Visual Studio Server Explorer 中缺少管理类
我在 Visual Studio 2015(专业版 64 位)中遇到问题。在我的服务器资源管理器中,我连接到我的本地主机,我可以看到
- 事件日志
- 消息队列
- 性能计数器
- 服务
我似乎在这里想念的是管理课程。在我以前的 PC(使用 VS2013)上,它就在那里。我是否忘记安装选项(或扩展)?或者是否有其他简单的方法可以为 WMI 交互生成类?
谢谢!