dbTalk Databases Forums  

SSIS as part of scheduled job fails

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS as part of scheduled job fails in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joe S.
 
Posts: n/a

Default SSIS as part of scheduled job fails - 04-24-2006 , 01:38 PM






I have created a simple import job that first truncates three tables and then
imports update data into those tables from an Access database. My problem is
that the job fails on when running the SSIS import package. The import works
when I create the package, but not from within the jop. I believe it might be
the account the job is run under, but I cannot change that, since it always
reverts back to running under the local system account. WHen looking at the
job history I see that the truncate step runs under NT Authority/system while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed the
config file to have NT Authority/system as the user account.

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: SSIS as part of scheduled job fails - 04-24-2006 , 09:38 PM






Hi,

I noticed that you have resolved a similar issue by changing to run under
NT Authority/system. How about this time? Please let me know your current
status more clearly.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
Quote:
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZnzjd7jT0iIEsYS9mFSlAO5XNLfA==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
Subject: SSIS as part of scheduled job fails
Date: Mon, 24 Apr 2006 11:38:01 -0700
Lines: 11
Message-ID: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65356
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it
might be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed
the
config file to have NT Authority/system as the user account.



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default RE: SSIS as part of scheduled job fails - 04-24-2006 , 09:45 PM



Hi,

Sorry for misreading your post. I noticed that you cannot change the user
account.

Please send me the job history and the Application Event log.

My email is: v-xuwen (AT) microsoft (DOT) com

Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
Quote:
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZnzjd7jT0iIEsYS9mFSlAO5XNLfA==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
Subject: SSIS as part of scheduled job fails
Date: Mon, 24 Apr 2006 11:38:01 -0700
Lines: 11
Message-ID: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65356
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it
might be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed
the
config file to have NT Authority/system as the user account.



Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default RE: SSIS as part of scheduled job fails - 04-28-2006 , 02:47 AM



Hi,

I'm sorry but I cannot find anything useful from the job history and I
cannot import the app event log into event viewer because it apeears to be
corrupt.

Here is some thoughts:

1. Create a credential with the Identity set to the Windows user account
that designed and built the SSIS package.
2. Create an SSIS Package Execution Proxy and specify the credential to be
the one created in step one.
3. Grant access to the proxy to the SQL Agent service account. If the SQL
Agent service account is a member of the sysadmin role, this step is not
needed.
4. Open the job properties.
5. Edit the step executing the SSIS package.
6. The 'Run As' drop down should now give you a choice of the SQL Agent or
the proxy created in step two above.
7. Schedule the job. It should run as expected.


Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security

================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
Quote:
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZnzjd7jT0iIEsYS9mFSlAO5XNLfA==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
Subject: SSIS as part of scheduled job fails
Date: Mon, 24 Apr 2006 11:38:01 -0700
Lines: 11
Message-ID: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65356
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it
might be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed
the
config file to have NT Authority/system as the user account.



Reply With Quote
  #5  
Old   
AT
 
Posts: n/a

Default RE: SSIS as part of scheduled job fails - 05-02-2006 , 03:33 AM



Hi,

Thansk for your clarifying.

However, I still find

Event Name: OnError
Message: There were errors during task validation.

Operator: PIKEPLACE\Administrator
Source Name: Data Flow Task
Source ID: {3CDADDB2-3905-4C1A-A28B-D007E9E47EEA}
Execution ID: {52797495-93D9-4B80-A274-BC47E405EA42}
Start Time: 5/1/2006 3:18:42 PM
End Time: 5/1/2006 3:18:42 PM
Data Code: -1073594105

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Note:There were errors during task validation.

Therefore, please refer to my previous reply to have a test. Meanwhile, I
will try to research based on the app event log.

Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
Quote:
X-Tomcat-ID: 120198985
References: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
From: v-xuwen (AT) online (DOT) microsoft.com (Vincent Xu [MSFT])
Organization: Microsoft
Date: Fri, 28 Apr 2006 07:47:33 GMT
Subject: RE: SSIS as part of scheduled job fails
X-Tomcat-NG: microsoft.public.sqlserver.dts
Message-ID: <xCHX5fpaGHA.5300 (AT) TK2MSFTNGXA01 (DOT) phx.gbl
Newsgroups: microsoft.public.sqlserver.dts
Lines: 81
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65521
NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182

Hi,

I'm sorry but I cannot find anything useful from the job history and I
cannot import the app event log into event viewer because it apeears to
be
corrupt.

Here is some thoughts:

