Hi,
I had a DTS package on a local server and successfully completed a bulk load transfer. By connecting to the file using the following code:-
objXBulkLoad.ConnectionString = "PROVIDER=SQLOLEDB.1;SERVER=(local);Trusted_Connection=Yes;DATABASE=Project_Database;"
I now need to move this over to another server which is not on my local machine. I am not sure what I need to do to allow the package to work.I have created an account with a username and password. Tried changing it to:-
objXBulkLoad.ConnectionString = "provider=SQLOLEDB.1;data source=SERVER NAME ;database=Project_Database;uid=User;pwd=Password"
This is the part of the code which it is failing on and stating that it cannot connect to the data source.
Thanks Sarah
I had a DTS package on a local server and successfully completed a bulk load transfer. By connecting to the file using the following code:-
objXBulkLoad.ConnectionString = "PROVIDER=SQLOLEDB.1;SERVER=(local);Trusted_Connection=Yes;DATABASE=Project_Database;"
I now need to move this over to another server which is not on my local machine. I am not sure what I need to do to allow the package to work.I have created an account with a username and password. Tried changing it to:-
objXBulkLoad.ConnectionString = "provider=SQLOLEDB.1;data source=SERVER NAME ;database=Project_Database;uid=User;pwd=Password"
This is the part of the code which it is failing on and stating that it cannot connect to the data source.
Thanks Sarah