Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi There,

I have created a SSIS pakage on SQL server for Import Excel file, but problem is that
My SQL databaser is on Different server and MY ASP.net application is on different server.
So pls tell me How to execute SSIS pakge from ASP.NET application which is located at different server than SQL server?

Pls Give Me solution>........
Posted
Updated 1-Sep-13 23:46pm
v2

1 solution

Hi Nira,

you can use file upload control of asp.net to upload your excel file and place it ata appropriate folder on shared location or on location which is in reach of your ssis ETL package. Now you need to pass path of this excel file to your package and then invoke it for execution.

You can refer this link

SSIS Package Integration with C# .NET[^]


let me know if you have any further query

Regards,
Mubin
 
Share this answer
 
Comments
nira.parmar 5-Sep-13 2:30am    
Hi Mubin,
I have call SSIS packg from asp.net, When run application on locahost it works fine, but
when I am host on iis and access it from ip address it's not shows any error but data from excel is not import into table.
Mubin M. Shaikh 5-Sep-13 22:21pm    
Hi Nira,Can you please give error detail. mean while go through this article

Loading and Running a Remote Package Programmatically


http://msdn.microsoft.com/en-us/library/ms403355.aspx

http://blogs.msdn.com/b/michen/archive/2007/03/22/running-ssis-package-programmatically.aspx

RegardsMubin

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900