![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- Hi There. I have seen this error before with my colleagues. I don't have the exact answer, but I think know what the problem is. Its all about the account that is executing the package. when you save the DTS package within SQL Server it is saved as the current user. In your case as its your laotop you have Admin rights. What I ahve seen is that when the Package is exected, sometimes it is executed under a different account to the one in SQL. However because you are using VB n your own laptop against the local server both the application and SQL have full admin rights abd the package will execute. However when this is on the server this is probably different. It is either the DTS on the server or the rights and username etc of your VB app calling the DTS package...or both I hope that steers you a bit closer Tim "Jerome" wrote: I have created a DTS package that imports an Access database file into a SQL 2000 database. I call this DTS package via VB6 and it imports all the data successfully on my laptop that contains the MDb file ,VB6 app and the local SQL database. After copying the MDB file to a directory on the server (not my laptop), setup the DTS package on the server then test the DTS manually it imports the data as well, however once I call the server and DTS package via VB6 it does not import the data but it does creates the tables? What is causing it to work on my laptop but fails when run with the server connection? Any Ideas. Thanks J . |
![]() |
| Thread Tools | |
| Display Modes | |
| |