Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Locating file destination for SQL Profiler Lo

Author  Topic 

MGouders
Starting Member

30 Posts

Posted - 2009-08-30 : 16:37:06
Greetings,

My goal is to log the execution of a package using SQL Profiler Logging Provider

The package executes without errors but no events are getting captured or at least the created log file cannot be found.

Also, can someone shine some light of the above book excerpt, please.
What is meant by: "SAMPLES:WORKINGFOLDER"

Thanks

Excerpt out of Microsoft SQL Server 2005 Integration Services By Kirk Haselden

The log providers use connection managers to determine where to create the logs. The connection managers each have
an expression to build the ConnectionString and point to the temporary working folder. Look at the
SAMPLES::WORKINGFOLDER variable to find where the package creates the log files.

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-08-30 : 17:09:27
Looks like a variable that holds the foldername.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

MGouders
Starting Member

30 Posts

Posted - 2009-08-30 : 18:30:47
but is this variable a) system variable or b) user variable

if a): where can it be accessed
if b): how is it referencing the connection manager

do you have experience using SQL Profiler Log Provider?

thanks
Go to Top of Page

YellowBug
Aged Yak Warrior

616 Posts

Posted - 2009-08-31 : 06:06:03
It's a User Variable

a) It can be accessed within the scope of its declaration (e.g. package, container)
b) The variable is referenced in the connection manager. Right-click on the log connection manager, get the properties. Look in the expressions. It will most likely be used there.

Yes. I use logging for all my packages - create a package template.
Go to Top of Page
   

- Advertisement -