Solved

Impersonate user for SQL Server job

Posted on 2006-06-30
6
848 Views
Last Modified: 2007-12-19
MS SQL Server is running on a machine that is not in the domain it has to communicate with.

I created a package in VBScript, and scheduled it. The package should go to a share on a machine in the domain, and pickup a file there. That gives a permissions problem, because "system" of the machine with the SQL Server has no permissions on the share (even not when "everyone" has modify permissions: because the machine is not in the domain, it isn't part of "everyone").

Is it possible (and if yes how) to pass login information to the job on SQL Server?

0
Comment
Question by:sybe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 9

Expert Comment

by:udayshankar
ID: 17018834
create a new account ( sql authentication) in sql server and make that the owner of the job. and then create a same account in windows (file share) with the same username and password and give it access to that folder.
0
 
LVL 28

Author Comment

by:sybe
ID: 17018956
Sorry, I have already solved my problem. My solution was to use the WHS Network object, and map a network drive before starting the process, and remove the network drive afterwards.

Thanks for your effort.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 17021927
Just a friendly reminder:  The following question appears to have fallen through the cracks, please attend to it:
http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_21784231.html
0
 
LVL 28

Author Comment

by:sybe
ID: 17023171
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 17047271
Closed, 500 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question