1. Create a credential with the Identity set to the Windows user account
that designed and built the SSIS package.
2. Create an SSIS Package Execution Proxy and specify the credential to
be
the one created in step one.
3. Grant access to the proxy to the SQL Agent service account. If the
SQL
Agent service account is a member of the sysadmin role, this step is not
needed.
4. Open the job properties.
5. Edit the step executing the SSIS package.
6. The 'Run As' drop down should now give you a choice of the SQL Agent
or
the proxy created in step two above.
7. Schedule the job. It should run as expected.


Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security

================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no
rights.
================================================== ====



--------------------
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZnzjd7jT0iIEsYS9mFSlAO5XNLfA==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
Subject: SSIS as part of scheduled job fails
Date: Mon, 24 Apr 2006 11:38:01 -0700
Lines: 11
Message-ID: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65356
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have created a simple import job that first truncates three tables
and
then
imports update data into those tables from an Access database. My
problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it
might be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is
the
server name). I had to correct a problem with the Reporting Service
being
installed with a simular error and not being able to run until I
changed
the
config file to have NT Authority/system as the user account.





Reply With Quote
  #6  
Old   
Joe S.
 
Posts: n/a

Default RE: SSIS as part of scheduled job fails - 05-02-2006 , 11:48 AM



I followed the steps you outlined and still recieve this error. The logs i
sent you were from after I applied the proxy.

"Vincent Xu [MSFT]" wrote:

Quote:
Hi,

Thansk for your clarifying.

However, I still find

Event Name: OnError
Message: There were errors during task validation.

Operator: PIKEPLACE\Administrator
Source Name: Data Flow Task
Source ID: {3CDADDB2-3905-4C1A-A28B-D007E9E47EEA}
Execution ID: {52797495-93D9-4B80-A274-BC47E405EA42}
Start Time: 5/1/2006 3:18:42 PM
End Time: 5/1/2006 3:18:42 PM
Data Code: -1073594105

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Note:There were errors during task validation.

Therefore, please refer to my previous reply to have a test. Meanwhile, I
will try to research based on the app event log.

Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
X-Tomcat-ID: 120198985
References: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
From: v-xuwen (AT) online (DOT) microsoft.com (Vincent Xu [MSFT])
Organization: Microsoft
Date: Fri, 28 Apr 2006 07:47:33 GMT
Subject: RE: SSIS as part of scheduled job fails
X-Tomcat-NG: microsoft.public.sqlserver.dts
Message-ID: <xCHX5fpaGHA.5300 (AT) TK2MSFTNGXA01 (DOT) phx.gbl
Newsgroups: microsoft.public.sqlserver.dts
Lines: 81
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65521
NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182

Hi,

I'm sorry but I cannot find anything useful from the job history and I
cannot import the app event log into event viewer because it apeears to
be
corrupt.

Here is some thoughts:

1. Create a credential with the Identity set to the Windows user account
that designed and built the SSIS package.
2. Create an SSIS Package Execution Proxy and specify the credential to
be
the one created in step one.
3. Grant access to the proxy to the SQL Agent service account. If the
SQL
Agent service account is a member of the sysadmin role, this step is not
needed.
4. Open the job properties.
5. Edit the step executing the SSIS package.
6. The 'Run As' drop down should now give you a choice of the SQL Agent
or
the proxy created in step two above.
7. Schedule the job. It should run as expected.


Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security

================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no
rights.
================================================== ====



--------------------
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZnzjd7jT0iIEsYS9mFSlAO5XNLfA==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
Subject: SSIS as part of scheduled job fails
Date: Mon, 24 Apr 2006 11:38:01 -0700
Lines: 11
Message-ID: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65356
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have created a simple import job that first truncates three tables
and
then
imports update data into those tables from an Access database. My
problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it
might be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is
the
server name). I had to correct a problem with the Reporting Service
being
installed with a simular error and not being able to run until I
changed
the
config file to have NT Authority/system as the user account.






Reply With Quote
  #7  
Old   
AT
 
Posts: n/a

Default RE: SSIS as part of scheduled job fails - 05-03-2006 , 02:07 AM



Hi,

This is a quick note to let you know that I am researching your issue and
will get back to you as soon as possible. I appreciate your patience.


Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
Quote:
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZuCC0/9jKlvqliTFa6CnH6np2kUQ==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
References: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
xCHX5fpaGHA.5300 (AT) TK2MSFTNGXA01 (DOT) phx.gbl
<cMdpYMcbGHA.4672 (AT) TK2MSFTNGXA01 (DOT) phx.gbl>
Quote:
Subject: RE: SSIS as part of scheduled job fails
Date: Tue, 2 May 2006 09:48:02 -0700
Lines: 167
Message-ID: <5FF18A09-7A65-4803-8420-9209A22EDD39 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65615
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I followed the steps you outlined and still recieve this error. The logs
i
sent you were from after I applied the proxy.

"Vincent Xu [MSFT]" wrote:

