![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there, I setup a DTS package to export a table from sql server to microsoft acess database stored on the network drive. Z:\(0) Payment Cosolidate\Payment_Transfer.MDB I can execute the DTS package from Enterprise Manager but I want to allow my boss to be able to export this table by himself so I decided to create a store procedure and call it from ASP.net page. However when I execute the storeprocedure using EXECUTE master..xp_cmdshell 'dtsrun /S localhost /N Export_PaymentFromSQL_To_MDB /E' I got an error message saying that : .. Error string: 'Z:\(0) Payment Cosolidate\Payment_Transfer.MDB' is not a valid path is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. ... How can I fix this problem? Is there any otherway to execute DTS package from store procedure without using the 'dtsrun utilities'? Regards, Kids |
![]() |
| Thread Tools | |
| Display Modes | |
| |