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

Problem with LoadPackage in ASP.NET with ASP.NET Impersonation enabled

$
0
0

Hi,

I am loading a SSIS package (with no content for this test) but meet a problem when ASP.NET impersonation is enabled.

I'm running a Windows 2016 Server with IIS and SSIS installed, and the package is a dtsx file stored locally.

The code fails at the LoadPackage (packagePath, null) line with this error:

The package failed to load due to error 0x80131534 "(null)". This occurs when CPackage::LoadFromXML fails.

If I disable ASP.NET Impersonation in IIS for the website, the package is loaded fine and can also execute without problems.

It seems obvious that this is some kind of permission problem, but I've read countless articles and suggestions on the topic and still don't know how to fix it. The app pool user is my own user account which can load and run the package when the ASP.NET impersonation configuration is disabled.

Any help and suggestion would be very appreciated :)

Thanks in advance...


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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