“提取Transact SQL事件”菜单选项已禁用。 [英] Extract Transact SQL Events menu option is disabled.

查看:74
本文介绍了“提取Transact SQL事件”菜单选项已禁用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用SQL Server Profiler 2014时遇到了一些问题。 我正在尝试使用"Extract Transact SQL Events"从Profiler结果导出Transaction SQL。菜单选项下  "提取SQL服务器事件" 文件菜单上的
。 所有菜单选项在"Extract Transact SQL Events"上都显示为灰色。 。菜单 我确保Trace已停止,并且未选中Aggregated和Group View选项。 我在数据库
上有一个dbOwner,我的有效权限说我已授予ALTER TRACE权限。

I am having some issues with SQL Server Profiler 2014 and up.  I am trying to export the Transaction SQL from the Profiler results using the "Extract Transact SQL Events" menu option under the  "Extract SQL Sever Events"  on the File menu.  All the menu option are grayed out on the "Extract Transact SQL Events" menu.  I have made sure the Trace is stopped and that the Aggregated and Group View options are NOT checked.  I an a dbOwner on the database and my effective permissions say that I have ALTER TRACE permission granted.

奇怪的是它会随机工作一次,然后我就永远不会让它再次出口。 我已经尝试了所有我能想到的东西,而且我似乎无法找到有关为什么会发生这种情况的任何文档。

What is weird is that it will randomly work once, then I can never get it go export again.  I have tried everything I can think of and I can't seem to find any documentation on why this would be occurring.

其他人看到这个问题,如果有的话,是否有修复对于它?

Anybody else see this issue, and if so, is there a fix for it?

提前致谢,

Breeze791

Breeze791

推荐答案

Hi ECutler,



为了对SQL Server运行跟踪,您必须是sysadmin固定服务器角色的成员或具有ALTER TRACE权限。

请再次检查您的登录权限,如下图所示。

Hi ECutler,

In order to run a trace against SQL Server you must be a member of sysadmin fixed server role or have the ALTER TRACE permission.
Please check the permission of your login again like below screenshot.




运行SQL Server Profiler的用户帐户是否处于Windows身份验证模式?



最好的问候,

Cathy Ji 

Did the user account that runs SQL Server Profiler is in Windows Authentication mode?

Best regards,
Cathy Ji 


这篇关于“提取Transact SQL事件”菜单选项已禁用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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