Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Agent - getsetting not working in exe

Status
Not open for further replies.

dobrowski

Programmer
Jun 1, 2001
9
US
I have an .exe that runs as step one in my SQL Server Agent job. The .exe uses getsetting to set username, servername, and ... It is not bringing back anything from the registry, why?
 

The SQLAgent runs in its own set of credentials. It will not have all of the same settings that a Windows login will have. For example, it doesn't logon to Windows so it has no username, no logonserver, no domain, no home drive, no home path, and no temp directory settings. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top