AnsweredAssumed Answered

windows job - when issuing OSQL command get untrusted domain error

Question asked by daryl.mucha on Apr 10, 2014
Latest reply on Apr 11, 2014 by Günter_Schulmeister_351

When using UC4 to execute an osql command using an alias to access the Windows 2008 OS server hosting a non-clustered SQL Server 2012 database instance UC4 returns the following error message ‘Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.’  The osql statement is formatted as e:\>osql -S G360_Landing_db_q -d G360_Landing -E -Q "execute sp_Update_BUS_MO_DATE_VAR" -w 255 –b’ 

This works when the server name is used in the OSQL command.