Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
Running a sql server 2008 job to back up to...
28 posts, Page 2 of 3
««
1
2
3
»»
Running a sql server 2008 job to back up to network folder
Rate Topic
Display Mode
Topic Options
Author
Message
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, April 04, 2011 3:02 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 9:03 PM
Points: 31,406,
Visits: 13,723
It's definitely permissions. AFAIK, however, it's the SQL Service account, not the agent account, that needs permissions.
The agent logs in just like you do from your workstation. The backup is run by the SQL engine, and it's service account needs permission.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1088303
Nishtha-486860
Nishtha-486860
Posted Monday, April 04, 2011 3:07 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, June 20, 2011 1:54 PM
Points: 5,
Visits: 42
SQL Server Services and the agent runs under same account.
Thanks!
Post #1088307
SQLRNNR
SQLRNNR
Posted Monday, April 04, 2011 3:18 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 6:30 PM
Points: 18,733,
Visits: 12,330
The network share - is it by chance a DFS replicated share?
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1088311
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, April 04, 2011 4:10 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 9:03 PM
Points: 31,406,
Visits: 13,723
It is permissions. OS 5 is access denied from Windows.
there has to be something weird going on there. Can you run this on your system and perhaps see permissions and verify?
http://technet.microsoft.com/en-us/sysinternals/bb897332
Can you do a "dir > n:\test.txt" in a job with the same credentials?
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1088330
Nishtha-486860
Nishtha-486860
Posted Tuesday, April 05, 2011 3:10 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, June 20, 2011 1:54 PM
Points: 5,
Visits: 42
it is CIFS.
Post #1088943
dweil
dweil
Posted Wednesday, April 06, 2011 12:05 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: 2 days ago @ 11:03 AM
Points: 127,
Visits: 2,110
Not sure if this will help but I once ran itno something similar.
I changed the server name to it's ip address and the unc and is started working.
Post #1089484
Nishtha-486860
Nishtha-486860
Posted Wednesday, April 06, 2011 2:51 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, June 20, 2011 1:54 PM
Points: 5,
Visits: 42
Steve,
When i ran accessenum on the box, it did show me that the user i am logged in has read and write access to the shared folder.
Post #1089598
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Thursday, April 07, 2011 12:22 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 9:03 PM
Points: 31,406,
Visits: 13,723
Can you run the "dir" job from Agent and have that work?
It's definitely a strange error. It's almost like you have some token or kereberos issue with the job.
If you manually run the backup, does that work?
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1090143
SQLRNNR
SQLRNNR
Posted Thursday, April 07, 2011 12:51 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 6:30 PM
Points: 18,733,
Visits: 12,330
Have you tried relaxing the permissions for the share?
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1090172
troubleshootingsql
troubleshootingsql
Posted Thursday, April 07, 2011 12:53 PM
Grasshopper
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 6:01 AM
Points: 17,
Visits: 61
Capture a Process Monitor trace on the destination server and check if the account requesting access on the share is showing up as anonymous. It could be an impersonation issue.
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog
:
TroubleshootingSQL
Twitter
:
@banerjeeamit
Post #1090174
« Prev Topic
|
Next Topic »
28 posts, Page 2 of 3
««
1
2
3
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.