D
Dean R. Henderson
I have a DTS Package I am able to execute successfully from a Windows Form
application, but I cannot get this to work from an ASP.NET Web Service,
although the Web Service impersonates the same user the Windows Form runs
under.
When I run the Web Service, I make a call to
"System.Security.Principal.WindowsIdentity.GetCurrent().Name" and this
verifies the user-id is the same account I am logged onto when I
successfully run my Windows Form application.
Both the Web Service and the Windows Form do the same setup and call the
DTS.Package.LoadFromSQLServer method with the same parameter values.
No error is returned when trying to execute the DTS Package from the ASP.NET
Web Service, but the DTS Package does not get executed.
The account that Aspnet_wp.exe runs under has been granted "Act as part of
the operating system" privilege, so it is able to impersonate the user
account the Windows Form is using, but is there some other privilege needed
so it can execute the DTS Package?
Thanks,
Dean
application, but I cannot get this to work from an ASP.NET Web Service,
although the Web Service impersonates the same user the Windows Form runs
under.
When I run the Web Service, I make a call to
"System.Security.Principal.WindowsIdentity.GetCurrent().Name" and this
verifies the user-id is the same account I am logged onto when I
successfully run my Windows Form application.
Both the Web Service and the Windows Form do the same setup and call the
DTS.Package.LoadFromSQLServer method with the same parameter values.
No error is returned when trying to execute the DTS Package from the ASP.NET
Web Service, but the DTS Package does not get executed.
The account that Aspnet_wp.exe runs under has been granted "Act as part of
the operating system" privilege, so it is able to impersonate the user
account the Windows Form is using, but is there some other privilege needed
so it can execute the DTS Package?
Thanks,
Dean