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


asynchronous_file_target access denied error


asynchronous_file_target access denied error

Author
Message
maroon-78
maroon-78
SSC-Enthusiastic
SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

Group: General Forum Members
Points: 130 Visits: 336
I am working thru the extended events and I am trying to set the output to a file using asynchronous_file_target. I am getting an access denied error from the OS. The folder that I am trying to write to exists and I am the admin on this system. Is there a configuration option that I need to set? Or do I need to grant the user that is running the sql server service has write access to the target drive? I've tried searching and I'm not getting any good hits. Thanks in advance.
Evil Kraig F
Evil Kraig F
SSCertifiable
SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)

Group: General Forum Members
Points: 5711 Visits: 7660
jberg-604007 (9/25/2012)
I am working thru the extended events and I am trying to set the output to a file using asynchronous_file_target. I am getting an access denied error from the OS. The folder that I am trying to write to exists and I am the admin on this system. Is there a configuration option that I need to set? Or do I need to grant the user that is running the sql server service has write access to the target drive? I've tried searching and I'm not getting any good hits. Thanks in advance.


There's two users you'll need to check here. First, yes, the SQL Server service is the one that will definately need access to the filesystem for the file. Next, you'll also want to check the xp_cmdshell proxy and make sure it's not different. I don't remember if extended events relies on that user directly or not but if you *do* have a proxy setup make sure they have access as well just to remove the possible headaches.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
maroon-78
maroon-78
SSC-Enthusiastic
SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

Group: General Forum Members
Points: 130 Visits: 336
Thanks Craig!
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