Solved

RE : WIndow Service

Posted on 2011-03-21
4
296 Views
Last Modified: 2013-11-10
Hi,

How to write code and create window service for executing DTS package.
Any tutorial or sample code for the same will be more helpful

Thanks
0
Comment
Question by:rajneesh1978
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 10

Assisted Solution

by:khan_webguru
khan_webguru earned 250 total points
ID: 35179970
I think this is what you want
Have a look into the below link, it has the sample windows service code that executes a DTS package,


Creating a Windows Service Application that invokes the DTS

http://15seconds.com/issue/030909.htm

Regards,

Asif Ahmed Khan
0
 
LVL 16

Accepted Solution

by:
carsRST earned 250 total points
ID: 35183454
Here is c# code to invoke a remote SSIS job.
http://www.codeproject.com/KB/database/CallSSISFromCSharp.aspx

You probably have your reasons, but I would highly recommend using SQL Server agent to invoke your job.
0
 
LVL 22

Expert Comment

by:PedroCGD
ID: 35414325
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question