Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Cannot write an XEL file to my C drive from an Extended Events session


Cannot write an XEL file to my C drive from an Extended Events session

Poll
I am running the following Extended Events code to create a session but the .xel file does not get written to my C drive. Any suggestions??

0% - 0 votes ?
0% 0 votes
Member votes: 0, Guest votes: 0. You don't have permission to vote in this poll
Author
Message
eddiecejb
eddiecejb
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 22
CREATE EVENT SESSION query_performance ON SERVER

ADD EVENT sqlserver.sp_statement_completed(

ACTION(sqlserver.query_hash)

WHERE sqlserver.database_id = 13 AND sqlserver.query_hash <> 0),

ADD EVENT sqlserver.sql_statement_completed(

ACTION(sqlserver.query_hash)

WHERE sqlserver.database_id = 13 AND sqlserver.query_hash <> 0)

ADD TARGET package0.event_file(SET filename = N'C:\Temp\Traces\query_performance.xel');
sqlsurfing
sqlsurfing
SSC-Enthusiastic
SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)SSC-Enthusiastic (167 reputation)

Group: General Forum Members
Points: 167 Visits: 1130
Could it be possible your SQL Server service acct does not have permissions to the folder? (Try checking permissions to verify?)

--------------------------------------------------
...0.05 points per day since registration... slowly crawl up to 1 pt per day hopefully :-D
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search