Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Impersonate user for SQL Server job

Posted on 2006-06-30
6
Medium Priority
?
856 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
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…

705 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