dbTalk Databases Forums  

Extracting Package Logs using VB.net

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


Discuss Extracting Package Logs using VB.net in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul McKenna
 
Posts: n/a

Default Extracting Package Logs using VB.net - 06-03-2004 , 10:49 AM






Hello

I am required to monitor the logs of various DTS packages in my organization
every day and so far I have been doing this manually. Recently, I discovered
that vb.net can automate this for me with the use of GetPackageSQLServer
method. And I tested this out on my local installation of SQL Server. The
program I wrote, logged on to the local database, extracted the logs of the
DTS packages and published them on the screen for me.

Now when I try to connect to the production SQL Server instance, I dont get
any error message but I also dont get any logs. While I know for a fact that
there are over 4000 logs on that machine. I have checked all the connection
parameters etc and everything is fine. I wonder if it has anything to do
with permissions

Next, I tried to replace the login id that I connect with in the code with
my Windows Login id e.g. domain\username.. but during execution I always
receive the error message that login failed. Is there any special way in
which I must specify the login id???

Thanks in advance.



Reply With Quote
  #2  
Old   
Paul McKenna
 
Posts: n/a

Default Re: Extracting Package Logs using VB.net - 06-03-2004 , 11:17 AM







"Paul McKenna" <pmckenna9999 (AT) nospam (DOT) yahoo.com> wrote

Quote:
Hello

I am required to monitor the logs of various DTS packages in my
organization
every day and so far I have been doing this manually. Recently, I
discovered
that vb.net can automate this for me with the use of GetPackageSQLServer
method. And I tested this out on my local installation of SQL Server. The
program I wrote, logged on to the local database, extracted the logs of
the
DTS packages and published them on the screen for me.

Now when I try to connect to the production SQL Server instance, I dont
get
any error message but I also dont get any logs. While I know for a fact
that
there are over 4000 logs on that machine. I have checked all the
connection
parameters etc and everything is fine. I wonder if it has anything to do
with permissions

Next, I tried to replace the login id that I connect with in the code with
my Windows Login id e.g. domain\username.. but during execution I always
receive the error message that login failed. Is there any special way in
which I must specify the login id???

Thanks in advance.





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.