![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a SSIS package that contains a DTS 2000 package in it. The DTS 2000 package imports data from an accpac file into several tables from an ODBC data source. When I execute the package through BIDS or through Microsoft Sql Server Management Studio, no problems. Everything works great. I am now trying to execute the SSIS package via a job and it gives me the following error: Started: 11:15:15 AM Error: 2009-03-11 11:15:16.44 Code: 0x00000000 Source: AMC_COPY_OE61BTXT_FROM_ACCPAC_TO_SQLSERVER Description: System.Runtime.InteropServices.COMException (0x80040427) Execution was canceled by user. at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Ex ec80PackageTask.ExecuteThread() End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:15:15 AM Finished: 11:15:16 AM Elapsed: 1.14 seconds. The package execution failed. The step failed. In my OBDC Data source i dont use a map drive but a UNC path The accpac file that is read by the DTS is on another server Also the owner of the SSIS is da and the user than run the Sql Server Agent is also da da is a domain administrator For now I use this user because he should have rights to go every where on the domain Once everything will work I will change the user by another NT User with the proper rights Those somebody have an idea of the problem and how to solve it? Thanks in advance |
#3
| |||
| |||
|
|
What is the Service Account running under? When scheduled as a job, even though the job was created by 'da', and the SSIS package was desinged by 'da' and 'da' is all over the place, it is still the Service Account rights that are applied to the external resource. If you need to, create a Credentials, and a Proxy to use those Credentials. Then run your SQL Agent job under the rights of the Proxy account. HTH -- Todd C [If this response was helpful, please indicate by clicking the appropriate answer at the bottom] "GC" wrote: Hi, I have a SSIS package that contains a DTS 2000 package in it. The DTS 2000 package imports data from an accpac file into several tables from an ODBC data source. When I execute the package through BIDS or through Microsoft Sql Server Management Studio, no problems. Everything works great. I am now trying to execute the SSIS package via a job and it gives me the following error: Started: 11:15:15 AM Error: 2009-03-11 11:15:16.44 Code: 0x00000000 Source: AMC_COPY_OE61BTXT_FROM_ACCPAC_TO_SQLSERVER Description: System.Runtime.InteropServices.COMException (0x80040427) Execution was canceled by user. at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Ex ec80PackageTask.ExecuteThread() End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:15:15 AM Finished: 11:15:16 AM Elapsed: 1.14 seconds. The package execution failed. The step failed. In my OBDC Data source i dont use a map drive but a UNC path The accpac file that is read by the DTS is on another server Also the owner of the SSIS is da and the user than run the Sql Server Agent is also da da is a domain administrator For now I use this user because he should have rights to go every where on the domain Once everything will work I will change the user by another NT User with the proper rights Those somebody have an idea of the problem and how to solve it? Thanks in advance |
#4
| |||
| |||
|
|
Hi, Thanks for the reply. The service account I mean the Sql Server Agent account is da which is a NT administrator account of the domaine. The job is also created by da and when I created the job I was logging on as da on the computer. I realise that when I import with the wizard my SQL 2000 Server DTS in SQl Server 2005 my DTS is embedded in a package. Yesterday I read that Sql Server 2005 need some files from sql2000 Server to run those packages coming from Sql 2000 server This is the article I read http://support.microsoft.com/kb/904796 Is that could be my problem? Because I also read 4 different post from 4 different person that install those files and it did not resolve the problem. In fact I am in a study case to evaluate how much time it would take to convert all the DTS of one of our customer from SQl Server 2000 to Sql Server 2005. We have 30 DTS to convert. I already convert one of them. Everything work except when I schedule the SSIS in a job. It is the only problem I have. But it seems that a lot of programmers have this problem when we import DTS from SQL Server 2000 to Sql Server 2005. What do you think? "Todd C" wrote: What is the Service Account running under? When scheduled as a job, even though the job was created by 'da', and the SSIS package was desinged by 'da' and 'da' is all over the place, it is still the Service Account rights that are applied to the external resource. If you need to, create a Credentials, and a Proxy to use those Credentials. Then run your SQL Agent job under the rights of the Proxy account. HTH -- Todd C [If this response was helpful, please indicate by clicking the appropriate answer at the bottom] "GC" wrote: Hi, I have a SSIS package that contains a DTS 2000 package in it. The DTS 2000 package imports data from an accpac file into several tables from an ODBC data source. When I execute the package through BIDS or through Microsoft Sql Server Management Studio, no problems. Everything works great. I am now trying to execute the SSIS package via a job and it gives me the following error: Started: 11:15:15 AM Error: 2009-03-11 11:15:16.44 Code: 0x00000000 Source: AMC_COPY_OE61BTXT_FROM_ACCPAC_TO_SQLSERVER Description: System.Runtime.InteropServices.COMException (0x80040427) Execution was canceled by user. at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Ex ec80PackageTask.ExecuteThread() End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:15:15 AM Finished: 11:15:16 AM Elapsed: 1.14 seconds. The package execution failed. The step failed. In my OBDC Data source i dont use a map drive but a UNC path The accpac file that is read by the DTS is on another server Also the owner of the SSIS is da and the user than run the Sql Server Agent is also da da is a domain administrator For now I use this user because he should have rights to go every where on the domain Once everything will work I will change the user by another NT User with the proper rights Those somebody have an idea of the problem and how to solve it? Thanks in advance |
#5
| |||
| |||
|
|
Considering that DTS will not be supported in SQL much longer, and that SSIS is such a drasticaly improved product, I would suggest taking the plunge and trying to convert your DTS packages to SSIS. (But then again, I don't know how complex the DTS stuff is that you have.) Hi, [quoted text clipped - 80 lines] Thanks in advance |
#6
| |||
| |||
|
|
HI GC, I have the same problem too. Still in the process of investigating it though, did you get through this issue?? Did you try checking the "Execute on main package thread DTS Package" in the DTS 2000 Package's WorkFlow Properties? Also, if your servers' security is configured for SQL Server, can you try changing it to Windows Authentication? Let me know if this works, since I am also in the process of solving this.. :- ) Thanks, Manoj Deshpande. Todd C wrote: Considering that DTS will not be supported in SQL much longer, and that SSIS is such a drasticaly improved product, I would suggest taking the plunge and trying to convert your DTS packages to SSIS. (But then again, I don't know how complex the DTS stuff is that you have.) Hi, [quoted text clipped - 80 lines] Thanks in advance |
#7
| |||
| |||
|
|
Hi Manoj, Sorry for the delay for answering to your message but I stop for a while working on this issue. I decide to learn more about security and context to understand what is exactly happening. Thanks for the hint. I tried both of your suggestion and still does not work. I am searching a way to log everything of what is executed by the job to see exactly where it fails and for what reason. So I'm still working on my problem. I am not an expert so thats is why it is long to find the problem ![]() What about you did you find something on your side? Thanks in advance and have a nice day! HI GC, [quoted text clipped - 22 lines] Thanks in advance |
![]() |
| Thread Tools | |
| Display Modes | |
| |