|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi all
I have a batchjob which runs a DTS package now it calls it ok However it is running against 2 Databases on 2 servers and I get a login error even tho I am using the sa login does anyone know of any issues relating to this Hopefully with a soloution that does not involve a lot of work thanks Michael Grieve |
|
#2
|
|||
|
|||
|
Does the job run fine against each individual server separately? What is the error you are getting?
__________________
El éxito consiste en una serie de pequeñas victorias día a día MySQL, MS SQL, MS ACCESS, Oracle Database Manager - http://victorpendleton.net/products/psdviewer.html |
|
#3
|
|||
|
|||
|
Quote:
it runs fine when executed in enterprise manager |
|
#4
|
|||
|
|||
|
Are you letting the system account run the DTS job or do you have an account with access to both servers running the job?
|
|
#5
|
|||
|
|||
|
Quote:
DTSRUN /S MILL1 /U sa /N exportimportdream As you can see the system accounts runs it |
|
#6
|
|||
|
|||
|
Have you tried running this with a domain account that has sa access on both servers?
|
|
#7
|
|||
|
|||
|
Quote:
No will Give it a try thanks |
|
#8
|
|||
|
|||
|
I also had this problem. The only way to solve it was to create a user on the domain that both SQL Servers lived on and run the SQLSERVER services as that user. By ensuring that all data sources that related to other servers use Windows Authentication instead of SQL user authentication, everything worked.
|
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > DTSRUN Batch Job |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|