sybe
asked on
Impersonate user for SQL Server job
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?
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?
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.
ASKER
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.
Thanks for your effort.
Just a friendly reminder: The following question appears to have fallen through the cracks, please attend to it:
https://www.experts-exchange.com/questions/21784231/Textarea-but-don't-convert-HTML-characters-so-don't-change-lt-to.html
https://www.experts-exchange.com/questions/21784231/Textarea-but-don't-convert-HTML-characters-so-don't-change-lt-to.html
ASKER
I found the solution to my problem here: https://www.experts-exchange.com/questions/20408510/asp-and-windows-host-script.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.