XP_cmdShell Error
From: Nik (anonymous_at_discussions.microsoft.com)
Date: 06/01/04
- Next message: Narayana Vyas Kondreddi: "Re: XP_cmdShell Error"
- Previous message: Wayne Snyder: "Re: User rights"
- Next in thread: Narayana Vyas Kondreddi: "Re: XP_cmdShell Error"
- Reply: Narayana Vyas Kondreddi: "Re: XP_cmdShell Error"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Jun 2004 04:14:11 -0700
Dear All
I am trying to below script on BOX1
Declare @Sql varchar(8000)
Set @Sql = 'OSQL -SBOX2 -E -dmaster -q"Select 1"'
Exec master.dbo.xp_cmdshell @Sql
But it is Blowing with below error.
Login failed for user '(null)'. Reason: Not associated
with a trusted SQL
Server connection.
It used to work fine till y'day night but all of a sudden
things started blowing.
The i am running the script under SA rights and trying to
connect to another Box in different domain.
Please advise ASAP
Thanks in advance.
- Next message: Narayana Vyas Kondreddi: "Re: XP_cmdShell Error"
- Previous message: Wayne Snyder: "Re: User rights"
- Next in thread: Narayana Vyas Kondreddi: "Re: XP_cmdShell Error"
- Reply: Narayana Vyas Kondreddi: "Re: XP_cmdShell Error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|