Hi,

Thansk for your clarifying.

However, I still find

Event Name: OnError
Message: There were errors during task validation.

Operator: PIKEPLACE\Administrator
Source Name: Data Flow Task
Source ID: {3CDADDB2-3905-4C1A-A28B-D007E9E47EEA}
Execution ID: {52797495-93D9-4B80-A274-BC47E405EA42}
Start Time: 5/1/2006 3:18:42 PM
End Time: 5/1/2006 3:18:42 PM
Data Code: -1073594105

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Note:There were errors during task validation.

Therefore, please refer to my previous reply to have a test. Meanwhile,
I
will try to research based on the app event log.

Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader
so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no
rights.
================================================== ====



--------------------
X-Tomcat-ID: 120198985
References: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
From: v-xuwen (AT) online (DOT) microsoft.com (Vincent Xu [MSFT])
Organization: Microsoft
Date: Fri, 28 Apr 2006 07:47:33 GMT
Subject: RE: SSIS as part of scheduled job fails
X-Tomcat-NG: microsoft.public.sqlserver.dts
Message-ID: <xCHX5fpaGHA.5300 (AT) TK2MSFTNGXA01 (DOT) phx.gbl
Newsgroups: microsoft.public.sqlserver.dts
Lines: 81
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65521
NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182

Hi,

I'm sorry but I cannot find anything useful from the job history and
I
cannot import the app event log into event viewer because it apeears
to
be
corrupt.

Here is some thoughts:

1. Create a credential with the Identity set to the Windows user
account
that designed and built the SSIS package.
2. Create an SSIS Package Execution Proxy and specify the credential
to
be
the one created in step one.
3. Grant access to the proxy to the SQL Agent service account. If
the
SQL
Agent service account is a member of the sysadmin role, this step is
not
needed.
4. Open the job properties.
5. Edit the step executing the SSIS package.
6. The 'Run As' drop down should now give you a choice of the SQL
Agent
or
the proxy created in step two above.
7. Schedule the job. It should run as expected.


Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security

================================================== ====
When responding to posts, please "Reply to Group" via your newsreader
so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no
rights.
================================================== ====



--------------------
Thread-Topic: SSIS as part of scheduled job fails
thread-index: AcZnzjd7jT0iIEsYS9mFSlAO5XNLfA==
X-WBNR-Posting-Host: 216.39.152.73
From: =?Utf-8?B?Sm9lIFMu?= <joecrew (AT) news (DOT) postalias
Subject: SSIS as part of scheduled job fails
Date: Mon, 24 Apr 2006 11:38:01 -0700
Lines: 11
Message-ID: <45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:65356
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have created a simple import job that first truncates three
tables
and
then
imports update data into those tables from an Access database. My
problem
is
that the job fails on when running the SSIS import package. The
import
works
when I create the package, but not from within the jop. I believe
it
might be
the account the job is run under, but I cannot change that, since
it
always
reverts back to running under the local system account. WHen
looking at
the
job history I see that the truncate step runs under NT
Authority/system
while
the SSIS package is listed as running under Athena/system (athena
is
the
server name). I had to correct a problem with the Reporting Service
being
installed with a simular error and not being able to run until I
changed
the
config file to have NT Authority/system as the user account.








Reply With Quote
  #8  
Old   
Matt Yeager
 
Posts: n/a

Default Re: SSIS as part of scheduled job fails - 05-03-2006 , 08:34 AM



I posted this in another thread, but this looks like the same issue so I'm
copying the message here:

I encountered the same problem, even on the same server upon deployment.
I ended up contacting Microsoft and opening a support case. After a couple
of hours on the phone, we found that if the SSIS Package's Security setting
"ProtectionLevel" was set to EncryptAllWithUserKey or
EncryptSensativeWithUserKey that the passwords would actually be lost. This
has to do with the fact that the SQL Server Agent process on your server is
running as a different user and cannot validate the user key basically. What
I ended up having to do is switch the Security ProtectionLevel to use
EncryptAllWithPassword or EncryptSensativeWithPassword and specify a
password for the package. I then re-deployed to SQL.

How I scheduled the Job also had to change. I could no longer specify my
package as a SSIS Step in a Job. I had to make my Job execute an "Operating
System (CmdExec)". The command line was :

C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTExec.exe /DTS
"\MSDB\YOURPACKAGEHERE" /SERVER Q /DECRYPT YOURPASSWORDHERE /MAXCONCURRENT
" -1 " /CHECKPOINTING OFF /REPORTING V

It seems like very much a work-around, but that's roughly the way I was told
to keep the protected passwords. My support case person spoke with the
engineers and that was the desired result evidently. They are working on
documenting the Security Levels more though, as this seems to be coming up a
lot. I honestly wouldn't be suprised if something in Security levels changed
in SP2.


