C# - Execute SSIS Or DTS Package Asynchronously?
Aug 12, 2010
I need to load and execute SSIS or DTS packages ASYNCHRONOUSLY from ASP.NET C# page on click of a button and report the success or failure at the end of the execution and if it fails the details of the exception should be shown to the user. it needs to be asynchronous because job could take a long time to finish. user should also be able to cancel the execution of the package while it is running if he wishes to do so. there is also requirement to execute multiple packages in parallel and track the progress for each of them. is this possible to achieve OR too complicated to do it from ASP.NET?
View 4 Replies
Similar Messages:
Aug 30, 2010
I'm looking for any and all information on how to execute an SSIS package from my asp.net web site. I have written the call and when I run the application from (Localhost) it works, but when I run it from the server it does not.
Here is my code to call and execute the package:
[Code]....
Again this works from my local machine running from localhost, but not from our live server. I have turned on impersination to see if that worked and still getting the same result. The file is written successfully to the server without issue, but I'm just lost.
View 1 Replies
May 25, 2010
s it possible to execute a SSIS package in C# Code ? We can process cube using the namespace "Microsoft.AnalysisServices.AdomdClient". What will be namespace/method to be used for executing a package/task, if possible? This considers Script Task too, in SSIS.
View 2 Replies
Dec 30, 2010
I got VS2010 and SQL Server 2008 R2 64bit installed on a Windows Server 2008 R2, I need to execute a SSIS package from ASP.NET. From the research most people uses DTS, but it seems DTS does not support for 64bit, does anyone have a way make it working without using DTS?
View 1 Replies
Sep 8, 2010
Sql server 2005 is already installes in my machine.., i want to use SSIS now.where can i download SSIS package as add on to sql server 2005.
View 5 Replies
Mar 10, 2011
Created SSIS package, it runs fine I import it into Stored packages in Integration Services, I right click and click "Run Package" it runs fine Create a new job to run the package and I get errors
The package runs an Execute Package task. That seems to be where the errors occur. But it runs fine in all circumstances except from a "job".
Note: ALL THE ERRORS ARE IN TASKS THAT CONNECT TO A REMOTE SERVER.
[code]....
View 6 Replies
Jan 25, 2010
I have got a SSIS Package running every 2 hours. It collects data from different DBs and updates the DB of my ASP.Net Application. Everything goes smooth, but the asp.net application is still using the old data, it has the data somehow cached. If I just open save the web.config, it empties the cache and uses the updated new data. How can I make sure, that the app empties the cache after SSIS Package finished successfully?
View 1 Replies
Sep 28, 2010
SSIS package is running successfully and the db table is not populating in sql server.I am using csv file to populate datas to database tables.
I am using flat file source and oledb destination in data flow in ssis.
View 4 Replies
Sep 18, 2010
I'm trying to run my SSIS packages as a step inside a sql agent job.This runs normally when the package uses the SAME database as used to create my job.The problem occurs if I create a job to run the package and this package must execute queries in another database. Probably authentication problem. So how to authenticate my package and the job runs normally ?
View 1 Replies
Mar 30, 2010
I need to run the HttpContext.Current.Server.Execute method in my ASP.NET application. This application has a WCF operation that does some processing. Currently, I am to do my processing correctly from within my WCF operation. However, I would like to do this asynchronously.
In an error to attempt this asynchronously, I tried running Server.Execute in the DoWork event handler of a BackgroundWorker. Unfortunately, this throws an error that says
"object reference not set to an instance of an object" The HttpContext element is not null. I checked that. It is some property nested in the HttpContext object that appears to be null. However, I have not been able to identify why this won't work. It happens as soon as I move the processing to the BackgroundWorker thread.
My question is, how can I asynchronously execute the Server.Execute method?
View 1 Replies
Jun 23, 2010
i am having a problem in executing the SSIS package through an asp.net application. i'm using c#. every time i run the package through web, i think the package is not disposed properly so until and unless i stop the application the package won't execute...i am not able to dispose or unload the package. i'm geeting errors like
'WebDev.WebServer.EXE' (Managed): Loaded 'C:WINDOWSassemblyGAC_32CustomMarshalers2.0.0.0__b03f5f7f11d50a3aCustomMarshalers.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The result of the expression ""EXEC " + @[User::vRowData]" on property "SqlStatementSource" cannot be written to the property.
The expression was evaluated, but cannot be set on the property. : Package Execution results: {0}
here is my code
Application app = new Application(); //Package package = app.LoadPackage("D:ChipRewards_WorkingFolderChipRewardsCodebaseHeathPlanCommonTrunkSSIS PackageETL_WorkFlowETL_WorkFlowDataImport.dtsx", null); //package.ImportConfigurationFile("D:ChipRewards_WorkingFolderChipRewardsCodebaseHeathPlanCommonTrunkSSIS
PackageETL_WorkFlowETL_WorkFlowETLConfig.dtsConfig");
[Code]....
View 1 Replies
Mar 2, 2010
The short story is, I'm developing an SSIS package to select from a remote Oracle database (read: no Windows Authentication) and store into an SQL Server db. I can execute the package just fine in development and after importing, but when I run it as a scheduled job, I get an ora-01017 error (bad un/pw). The details are, I built this package and tested in in BIDS but came across the problem that BIDS really doesn't save the password I'd set for the Oracle connection. After poking around a bit, I found this
[URL] which showed how to create an XML configuration which the package could then read. Fiddled around with that, got it working in BIDS. Connected to Integration Services on the server on which I want to run the package, imported it, right-clicked and did the "Run Package" option as a test, it works great. However, when I connect to the same server's Database Engine to create and schedule a job, I cannot connect to Oracle. For some reason, it seems as if the package is not reading the configuration when run in schedule.
I've tried removing the job and re-working it, thinking maybe it didn't pick up the new version when I re-imported the package. A new job had the same problem. Next, I tried re-naming the .dtsConfig and doing the "Run Package" option as a test. Failed with the same error. A bit surprised, I thought I'd get some kind of file error and we wouldn't get as far as trying to talk to Oracle. Anyway, thinking maybe it's permissions on the configuration, fixed the .dtsConfig name and gave full access to Everyone. That ought to let the Agent see it. Scheduled up the job, still can't talk to Oracle. So it seems as if the scheduled version is ignoring the configuration. Anyone have any idea what I'm missing, that scheduling an SSIS package makes it act differently than running it manually? BTW, the instance under which we're running the package is VS 2005. BIDS 2005 to build the package.
View 3 Replies
Mar 18, 2010
Ive created an SSIS package (vs2005, so vb.net only) One of the tasks has to unzip a zip file. To do this ive used java.util.zip library and written some code to unzip the file. Ive just been asked if its possible to use something other than a java library as our network engineers dont want to put the this on our server. Is there anything similar to java.util.zip that I can use in a vs2005 package ?
View 2 Replies
Mar 16, 2010
how to modify the destination database in SSIS package using c#?
View 3 Replies
Sep 3, 2010
I need to create SSIS Package for Microsoft tool preweblog utility.exe to modify the IIS LogFiles.
View 1 Replies
Mar 6, 2011
how to build sqlserver integration services( ssis) package i want to tranfer more than 1000 files of excel data into sqlserver
View 4 Replies
Oct 20, 2010
I want to ask the following:
Does anyone have an example of some code which executes an SSIS package from a ASP.NET web app using VB.NET?
I have built a web application and want to be able to execute the SSIS package when the user clicks a button on the web page.
So far I have:
[code]....
I need to know how to set this up so it runs remotely. I have searched MSDN (useless), [URL] and sqlservercentral.
View 3 Replies
Nov 2, 2010
I'm a having a problem in passing the value of a variable from child package to the parent package in SSIS. either using configurations or using scripting (c# or vb.net)..
View 2 Replies
May 21, 2010
I have setup a webservice that returns an array of Transaction objects (Transaction being a custom class I created). Each Transaction object has a range of properties (strings, dates etc) and a couple of other embedded objects. I have tested this from another asp.net application and I can consume the webservice fine and access all the objects etc.This webservice is returning Transaction objects that will be loaded into a database on the client side. The objects all come back in an array from the webservice, which needs to be handled via SSIS 2008 and loaded into a database on the client side. The question is, how do you configure the SSIS package to read and handle the incoming array and the custom objects within?
View 1 Replies
Nov 3, 2010
How can I allow non-sysadmin users to create/edit a SSIS package? Do I need to give special permissions?
View 6 Replies
Mar 20, 2011
Is there a way to make a controller return something to the user first then execute another method? I have a process that is very time consuming. I'd like to send back a quick JSON response to the user then process.
View 2 Replies
May 19, 2010
how to execute a asp.net page asynchronously?
So I am displaying a page to the user, but when an event happen, I need to execute another page, without using ajax, but using C# code.
I am using asp.net webforms.
View 3 Replies
Mar 30, 2010
I need to run the HttpContext.Current.Server.Execute method in my ASP.NET application. This application has a WCF operation that does some processing. Currently, I am running a Server.Execute call from within my WCF operation and getting the results I would expect. However, I would like to do this asynchronously.This is where my problem comes in. In an error to run Server.Execute asynchronously, I tried running Server.Execute in the DoWork event handler of a BackgroundWorker. Unfortunately, this throws an error that says
"object reference not set to an instance of an object"
The HttpContext element is not null. I checked that. It is some property nested in the HttpContext object that appears to be null. However, I have not been able to identify why this won't work. It happens as soon as I move the processing to the BackgroundWorker thread. My question is, how can I asynchronously execute the Server.Execute method? Are there options beyond BackgroundWorker that will work?
View 2 Replies
Jun 17, 2010
Migrating SSIS package from SQL Server 2005 to SQL Server 2008
View 1 Replies
Sep 3, 2010
I have to create web service from which i do want to call SSIS package
View 2 Replies