Solved

Impersonate user for SQL Server job

Posted on 2006-06-30
6
829 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

790 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