Logger

Oct 5, 2006

Dear all,

I'm using the following command to schedule an export data job. Now I would like to know how to use the option "/logger" getting a log file for verification.

DTExec /FILE "C:Test.dtsx" /CONNECTION DestinationConnectionFlatFile;"c: est.csv" /CONNECTION SourceConnectionOLEDB;"Data Source=CP0762;User ID=user;Initial Catalog=DATA_CONV;Provider=SQLNCLI;Auto Translate=false;PASSWORD=password" /MAXCONCURRENT " -1" /CHECKPOINTING OFF /REPORTING EWCDI

View 5 Replies


ADVERTISEMENT

/logger Option

Oct 9, 2006

Hi,

I'm trying to use the below command to execute for generating the log file for SSIS package.

DTExec /FILE "C:Documents and SettingsCP0808My DocumentsTest.dtsx" /logger "DTS.LogProviderTextFile;c:log.txt"

But it got the error as below. Please advise.

Started: 10:03:20 AM
Error: 2006-10-06 10:03:21.15
Code: 0xC001000E
Source: Test
Description: The connection "c:log.txt" is not found. This error is thrown b
y Connections collection when the specific connection element is not found.
End Error
Error: 2006-10-06 10:03:21.18
Code: 0xC001000E
Source: Test
Description: The connection "c:log.txt" is not found. This error is thrown b
y Connections collection when the specific connection element is not found.
End Error
Error: 2006-10-06 10:03:21.21
Code: 0xC02020EA
Source: Test Log provider "{1AEAB490-1124-4A84-981F-7C1FDD80A721}"
Description: The connection manager "c:log.txt" is not found. A component fa
iled to find the connection manager in the Connections collection.
End Error

View 2 Replies View Related

How To Get The Log File With /logger Option

Oct 12, 2006

Hi,

I want to get the log for the below command.

DTExec /FILE "C:Test.dtsx" /CONNECTION DestinationConnectionFlatFile;"c: est.csv" /CONNECTION SourceConnectionOLEDB;"Data Source=test;User ID=user;Initial Catalog=DATA_CONV;Provider=SQLNCLI;Auto Translate=false;PASSWORD=password" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EWCDI /logger "DTS.LogProviderTextFile;log.txt" /Set "package.Connections[log.txt].Properties[ConnectionString];c:log.txt"

But I got the error as below. Please advise.

Error: 2006-10-10 09:57:21.07
Code: 0xC001000E
Source: Test
Description: The connection "log.txt" is not found. This error is thrown by C
onnections collection when the specific connection element is not found.
End Error
Error: 2006-10-10 09:57:21.10
Code: 0xC001000E
Source: Test
Description: The connection "log.txt" is not found. This error is thrown by Connections collection when the specific connection element is not found.
End Error
Warning: 2006-10-10 09:57:21.14
Code: 0x8001F02F
Source: Test
Description: Cannot resolve a package path to an object in the package ".Connections[log.txt].Properties[ConnectionString]". Verify that the package path is valid.
End Warning
Warning: 2006-10-10 09:57:21.17
Code: 0x80012017
Source: Test
Description: The package path referenced an object that cannot be found: "package.Connections[log.txt].Properties[ConnectionString]". This occurs when an attempt is made to resolve a package path to an object that cannot be found.
End Warning
DTExec: Could not set package.Connections[log.txt].Properties[ConnectionString]
value to c:log.txt.

View 1 Replies View Related

Custom Logger Doesn't Work In Certain Cases

May 10, 2007



I am testing a set of SSIS packages, In order to test my SSIS packages for errors I have two negative test cases



1) I didn't provide checkpoint file for the checkpoint enabled package.

2) I provide a wrong configuration file



Even though I am using a script task in my "on error" event of my SSIS package. It is not executed. (Perhaps because the package doesn't even execute).



My problem is that SSIS itself puts just a simple one liner in windows event log "Package Failure Error". It does not provide which package failed, why it failed etc. Therefore the admin who gets the ticket to resolve the issue has no clue of what is going wrong and where!



Since my custom logger doesn't even run, I don't know how can I put more details into the windows event log.



How can I resolve this?



regards,

Abhishek.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved