Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Invoking SSIS package in ASP.Net environment after deploying to local IIS

$
0
0

I am new to SSIS and here is my problem case.

SqlServer2008  - as my database server,

Visual Studio 2008 - to develop dtsx package

Visual Studio 2010 - to implement my web application.

The dtsx package reads flat text file and imports data into sql server database.

In my asp.net application (Visual Studio),On a button click event I am loading this package by using Applcation and Package objects as shown below

  Application app = new Application();
  Package package = null;
  package = app.LoadPackage(@"C:\Test.dtsx", null);

 DTSExecResult results = package.Execute();

This piece of code works fine as long as i run this through visual studio.

But After deploying it  on my local IIS server, this doesn't work and throws the below error message.

"

SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E4D Description: "Login failed for user'LOC\DEV-13'

I have gone through some many blogs, but I am confused a lot.

How to resolve this issue? Am I missing some basic settings on IIS?

Regards,

Mahendra


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>