#1
|
|||
|
|||
VBP automation from ASP.NET, who does it run as?
Hey all,
I've found a solution to my problem, but was just wondering if it could be done differently. I have a VBP project that I invoke using automation from a asp.net web site. One step of the vbp is to copy files across the network, and it would still fail on the web if I set impersonation to a user with access rights or configured the web site's security to run as a person with access. The only workaround I could find was to add VisBuildSrv.Builder and VisBuildSrv.Application to COM+, it would then be able to copy the files over running as the authorized user. Is there another way to do this without involving COM+? Thx |
#2
|
|||
|
|||
The VBP automation objects are in-process servers, so they will run under the credentials/identity/context of the process that creates them. For ASP.NET projects, here is one article that describes how this identity is configured: http://www.windowsitpro.com/Article/...549/45549.html
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|