Hope this helps.


"Joe S." <joecrew (AT) news (DOT) postalias> wrote

Quote:
I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it might
be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed
the
config file to have NT Authority/system as the user account.



Reply With Quote
  #9  
Old   
Joe S.
 
Posts: n/a

Default Re: SSIS as part of scheduled job fails - 05-03-2006 , 05:40 PM



I tried the steps you outline and now I get an error that the package cannot
be loaded...the client cannot establish a connection...Encryption not
supported on SQL Server. What now.

"Matt Yeager" wrote:

Quote:
I posted this in another thread, but this looks like the same issue so I'm
copying the message here:

I encountered the same problem, even on the same server upon deployment.
I ended up contacting Microsoft and opening a support case. After a couple
of hours on the phone, we found that if the SSIS Package's Security setting
"ProtectionLevel" was set to EncryptAllWithUserKey or
EncryptSensativeWithUserKey that the passwords would actually be lost. This
has to do with the fact that the SQL Server Agent process on your server is
running as a different user and cannot validate the user key basically. What
I ended up having to do is switch the Security ProtectionLevel to use
EncryptAllWithPassword or EncryptSensativeWithPassword and specify a
password for the package. I then re-deployed to SQL.

How I scheduled the Job also had to change. I could no longer specify my
package as a SSIS Step in a Job. I had to make my Job execute an "Operating
System (CmdExec)". The command line was :

C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTExec.exe /DTS
"\MSDB\YOURPACKAGEHERE" /SERVER Q /DECRYPT YOURPASSWORDHERE /MAXCONCURRENT
" -1 " /CHECKPOINTING OFF /REPORTING V

It seems like very much a work-around, but that's roughly the way I was told
to keep the protected passwords. My support case person spoke with the
engineers and that was the desired result evidently. They are working on
documenting the Security Levels more though, as this seems to be coming up a
lot. I honestly wouldn't be suprised if something in Security levels changed
in SP2.


Hope this helps.


"Joe S." <joecrew (AT) news (DOT) postalias> wrote in message
news:45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com...
I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it might
be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed
the
config file to have NT Authority/system as the user account.




Reply With Quote
  #10  
Old   
Matt Yeager
 
Posts: n/a

Default Re: SSIS as part of scheduled job fails - 05-04-2006 , 08:41 AM



This might be a silly question, but...are you trying to deploy to a SQL 2000
Server? If not, meaning it is SQL 2005, were you prompted for a password
when you installed the package on the server? Which ProtectionLevel did you
use in the package?

-Matt Yeager


"Joe S." <joecrew (AT) news (DOT) postalias> wrote

Quote:
I tried the steps you outline and now I get an error that the package
cannot
be loaded...the client cannot establish a connection...Encryption not
supported on SQL Server. What now.

"Matt Yeager" wrote:

I posted this in another thread, but this looks like the same issue so
I'm
copying the message here:

I encountered the same problem, even on the same server upon deployment.
I ended up contacting Microsoft and opening a support case. After a
couple
of hours on the phone, we found that if the SSIS Package's Security
setting
"ProtectionLevel" was set to EncryptAllWithUserKey or
EncryptSensativeWithUserKey that the passwords would actually be lost.
This
has to do with the fact that the SQL Server Agent process on your server
is
running as a different user and cannot validate the user key basically.
What
I ended up having to do is switch the Security ProtectionLevel to use
EncryptAllWithPassword or EncryptSensativeWithPassword and specify a
password for the package. I then re-deployed to SQL.

How I scheduled the Job also had to change. I could no longer specify my
package as a SSIS Step in a Job. I had to make my Job execute an
"Operating
System (CmdExec)". The command line was :

C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTExec.exe /DTS
"\MSDB\YOURPACKAGEHERE" /SERVER Q /DECRYPT YOURPASSWORDHERE
/MAXCONCURRENT
" -1 " /CHECKPOINTING OFF /REPORTING V

It seems like very much a work-around, but that's roughly the way I was
told
to keep the protected passwords. My support case person spoke with the
engineers and that was the desired result evidently. They are working on
documenting the Security Levels more though, as this seems to be coming
up a
lot. I honestly wouldn't be suprised if something in Security levels
changed
in SP2.


Hope this helps.


"Joe S." <joecrew (AT) news (DOT) postalias> wrote in message
news:45738B3D-3021-4E7C-A81F-155792D04CC5 (AT) microsoft (DOT) com...
I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My
problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it
might
be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is
the
server name). I had to correct a problem with the Reporting Service
being
installed with a simular error and not being able to run until I
changed
the
config file to have NT Authority/system as the user account.






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.