User Permissions for executing application

Technical support for APBackUp users
Post Reply
mekmek
Posts: 3
Joined: 23 Aug 2006, 18:42

User Permissions for executing application

Post by mekmek »

Hi,
I have set the APBackup to run an application before it starts archiving. This application goes to a network resource and deletes old files from there before APBackup starts archiving from the same location.

Although this HAS worked before, and I have no clue what made it stop working, I am now getting a security exception from .NET when the application runs (it's a .NET windows form app).

I have specified the username/password in the task details, this is a domain admin username. So as far as I understand, the application will run under that user context. Furthermore, I have changed the APBackup service to run under the same username, but still that exception gets thrown.

Any ideas?
support
AVPSoft support
AVPSoft support
Posts: 326
Joined: 01 Nov 2004, 21:25
Contact:

Post by support »

External app is started under the same account as APBackup. Username in the tasks configuration is only for connecting to source and destination folders (if they haven't been connected before start).

Just try to start your app outside of APBackup with RUNAS and account as in APBackup.
mekmek
Posts: 3
Joined: 23 Aug 2006, 18:42

Post by mekmek »

The problem with RUNAS is that a password must be specified at the time of running it. The whole idea is that the backup is performed at night when there is no one around...
support
AVPSoft support
AVPSoft support
Posts: 326
Joined: 01 Nov 2004, 21:25
Contact:

Post by support »

No, I mean to test your application without APBackup, maybe it can't get access to network resources.
Post Reply