Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-28-2005, 04:21 PM
jfreedman jfreedman is online now
Registered User
 
Join Date: 10-15-2004
Posts: 12
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
Reply With Quote
  #2  
Old 03-29-2005, 11:26 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:34 AM.


Copyright © 1999-2023 Kinook Software, Inc.